HTTP错误500.19-将iis6迁移到iis7之后的内部服务器错误

时间:2018-06-27 14:51:53

标签: iis-7 windows-server-2008

打开网站时,我一直收到此错误。

<fieldset>
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
</fieldset>
<fieldset><legend>Detailed Error Information</legend>
Module  IIS Web Core
Notification    BeginRequest
Handler     Not yet determined
Error Code  0x80070032
Config Error    The configuration section 'connectionStrings' cannot be read because it is missing a section declaration
Config File     \\?\C:\inetpub\wwwroot\CM_Live\web.config
Requested URL   http://localhost:80/CM_Live
Physical Path   C:\inetpub\wwwroot\CM_Live
Logon Method    Not yet determined
Logon User  Not yet determined
</fieldset>
<fieldset><legend>Config Source</legend>

   22:  </configSections>
   23:  <connectionStrings>
   24:      <add name="DWG_ConnectionString" connectionString="Data Source=server;Initial Catalog=Data_;Integrated Security=True" providerName="System.Data.SqlClient"/>

</fieldset>

我用Google搜索错误,并与同样错误的人一起阅读了其他网站,但他们的解决方案对我不起作用。

0 个答案:

没有答案