I have two SSIS packages which uses the Custom DLL in a script task. This Custom DLL has code which is not only used by ssis, but various other components in our project. Everytime when the DLL updated for any change in other components(not in the code used by the ssis tasks), the package been failed in the production with the following error.
"Cannot create user component class. Make sure there is one class marked with SSISScriptComponentEntryPointAttribute in your script. at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.CreateUserScriptInstance() End "
Note:whenever the DLL changes, I ensured to register the latest in GAC of the production environment.
If I open the script tasks and rebuild the code, it resolves the issue without changing any setting or one line of code.
Is this the SSIS necessity to rebuild the tasks if DLL changes or am I missing any setting? Please help me on this.
ENV used : SSIS 2008 and .NET 3.5 framework
Note: I tried setting dealy validation to true also, but no help.