Object expected

Problem

You get the following error when running your application:

Problems with this Web page might prevent it from being displayed properly of functioning properly.  In the future, you can display this message by double-clicking the warning icon displayed in the status bar.

Object expected

image002

This JavaScript error occurs on web pages with Infragistics controls when the Infragistics control library has not been installed on the system.

Solution

To avoid JavaScript errors from Infragistics controls on your web pages, follow these instructions:

http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=36

Or, follow these quick steps:

Step 1: Install the Infragistics product to your machine if it is not installed already.

Step 2: Copy the contents of the folder:

\Inetpub\wwwroot\aspnet_client\Infragistics

from your development machine to your server.  Place the contents in a directory called "Infragistics" located anywhere on your drive.

Step 3: Within Microsoft IIS, create a virtual directory called "ig_common".  Point the virtual directory to the “Infragistics” directory from Step 2.

Step 4: Restart Microsoft IIS.

Step 5: Verify the "ig_common" folder presents in your Microsoft IIS Default Web Site.

Step 6: Stop and restart your application.

See Also

Part IX:  Troubleshooting Applications

Application Will Not Run

Application Runs But No Data is Displayed

Application Error Messages