Could not load file or assembly
New: 17 July 2006
Details
Product Name |
SQL Server |
Product Version |
9.0 |
Product Build Number |
9.00.1399 |
Event ID |
Not applicable |
Event Source |
Not applicable |
Component |
Integration Services |
Symbolic Name |
Not applicable |
Message Text |
Could not load file or assembly '%1' or one of its dependencies. The system cannot find the file specified. |
Explanation
This message indicates that the Script task or Script component cannot locate an assembly that is referenced within the script project.
Possible Causes
This message might appear because of one of the following problems:
- The referenced assembly has not been installed in the global assembly cache (GAC).
User Action
Install the assembly in the global assembly cache (GAC)
At design time, you must place assemblies that are used by the Integration Services Script task or Script component in specific folders before you can successfully add a reference to them in the script project. However at run time, these assemblies are loaded from the global assembly cache. Therefore you must use the gacutil.exe command prompt utility with the /i option to install each referenced assembly in the global assembly cache for use at run time. For more information, see Referencing Other Assemblies in Scripting Solutions.