CRM Blog

Tired Of IISReset? A Possible Alternative.

by Danny Varghese 03.17.08

In Microsoft CRM 3.0, when any changes are made to the ISV.config.xml file, or to any custom assembly files used for callouts, a reset of IIS is needed. To do this a user will need to open the command line, run the command “iisreset,” and then wait until the form/page loads again.  This could get tedious and time consuming if editing a large number of files, or running numerous tests.  There is a shortcut to “iisreset” in CRM, that will work most of the time.  Please note, that this doesn’t take the place of an “iisreset,” and it may not work all the time.  I have seen this work when I’ve made changes to the ISV.config.xml file. 

Go to the root Microsoft CRM folder\CRMWeb and open the global.asax file.  A word of caution, make sure this file is backed up before editing it.  This file is used to declare application level events and objects. This file is compiled upon the arrival of the first request for any resource in the application.  So if any changes were made to this file, it would be compiled on the next request made, redirects all requests to the new compilation.  This “resets” the application in some effect.  Example of use: 

  1. Edit ISV.config.xml file to add a new button
  2. Go to the global.asax file
  3. Open, add a space at the end, save, remove space and save again.
  4. Refresh CRM page, and you should see the new button.
Filed under:

Comments

No Comments

Leave a Comment

(required) 
(required) 
(optional)
(required) 
Security Check
Please answer the simple math problem below.

(required)