我把验证改成了windows和Sql server这下好了错误变成这个了
No error information available: E_FAIL(0x80004005).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.OleDb.OleDbException: No error information available: E_FAIL(0x80004005).Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
[OleDbException (0x80004005): No error information available: E_FAIL(0x80004005).]
System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) +20
System.Data.OleDb.OleDbConnection.InitializeProvider() +57
System.Data.OleDb.OleDbConnection.Open() +203
Forum.Db.OpenDb()
Forum.Db.GetGrid(String Sql, String Tb)
Forum.Db.GetCon()
Forum.Index.SetModel()
Forum.Index.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +720
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 怎么回事啊,我到现在网上下得Sql server得.Net程序都是这样怎么解决啊?
No error information available: E_FAIL(0x80004005).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.OleDb.OleDbException: No error information available: E_FAIL(0x80004005).Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
[OleDbException (0x80004005): No error information available: E_FAIL(0x80004005).]
System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) +20
System.Data.OleDb.OleDbConnection.InitializeProvider() +57
System.Data.OleDb.OleDbConnection.Open() +203
Forum.Db.OpenDb()
Forum.Db.GetGrid(String Sql, String Tb)
Forum.Db.GetCon()
Forum.Index.SetModel()
Forum.Index.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +720
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 怎么回事啊,我到现在网上下得Sql server得.Net程序都是这样怎么解决啊?
解决方案 »
- 重试或取消对话框的问题
- 史上最简单好用的.net图表控件,仅仅需要两句代码就能搞定一个漂亮的图表,无需对配色有任何了解,真是程序员的福音,不得不花50分推荐一下
- 紧急,在线等(服务器防火墙导致网站不能被访问问题)
- 关于页面间传递参数的问题
- Linkbutton的连发问题
- 紧急!xmlhttp抓取页面碰到URL编码问题,请高手帮忙!!!
- asp.net建立web应用程序出现版本错误??
- asp.net连oracle数据库时,插入一条记录时,出现如下错误,看不懂:(
- 请问:如何在asp.net(后台.cs程序) 中接受showModalDialog传过来的数组变量?请指教!!
- 这样的菜单在ASP。NET中是如何实现的?
- 怎样运行我的第一个aspx程序???
- to skyword(网络新丁) 谢谢你的书
自己做个ODBC连接看看能不能连上啊?
key="StrConn" value="PROVIDER=SQLOLEDB;DATA SOURCE=(local);UID=sa;PWD=;DATABASE=AspxAppForum;connect timeout=120"
再检查登陆字段是否正确
主要看你的sa密码是否为空
User ID=sa;Data Source=服务器IP地址;Password=sa密码;Initial Catalog=数据库名;Provider=SQLOLEDB.1sqlConnection.ConnectionString
user id=sa;data source=服务器IP地址;initial catalog=数据库名;password=sa密码odbcConnection.ConnectionString
PWD=sa密码;UID=sa;DRIVER=SQL Server;Network=DBMSSOCN;DATABASE=数据库名;SERVER=数据库IP";