解决方案 »
- asp.net实现图片批量下载问题
- 超级链接自动跳到某一页
- gridview如何把dropdownlist选中的值付到UpdateParameters中?
- 我用ASP.NET开发的程序放在服务器上运行正常,在客户端用IP访问不了,该如何设置?急!!!
- Win2000下,VS.net无法创建项目目录问题求教。
- 分享:改变aspx扩展名,换成自己的扩展名...
- 如何写动态生成textBox的的失去焦点的函数
- asp.net gdi+ 如何画点?找了半天,也没有找到.谢谢了!!
- SQL SERVER 里的Money数据类型为什么是小数点后4位?
- icyer,各位水晶报表高手,快点进来帮帮我呀。
- 计算gridview某列值出错
- 上传到服务器的.net网站中有html页,点击按钮跳转到html页,html页无法显示
说明用这个用户访问不了数据库,看看权限
这个网站下面没有数据库呀说实在的,我没有弄过.net,情况是这样的,
前面有个.ascx 文件要修改,一直没有改掉,后面问那个做网站的,说要重新生成一下,
今天刚刚把全部网站重新生成后,发布(一路瞎蒙)
生成了三个.dll文件,然后把旧文件里面的:<%@ page language="C#" autoeventwireup="true" inherits="callboard, App_Web_0azyl7cl" enableviewstatemac="false" viewStateEncryptionMode="Never" %>加红部分换成新
生成的.dll,本来都顺利,就是三个文件页面出问题。。
sq8visafc.nfxgtscn_callboard 为用户名.表名
登录用户和密码是否正确,看看连接字符串
都是.aspx,.ascx,.dll,.aspx.exclude这些文件,怎么才能知道是不是用户名和密码错误。。用户 'sq_visafcasia' 登录失败。
源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 堆栈跟踪:
[SqlException (0x80131904): 用户 'sq_visafcasia' 登录失败。]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +437
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +121
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +83
controls_dealerPopmenu.dataBindtoPopMenu(String popmenuid) +140
controls_dealerPopmenu.Page_Load(Object sender, EventArgs e) +113
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
还有这个错误。。
都是.aspx,.ascx,.dll,.aspx.exclude这些文件, 怎么才能知道是不是用户名和密码错误。。
============================================================ 用户 'sq_visafcasia' 登录失败。
源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 堆栈跟踪:
[SqlException (0x80131904): 用户 'sq_visafcasia' 登录失败。]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +437
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +121
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +83
controls_dealerPopmenu.dataBindtoPopMenu(String popmenuid) +140
controls_dealerPopmenu.Page_Load(Object sender, EventArgs e) +113
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061 还有这个错误。。
<!--
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->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings/>
<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
ASP.NET 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>
-->
<globalization requestEncoding="gb2312" responseEncoding="gb2312" />
</system.web>
</configuration>