Thursday 18 September 2008

Infragistics problem when deploying asp.NET app

Document title:
Infragistics problem when deploying asp.NET app
What is it?

When deploying an Asp.NET app to the server you need to make a few changes to the web.config file and make sure you have the correct dll files in order for it to run correctly.

For every Infragistics control that you use in the application, move over the corresponding dll file from c:\Program Files\Infragistics\NetAdvantage 2004 Volume 3\ASP.NET\bin on local machine into bin folder in application folder on server.

You also need to change the web.config file if the Infragistics version on the server is different than the one you are developing with.

To find out which version the server is running:
· Go to webapps folder on server then Infragistics\20043\Scripts.
· Open any of the .js files in this folder and the comments at the top tell you which version.
· Currently all servers have version 4.3.20043.27.

To add new version for your app:
· Inside applications folder on web server add a folder called Scripts.
· Copy all .js files from C:\Inetpub\wwwroot\aspnet_client\infragistics\20043\Scripts on local computer into the new scripts folder.

Sometimes need to add new location for infragistics images, appears to be no rhyme or reason for this but if all images are appearing blank on server then it’s needed.

To add the new infragistics images location for app:
· Inside applications folder on web server add a folder called InfragisticsImages.
· Copy contents of C:\Inetpub\wwwroot\aspnet_client\infragistics\Images on local computer into the new InfragisticsImages folder.

Finally in the web.config add:
· At the top of the web.config file add a tag. Could already be there as this is the same tag that ExceptionManagement section is entered into.
· Inside the tag add:
this tells the XML to register a new tag called
· Underneath the close of the tag add: this tells the XML where to find new scripts and image directories.

Sample web.config file with this added on following pages.





































































No comments:

Free Hit Counter