VS2005 - C# - ASP.NET 2.0
This was actually started under a different thread that has been broken somehow. To summarize, I keep getting a variety parser errors that show the attributes in my web.config file are not recognized. The reason is that my web.config is written in 2.0 and it is running in production as 1.1.
The problem is that IIS is set up as 2.0. The assemblies are version 2.0. The program in debug runs as 2.0. But as soon as I try to run it through localhost, it runs it as 1.1.
How can this be?!
Debug and production using different ASP.NET versions
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

ArshadRank #2,492 · 564 reputationPosted Jun 12, 2008, 10:36 AM EDT
Anna Hawks102 reputationPosted Jun 12, 2008, 10:58 AM EDT
I actually found out -- through the guys at BugNET that it was a problem with the application pools on the server -- there was not a separate pool for 2.0.
Now it works perfectly!
ArshadRank #2,492 · 564 reputationPosted Jun 12, 2008, 11:05 AM EDT
Anna Hawks102 reputationPosted Jun 12, 2008, 11:40 AM EDT