化工厂国泰华荣怎么样:在配置iis中出现错误

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/29 22:37:24
出现的错误是
Server Error in '/d' Application.
--------------------------------------------------------------------------------

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 4: <add key="ApplicationName" value="Ұϵͳ" />
Line 5: </appSettings>
Line 6: <connectionStrings>
Line 7: <add name="ConnectionString" connectionString="App_Data/DataBase.mdb" />
Line 8: </connectionStrings>

Source File: F:\dy\学习资料\net\a284\web.config Line: 6

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
请高手执教,是哪里的问题?最好详细一点,小弟刚学asp.net!先谢谢了!

你的Config文件中的这个节配置有问题。value="Ұϵͳ",这里不允许中文。
连接字符串不允许使用相对路径,必须使用绝对路径,如c:\ddd.mcddde
等。可以博客留言,详细解答。