There was an error while performing this operation IIS 7.5

Dear All,

Faced one new issue while shifting websites from one IDC to AMAZON cloud, I have configured websites as generally we configure and set the application pool also

When I was trying to open any feature from feature panel of that website it was giving error

There was an error while performing this operation in IIS 7.5

err1

The error message was blank so it was very difficult task to identify the error as nothing was getting on net also.

Checked permissions and found permissions were as required so tried to browse the website  but here also it was showing below error from which we couldn’t get the exact cause of error

500.19

There was no option for getting the exact error code / message which will help to troubleshoot , followed below steps to identify the cause

  • Opened Web.config and started removing tags one by one like removed <httphandlers >, <httpmoudles>
  • Still same error
  • Removed custom error tag
  • Still same error
  • Removed <applicationInitialization doAppInitAfterRestart=”true” />
  • Error gone away and website started browsing

After checking for the tag details came to know it is for Optimizing Application Initialization Module for IIS and for make website running along with the tag inside web.config we need to install

Application Initialization Module for IIS 7.5 extension on Server

Downloaded and installed it from http://www.iis.net/downloads/microsoft/application-initialization , then added the above tag and website started running.

Thanks

Prashant Deshpande

Advertisements

Leave a comment

Filed under Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s