This error message comes while performing one (Or both) of the following actions.
1. Run SSIS Package using dtexec.exe (Either from a command file or through a Job running on SQL Server 2008)
2. Open SSIS package using VS2008 or BIDS
If you have a log file for the job, the exact error essage you see would be as follows:
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Microsoft (R) SQL Server Execute Package UtilityVersion 10.0.1600.22 for 32-bitCopyright (C) Microsoft Corp 1984-2005. All rights reserved.
Error: Code: 0xC0011007 Source: {95765D16-E9AA-4DDA-9932-9DF1281E1208} 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 ErrorError: Code: 0xC0011002 Source: {95765D16-E9AA-4DDA-9932-9DF1281E1208} Description: Failed to open package file "E:\MyPackage.dtsx" due to error 0x80070020 "The process cannot access the file because it is being used by another process.". This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format.End ErrorCould not load package "E:\MyPackage.dtsx" because of error 0xC0011002.Description: Failed to open package file "E:\MyPackage.dtsx" due to error 0x80070020 "The process cannot access the file because it is being used by another process.". This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format.Source: {95765D16-E9AA-4DDA-9932-9DF1281E1208}
Fix: The fix is same as the one I explained in my other blog. The physical path of SQL Server 2008's DTEXEC.exe should appear first in the PATH environment variable.