While i am running the SSIS package i am getting the following error. While i am trying to manually access the path i able to access, seems i am having permission to access the path manually but not through SSIS. what i need to do?
Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access to the path '\\filepath.txt' is denied.
Hi, this package is not scheduled. i am having permission to open the file from my run prompt. this error happening when running through BIDS.
thanks
It may be that you're using an expression for generating path and its not generating value properly. In such case, put a breakpoint on script task in place where you retrieve value and check if path variable has expected value
------------------------------------------------------------------------------------------------------ SQL Server MVP http://visakhm.blogspot.com/
That generating path has vaid one. If I tried to run the same package from my college system it is running. I am newly joined to my company. got access recently to that path, it is external server path.