是.NET的程序员的进来!!!
qiuzp 2004-10-20 10:57:00 我编了一个网站,但不知有的时候会出现下面的情况。请大家看看:谢谢!
Server Error in '/' Application.
--------------------------------------------------------------------------------
未指定的错误
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: 未指定的错误
Source Error:
Line 14: strsql="select * from user_yh where user_user='" & theglyname & "' "
Line 15: cnn=new oledbconnection(strcnn)
Line 16: cnn.open()
Line 17: cmd=new oledbcommand(strsql,cnn)
Line 18: dr=cmd.executereader()
Source File: D:\ly54\hi\login.aspx Line: 16
Stack Trace:
[OleDbException (0x80004005): 未指定的错误]
System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) +20
System.Data.OleDb.OleDbConnection.InitializeProvider() +57
System.Data.OleDb.OleDbConnection.Open() +203
ASP.login_aspx.page_load(Object sender, EventArgs e) in D:\ly54\hi\login.aspx:16
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573