Runtime Error and <customErrors mode="Off"/> for Visual Studio 2005

  • Thread starter Thread starter moondog
  • Start date Start date
M

moondog

I have just upgraded from Visual Studio 2003 to 2005 and am now trying
to make my web apps work.

My web app compiles and works fine in Visual Studio but once I publish
it out to my server (which used to work) it gives me a server error
"Runtime Error" and tells me to change my web.config by adding the
line <customErrors mode="Off"/>

My web.config already has this line in it and was working fine before
the upgrade. Any ideas what I can do?
 
Can you check whet is the version of .Net framework that is set in the
IIS for the virtual directory hosting your web application. You can
check the properties of the virtual directory and navigate to the last
tab.
 
It was set to version 1.1.4322. I changed it to 2.0.50727 and all is
well now.

Thank you!!!!!
 
Back
Top