469,909 Members | 1,758 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,909 developers. It's quick & easy.

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

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?

Apr 3 '07 #1
2 4583
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.

Apr 3 '07 #2
It was set to version 1.1.4322. I changed it to 2.0.50727 and all is
well now.

Thank you!!!!!

Apr 3 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Mary Kerrigan | last post: by
21 posts views Thread by nicholas | last post: by
1 post views Thread by Menno Abbink | last post: by
1 post views Thread by Savas Ates | last post: by
5 posts views Thread by Savas Ates | last post: by
2 posts views Thread by Tor Inge Rislaa | last post: by
3 posts views Thread by =?Utf-8?B?bmt3?= | last post: by
1 post views Thread by Andy Fish | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.