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

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?
 
K

Krish

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.
 
M

moondog

It was set to version 1.1.4322. I changed it to 2.0.50727 and all is
well now.

Thank you!!!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top