Error when trying to Run/Rebuild a package transfered from another machine

  • Hello everyone,

    I'm recieving an error message when trying to run/build a package, saying:

    System.UnauthorizedAccessException: Access to the path 'C:\BI\SSIS\XXX\XXX\bin\XXX.dtsx' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) at Microsoft.DataTransformationServices.Project.DataTransformationsProjectBuilder.BuildIncremental(IOutputWindow outputWindow)

    I should mention that I've been working on this package using my local machine at home, with my own computer settings, and now trying to copy it to my server at work. Before doing so I've changed the ProtectionLevel of the package properties to DontSaveSensitive, and after updated all my connection managers.

    Thanks for your help,

    Arie.

  • Kinda basic:

    Is your XXX.dtsx already existing in the bin directory?

    Do you have file system write permission on the file and the directory?

  • I just had this problem and figured it out.

    Delete the bin\ directory and rebuild.

    A bin\ dir from a foreign machine seems to give it fits.

    HTH,

    Jason

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply