Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sarahmfr
Posting Yak Master
214 Posts |
Posted - 2011-09-08 : 13:25:02
|
Please I need helpWhat I am missingI have ssis package that reads xml files from a folder on a network driveThe ssis executes fine on right clicking the package name and executeI even tried setting Run64bitruntime to falseI build the package and save it on sql server packagesAdded a proxy Added the user who created the package (myself) as a principal for this proxyAdded my window’s account i.e. servername/myloginname as a user to the databaseGive that login permission to my databaseAdded this window’s authentication account as a user of msdbAdd this window’s authentication account to the ssisoperator role in msdbGave full control to that network drive to sql account and that window’s authenticated (myaccount) Added a job Added the package as a step defined my window’s authenticated account login as the ownerSpecified that the package run as the proxy previously createdScheduled the jobThe job does not work it gives me failure messageSaying Source: Sort The List of Incomming xmls Description: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'L:\datafiles'. at System.IO.__Error.WinIOError(Int32 errorCode<c/> String maybeFullPath) at System.IO.Directory.InternalGetFileDirectoryNames(String path<c/> String userPathOriginal<c/> String searchPattern<c/> Boolean includeFiles<c/> Boolean includeDirs<c/> SearchOption searchOption) at System.IO.Directory.GetFiles(String path<c/> String searchPattern<c/> SearchOption searchOption) at System.IO.Directory.GetFiles(String path) at ST_b75640dfd4ca4758a401c29858e7ef3f.csproj.ScriptMain.Main() sarah |
|
russell
Pyro-ma-ni-yak
5072 Posts |
Posted - 2011-09-08 : 13:45:09
|
Grant permissions to the SQL Agent service account.Also, make sure you're using UNC paths and not mapped drives if resource is in a remote location. |
|
|
russell
Pyro-ma-ni-yak
5072 Posts |
Posted - 2011-09-08 : 15:22:39
|
Same as giving any other user permissions. Have your network admin do this for you. |
|
|
sarahmfr
Posting Yak Master
214 Posts |
Posted - 2011-09-08 : 16:09:31
|
thanks a lotsarah |
|
|
|
|
|