I created a SSIS package that litterally just export a view onto a server. The database, ssis and location are all on the same server. When I run the SSIS package in SSIS works perfectly. When I run it in SQL it doesnt work. I have read way to many articles trying to figure out how to fix this. The best was something about a proxy. I really just want to run the package through as a JOb through SQL Server Agent. Any directions would be great.
Message
Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 64-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 3:15:00 PM Error: 2015-03-05
15:15:00.41 Code: 0xC0011007 Source: {A9456201-8A74-44C9-839F-1CD3CC02637F} Description: Unable to load the package as XML because of package does not have a valid XML format. A specific XML parser error will
be posted. End Error Error: 2015-03-05 15:15:00.41 Code: 0xC0011002 Source: {A9456201-8A74-44C9-839F-1CD3CC02637F} Description: Failed to open package file
"C:\Users\lasadmin\Documents\Visual Studio 2010\Projects\Integration Services Project1\Integration Services Project1\Package.dtsx"
due to error 0x80070005 "Access is denied.". This occurs when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of specifying an incorrect file name when calling LoadPackage
or the specified XML file has an incorrect format. End Error Could not load package "C:\Users\Documents\Visual Studio 2010\Projects\Integration Services Project1\Integration Services Project1\Package.dtsx" because of error 0xC0011002.
Description: Failed to open package file "C:\Users\Documents\Visual Studio 2010\Projects\Integration Services Project1\Integration Services Project1\Package.dtsx" due to error 0x80070005 "Access is denied.". This occurs when
loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of specifying an incorrect file name when calling LoadPackage or the specified XML file has an incorrect format. Source: {A9456201-8A74-44C9-839F-1CD3CC02637F}
Started: 3:15:00 PM Finished: 3:15:00 PM Elapsed: 0.015 seconds. The package could not be found. The step failed.