This article is a mirror article of machine translation, please click here to jump to the original article.

View: 14987|Reply: 0

[ASP.NET] ASP.NET workaround for the unrecognized configuration section "connectionStrings"

[Copy link]
Posted on 6/8/2015 5:38:27 PM | | |

I have been busy on Window Server 2003 for most of the day today, and finally the database, what environment, and project deployment are all done: It's not easy...

I went to visit with great interest, and it reported an error ASP.NET unrecognized configuration section "connectionStrings"... I wondered for a long time... Why does a good project have problems as soon as it is released to the server...


Specific error description:


An error occurred while processing the profile required to provide services to that request. Please check the specific error details below and modify the configuration file appropriately. Analyzer error message: Unrecognized configuration section "connectionStrings" source error: Line 1: <configuration> Line 2: Line 3: <connectionStrings/> Line 4: ...... Source file: web.config Line: 3 Reason: asp.net applications developed with VS2005 need to use .NET Framework 2.0, while the default .NET environment in IIS is 1.1. This is when the problem of unrecognized nodes occurs.



Think back... I think I should have installed something less, right: .Net Framework doesn't seem to be 2.0 yet... So, act now...

Workaround: Upgrade the .net environment to 2.0
"Start" - "Run" Enter directly in the Run text box: C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_regiis.exe -i





Previous:The source code is encrypted with DES for the C# program password
Next:IPAD AIR2 supports split-screen function, not all iOS9 adds split-screen mode to iPad
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com