吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 754|回复: 5
收起左侧

[求助] 【ASP.NET】文档管理系统显示数据库登录失败,请问该怎么处理(纯新手)

[复制链接]
we37011295 发表于 2026-3-26 17:10
在本论坛下载了一款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>

2.png

发帖前要善用【论坛搜索】功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

钝钝 发表于 2026-5-6 10:41
你好,这个文件可以分享一下吗?我看过这个帖子,但是帖子里的链接失效了
 楼主| we37011295 发表于 2026-5-16 08:52
钝钝 发表于 2026-5-6 10:41
你好,这个文件可以分享一下吗?我看过这个帖子,但是帖子里的链接失效了

通过网盘分享的文件:asp.net文档管理系统(2016年12月3日).zip
链接: https://pan.baidu.com/s/1L47XaO5MrlsZLuamFrWc-A?pwd=52pj 提取码: 52pj

我已经放弃了,到最后所有都处理好了 不报错了 但就是登录不进去
钝钝 发表于 2026-5-16 09:13
we37011295 发表于 2026-5-16 08:52
通过网盘分享的文件:asp.net文档管理系统(2016年12月3日).zip
链接: https://pan.baidu.com/s/1L47Xa ...

好吧,我到时候看下,我就单纯觉得他这个界面还挺好看
CNLibrary 发表于 2026-5-18 11:23
本帖最后由 CNLibrary 于 2026-5-18 11:36 编辑

试了一下源码,登陆应该是没有问题的,我测试的环境是VS2015、SQL2012、谷歌浏览器
如果你不能登陆最简单的检查:
1、用其他工具例如navicat,用你的用户和密码连接数据库看看有没有问题;
2、检查数据库的用户是否允许网络连接,如果是window是账号登陆那就改一下
3、用谷歌浏览器试试
 楼主| we37011295 发表于 2026-5-19 09:23
CNLibrary 发表于 2026-5-18 11:23
试了一下源码,登陆应该是没有问题的,我测试的环境是VS2015、SQL2012、谷歌浏览器
如果你不能登陆最简单 ...

我的VS  和SOL都是最新版的,等我找找旧版本在研究研究
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - 52pojie.cn ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2026-11-11 09:23

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表