我在Azure网站上上传excel文件时遇到了问题。
错误我一直在
Azure - ' Microsoft.ACE.OleDb.12.0'提供者未注册 本地机器
我查了google和stackoverflow。 他们都说这个领域的开发结构存在缺陷。对这个答案的任何更新???
错误
=======================================================
Timestamp: 5/1/2014 5:47:36 AM
Message: HandlingInstanceID: 425ab729-f484-4846-9214-60f5f1cfb2dd
An exception of type 'System.Threading.ThreadAbortException' occurred and was caught.
-------------------------------------------------------------------------------------
05/01/2014 05:47:36
Type : System.Threading.ThreadAbortException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Thread was being aborted.
Source : mscorlib
Help link :
ExceptionState : System.Web.HttpApplication+CancelModuleException
Data : System.Collections.ListDictionaryInternal
TargetSite : Void AbortInternal()
HResult : -2146233040
Stack Trace : at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.AbortCurrentThread()
at System.Web.HttpResponse.End()
at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
at System.Web.HttpResponse.Redirect(String url)
at master_websiteinner.btnLogin_Click(Object sender, EventArgs e)
Additional Info:
MachineName : RD00155D86ECB4
TimeStamp : 5/1/2014 5:47:36 AM
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
AppDomainName : /LM/W3SVC/1505810235/ROOT-1-130433968349516357
ThreadIdentity :
WindowsIdentity : IIS APPPOOL\testblinkawards
Category: General
Priority: 0
EventId: 100
Severity: Error
Title:blinkawards Exception Handling
Machine: RD00155D86ECB4
Application Domain: /LM/W3SVC/1505810235/ROOT-1-130433968349516357
Process Id: 3648
Process Name: D:\Windows\SysWOW64\inetsrv\w3wp.exe
Win32 Thread Id: 364
Thread Name:
Extended Properties:
----------------------------------------
=======================================================
Timestamp: 5/1/2014 5:48:39 AM
Message: HandlingInstanceID: 0f1b4483-3d2d-4f21-addb-7b9a7ee2b430
An exception of type 'System.Threading.ThreadAbortException' occurred and was caught.
-------------------------------------------------------------------------------------
05/01/2014 05:48:39
Type : System.Threading.ThreadAbortException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Thread was being aborted.
Source : mscorlib
Help link :
ExceptionState : System.Web.HttpApplication+CancelModuleException
Data : System.Collections.ListDictionaryInternal
TargetSite : Void AbortInternal()
HResult : -2146233040
Stack Trace : at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.AbortCurrentThread()
at System.Web.HttpResponse.End()
at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
at System.Web.HttpResponse.Redirect(String url)
at master_website.lnkAdministrator_Click(Object sender, EventArgs e)
Additional Info:
MachineName : RD00155D86ECB4
TimeStamp : 5/1/2014 5:48:39 AM
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
AppDomainName : /LM/W3SVC/1505810235/ROOT-1-130433968349516357
ThreadIdentity :
WindowsIdentity : IIS APPPOOL\testblinkawards
Category: General
Priority: 0
EventId: 100
Severity: Error
Title:blinkawards Exception Handling
Machine: RD00155D86ECB4
Application Domain: /LM/W3SVC/1505810235/ROOT-1-130433968349516357
Process Id: 3648
Process Name: D:\Windows\SysWOW64\inetsrv\w3wp.exe
Win32 Thread Id: 2244
Thread Name:
Extended Properties:
----------------------------------------
=======================================================
Timestamp: 5/1/2014 5:50:28 AM
Message: HandlingInstanceID: a730351b-e4fd-4ba2-af35-dcf7ecf9663e
An exception of type 'System.InvalidOperationException' occurred and was caught.
--------------------------------------------------------------------------------
05/01/2014 05:50:28
Type : System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
Source : System.Data
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite : Void GetDataSource(System.Data.OleDb.OleDbConnectionString, System.Data.OleDb.DataSourceWrapper ByRef)
HResult : -2146233079
Stack Trace : at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper)
at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.OleDb.OleDbConnection.Open()
at CommonFunctions.ReadExcelFile(String sSessionExtension, String FileToRead)
at employeesinvite.ReadExcel()
Additional Info:
MachineName : RD00155D86ECB4
TimeStamp : 5/1/2014 5:50:28 AM
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
AppDomainName : /LM/W3SVC/1505810235/ROOT-1-130433968349516357
ThreadIdentity :
WindowsIdentity : IIS APPPOOL\testblinkawards
Category: General
Priority: 0
EventId: 100
Severity: Error
Title:blinkawards Exception Handling
Machine: RD00155D86ECB4
Application Domain: /LM/W3SVC/1505810235/ROOT-1-130433968349516357
Process Id: 3648
Process Name: D:\Windows\SysWOW64\inetsrv\w3wp.exe
Win32 Thread Id: 1800
Thread Name:
Extended Properties: