Configuration Error 的问题

zhouing00 2010-05-12 09:37:14
在安装iis和net framework后,在本机上访问网站出现下面的问题,是怎么回事?
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized configuration section 'connectionStrings'

Source Error:


Line 14: <add key="FCKeditor:UserFilesPath" value="~/Upload"/>
Line 15: </appSettings>
Line 16: <connectionStrings>
Line 17: <add name="Con" connectionString="server=(local);uid=sa;pwd=admin;database=YuQsystem4510"/>
Line 18: <add name="zhogqConnectionString" connectionString="Data Source=(local);Initial Catalog=YuQsystem4510;User ID=sa;Password=admin" providerName="System.Data.SqlClient"/>


Source File: F:\YuQsystem\web.config Line: 16


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
...全文
279 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
yuz_yuz 2010-05-13
  • 打赏
  • 举报
回复
IIS的asp.net版本不正确
zjtpiaoxue 2010-05-13
  • 打赏
  • 举报
回复
iis中的默认.net环境是1.1
的话,将.net环境升级为2.0,开始-》运行-》cmd-》 C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_regiis.exe -i
就是just4 2010-05-12
  • 打赏
  • 举报
回复
"Parser Error Message: Unrecognized configuration section 'connectionStrings'"

确认.net版本是否正确,IIS网站对应.net版本是否正确
cuike519 2010-05-12
  • 打赏
  • 举报
回复
安装 .NET Framework2.0

17,747

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 .NET Framework
社区管理员
  • .NET Framework社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧