Archive for August, 2011

An error occurred on the server when processing the URL. Please contact the system administrator. If you are the system administrator please click here to find out more about this error.

You will usually get the above error on windows 2008 even if you have set CustomErrors=Off in the web.config file . To get the actual error on the remote machine or remote browsers
Double click on the website in IIS 7.x , double click asp , double click debugging properties option , and set send Errors to browser equal to True and click apply.

Double click on the website => double click error pages => click Edit feature settings => check the radio button “Detailed Errors” => click ok

Command to Get Handler Mappings of a website in IIS 7.0 or IIS 7.5

You can get the Handler Mappings of a website in IIS 7.0 or 7.5 from the command prompt using the following command

%windir%\system32\inetsrv\appcmd.exe list config “website name ” -section:system.webServer/handlers

‘Configuration file is not well-formed XML’ ‘C:\Windows\system32\inetsrv\config\applicationHost.config’

Hello,

You will usually get the error ‘Configuration file is not well-formed XML’ ‘C:\Windows\system32\inetsrv\config\applicationHost.config’ when you open IIS manager or get the error Windows Process Activation service (WAS) could not start – Error 13 The data is invalid, while restarting IIS from the command prompt  specially on Windows 2008 server .

Usually you will get this error when the applicationHost.config gets corrupt at the following path C:\Windows\system32\inetsrv\config\ . Fortunately IIS makes the backup of the configuration file “applicationHost.config” at the path C:\inetpub\history whenever any change in IIS configuration is made .

To resolve the problem goto the path C:\inetpub\history\CFGHISTORY and copy the latest applicationHost.config and replace the file applicationHost.config at C:\Windows\system32\inetsrv\config .

Now restart the IIS .


(adsbygoogle = window.adsbygoogle || []).push({}); //--> Feedjit Flag Counter