用户代码未处理 System.InvalidOperationException
Message="未在本地计算机上注册“Microsoft Access Driver”提供程序。"
Source="System.Data"
StackTrace:
在 System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper)
在 System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
在 System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
在 System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
在 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
在 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
在 System.Data.OleDb.OleDbConnection.Open()
在 _Default.Page_Load(Object sender, EventArgs e) 位置 e:\WebSite1\Default.aspx.cs:行号 22
在 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
在 System.Web.UI.Control.OnLoad(EventArgs e)
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Message="未在本地计算机上注册“Microsoft Access Driver”提供程序。"
Source="System.Data"
StackTrace:
在 System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper)
在 System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
在 System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
在 System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
在 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
在 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
在 System.Data.OleDb.OleDbConnection.Open()
在 _Default.Page_Load(Object sender, EventArgs e) 位置 e:\WebSite1\Default.aspx.cs:行号 22
在 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
在 System.Web.UI.Control.OnLoad(EventArgs e)
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
解决方案 »
- datagridview 的属性 AutoGenerateColumns 哪里可以找到?
- 关于Scoket的问题..高手进来看看!
- 线程
- 关于DataSet的relations的问题
- 分布式计算体系结构,如何快速的理解。
- 可以把字符串中的每个单词加上双引号.
- 请高人指点,在对绑定数据表的dataGrid中操作数据时,如何验证unique或not null,并提交数据.
- 在.NET2003中引入MSFlexGrid这个ocx控件时,报错说没有ActiveX许可证,这是怎么回事啊?
- 句柄 HANDLE 该如何处理?用IntPtr如何替换?
- 在C#中使用web browser控件,如何得到该控件网页的html源码???
- 本人写了个小程序,现在要介绍功能、使用方法、还有程序开发目的方法等等。哪位大侠有范文,给个考参,谢谢!!!
- 为什么我的treeview没有_AfterSelect事件
没装驱动吧?或你连接字符串写的驱动版本不正确。