哥哥们来帮忙下,
哥哥们来帮忙下,,按照这个程序的作者改了相应的地方都不行 不是报错就是连接不上数据库,请哥哥们帮忙看看。以下是代码
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website-> Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine. usually located in
\Windows\\Framework\v2.x\Config
-->
<configuration>
<appSettings>
<add key="ConnString" value="Data Source=TONG\SQLEXPRESS;Initial Catalog=PCMSys;User ID=sa;Password=sa"/>
</appSettings>
<connectionStrings>
<add name="PCMSysConnectionString" connectionString="Data Source=TONG\SQLEXPRESS;Initial Catalog=PCMSys;User ID=sa;Password=sa"
providerName="System.Data.SqlClient" />
<add name="PCMSysConnectionString2" connectionString="Data Source=TONG\SQLEXPRESS;Initial Catalog=PCMSys;User ID=sa;Password=sa"
providerName="System.Data.SqlClient" />
</connectionStrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true"/>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
to identify an incoming user.
-->
<authentication mode="Windows"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
</system.web>
</configuration>