鈥?鈥濆簲鐢ㄧ▼搴忎腑鐨勬湇鍔″櫒閿欒銆侟hr width=100% size=1 color=silver>

鏈寚瀹氱殑閿欒

璇存槑: 鎵ц褰撳墠 Web 璇锋眰鏈熼棿锛屽嚭鐜版湭澶勭悊鐨勫紓甯搞€傝妫€鏌ュ爢鏍堣窡韪俊鎭紝浠ヤ簡瑙f湁鍏宠閿欒浠ュ強浠g爜涓鑷撮敊璇殑鍑哄鐨勮缁嗕俊鎭€

寮傚父璇︾粏淇℃伅: System.Data.OleDb.OleDbException: 鏈寚瀹氱殑閿欒

婧愰敊璇?


琛 57: 
琛 58:         OleDbConnection mycon = Conn();
琛 59:         mycon.Open();
琛 60:         OleDbDataAdapter dbdap = new OleDbDataAdapter(sql, mycon);
琛 61:         DataSet ds = new DataSet();

婧愭枃浠碟 d:\virtualhost\localuser\host7450651\www\App_Code\oleaccess.cs    琛孃 59

鍫嗘爤璺熻釜:


[OleDbException (0x80004005): 鏈寚瀹氱殑閿欒]
   System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +973093
   System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +86
   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +29
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +4927792
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   System.Data.OleDb.OleDbConnection.Open() +40
   oleaccess.SelectData(String sql) in d:\virtualhost\localuser\host7450651\www\App_Code\oleaccess.cs:59
   top.bindparent(Repeater rep, String sqlstr) in d:\virtualhost\localuser\host7450651\www\App_Code\top.cs:23
   yyaldetail.Page_Load(Object sender, EventArgs e) in d:\virtualhost\localuser\host7450651\www\yyaldetail.aspx.cs:26
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


鐗堟湰淇℃伅: Microsoft .NET Framework 鐗堟湰:2.0.50727.9055; ASP.NET 鐗堟湰:2.0.50727.9051
Baidu
sogou