![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| ||||
| ||||
|
|
May I suggest that you save your package in SQL Server and try loading from SQL Server, however, you may then encounter my problem which is the |
|
I have run SQL under a special account, folder and files have permission to this account and the package runs using windows authentication. I have |
and have tried mapping|
Error message: OnError in DTSStep_DTSFTPTask_1; ErrorCode = -2147220489, Source = File Transfer Protocol Task, Description = Folder E:\SFU\LocalUser\ does not |
|
OnFinish in DTSStep_DTSFTPTask_1 -- Message posted via http://www.sqlmonster.com |
#4
| |||
| |||
|
|
I'm using the code sample provided at http://SQLDev.Net/DTS/DotNETCookBook.htm to attempt to load a .DTS package in C# through the COM Interop services, and execute it. When the LoadFromStorageFile method is called I get the following error: System.Runtime.InteropServices.COMException (0x80040414): Cannot find specified package in the storage location specified. at Microsoft.SQLServer.DTSPkg80.Package2Class.LoadFro mStorageFile(String UNCFile, String Password, String PackageID, String VersionID, String Name, Object& pVarPersistStgOfHost) at ExecPkg.App.Main(String[] args) in h:\test\dts cookbook\execpkgcs\execpkg.cs:line 32 Initially I was getting a nondescript security exception but worked around it by setting the .Net Framework Runtime Security Policy/Machine/Permission Sets to FullTrust. Thus far I have also tried: - Granting full ACL's to the file to Everyone at both the domain level and the local machine level. - Using explicit path references - Using UNC reference - Placing the file local to the executable - Placing the file on a remote network drive - Placing the file on the SQL Server itself - Enabling file auditing, and setting up Failure Audit's on the .DTS file (nothing triggered... not entirely sure I did this right =^| ) Any pointers appreciated. |
![]() |
| Thread Tools | |
| Display Modes | |
| |