2015-03-02 33 views
-2

我的目標是從Access數據庫2007加載Access數據到SQL Server

我創建使用被映射到網絡驅動器的訪問源的SSIS包2008 R2數據庫更新SQL Server中的某些字段,我共享數據庫

該包在ssis中執行得很好。

我要運行調度工作,當我在SQL代理作業運行這個它得到以下

Date,Source,Severity,Step ID,Server,Job Name,Step Name,Notifications,Message,Duration,Sql Severity,Sql Message ID,Operator Emailed,Operator Net sent,Operator Paged,Retries Attempted 03/02/2015 12:48:53,test_job,Error,0,PAVAN,test_job,(Job outcome),,The job failed. The Job was invoked by User PAVAN. The last step to run was step 1 (testjob_step).,00:00:01,0,0,,,,0

03/02/2015 12:48:53,test_job,Error,1,PAVAN,test_job,testjob_step,,Executed as user: PAVAN\sys-32. Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 32-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 12:48:53 PM Error: 2015-03-02 12:48:54.93 Code: 0xC0202009 Source: FirstPackage Connection manager "\RAGHU-PC\vijay\access db\weighbridge.mdb" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft Office Access Database Engine" Hresult: 0x80004005 Description: "The Microsoft Office Access database engine cannot open or write to the file '\RAGHU-PC\vijay\access db\weighbridge.mdb'. It is already opened exclusively by another user or you need permission to view and write its data.". End Error Error: 2015-03-02 12:48:54.93
Code: 0xC020801C Source: datafor sqlserver OLE DB Source [1]
Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "\RAGHU-PC\vijay\access db\weighbridge.mdb" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error Error: 2015-03-02 12:48:54.93 Code: 0xC0047017 Source: datafor sqlserver SSIS.Pipeline Description: component "OLE DB Source" (1) failed validation and returned error code 0xC020801C. End Error Error: 2015-03-02 12:48:54.93 Code: 0xC004700C Source: datafor sqlserver SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2015-03-02 12:48:54.93 Code: 0xC0024107 Source: datafor sqlserver Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 12:48:53 PM Finished: 12:48:54 PM Elapsed: 0.936 seconds. The package execution failed. The step failed.,00:00:01,0,0,,,,0

+0

有可能''RAGHU-PC \ vijay \ access db \ weighbridge.mdb已被另一個用戶獨佔打開,或者您需要權限來查看和寫入其數據?'它看起來像Microsoft Office Access數據庫引擎無法打開或寫入文件 – billinkc 2015-03-02 16:59:31

+0

爲什麼這麼多倒票?看起來合法的我。 – rvphx 2015-03-02 21:09:28

回答

0

除了上述的線所示的錯誤,確保任何人可以訪問開沒開它通過命令行中的快捷方式/在其中包含/不包含該快捷方式,可以專門打開它,也可以鎖定該數據泵。

也只是踢和咯咯嘗試運行沒有人在其中的SSIS包。

另外請確保\ RAGHU-PC \ vijay \ access db \ weighbridge.mdb是執行SSIS包的服務器上的有效路徑,只是這種情況不是正確的映射。

+0

我敢肯定,路徑是有效的路徑與它在SSIS包中執行相同的路徑,而在SQL代理作業中運行相同的包它顯示錯誤,如果我在本地採取源文件作業成功... – vijay 2015-03-03 05:39:46

+0

我想從另一個系統獲取源代碼,因爲我使用MAP NETWORK SHARING,在運行該作業時出現上面顯示的錯誤 – vijay 2015-03-03 05:41:57