|
在本论坛下载了一款ASP.NET】文档管理系统,SQL Server里面数据库建立好了,老是显示登录失败,不知道什么原因。请大佬说明一下该怎么解决。
显示登录失败
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data"/>
<sectionGroup name="spring">
<section name="context" type="Spring.Context.Support.ContextHandler, Spring.Core"/>
<section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core"/>
</sectionGroup>
</configSections>
<dataConfiguration defaultDatabase="Connection String"/>
<connectionStrings>
<add name="Connection String" connectionString="Data Source=FAN\SQLEXPRESS;Initial Catalog=GDWD;User ID=gdwd;Password=Qq123456" providerName="System.Data.SqlClient"/>
</connectionStrings>
<appSettings>
<add key="UpLoadFileDirectory" value="c:\temp\"/>
<add key="UpFilePath" value="c:\temp\"/>
<add key="FileConvertPath" value="e:\tempfiles\fcp"/>
<add key="IndexDataPath" value="E:\index"/>
<add key="IndexQueuePath" value=".\private$\IndexProcess"/>
<add key="MAIL_HOST" value="192.168.0.253"/>
<add key="MAIL_PORT" value="25"/>
<add key="MAIL_FROM" value="kuku@126.com"/>
<add key="MAIL_USER" value="kuku"/>
<add key="MAIL_PASSWORD" value="123"/>
<!-- PM3 -->
<add key="ConnectionString" value="server=FAN\SQLEXPRESS;uid=gdwd;pwd=Qq123456;database=GDWD;Pooling=true;Max Pool size=100;Min pool size=10;Connect Timeout=30"/>
<!-- END PM3 -->
</appSettings>
<spring>
<context>
<resource uri="file://~/config/object/framework.config"/>
<resource uri="file://~/config/object/document.config"/>
</context>
</spring>
<!--
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
可在 <httpRuntime> 标记上设置以下特性。
<system.Web>
<httpRuntime targetFramework="4.8" />
</system.Web>
-->
<system.web>
<httpRuntime maxRequestLength="204800" useFullyQualifiedRedirectUrl="true" executionTimeout="500"/>
<!--
设置 compilation debug="true" 可将调试符号插入
已编译的页面中。但由于这会
影响性能,因此只在开发过程中将此值
设置为 true。
-->
<compilation debug="true" targetFramework="4.8">
<assemblies>
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<!--
通过 <authentication> 节可以配置 ASP.NET 用来
识别进入用户的
安全身份验证模式。
-->
<authentication mode="Windows"/>
<!--
如果在执行请求的过程中出现未处理的错误,
则通过 <customErrors> 节可以配置相应的处理步骤。具体说来,
开发人员通过该节可以配置
要显示的 html 错误页
以代替错误堆栈跟踪。
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
<controls>
<add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit"/>
<add tagPrefix="cxintong" namespace="cxintong.UI.Web.WebControls" assembly="cxintong.UI.Web.WebControls"/>
</controls>
</pages>
<httpHandlers>
<add verb="GET,PUT,UNLOCK,LOCK,OPTIONS" path="*.xtdoc,*.vsd" type="cxintong.Webdav.WebdavProtocolHandler,cxintong.Webdav"/>
</httpHandlers>
</system.web>
<!--
在 Internet 信息服务 7.0 下运行 ASP.NET AJAX 需要 system.webServer
节。对早期版本的 IIS 来说则不需要此节。 -->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
</system.webServer>
</configuration>
|