SSIS : Script component Error : Error at DFT - Loading Data 1 [Script Component [1]]: Microsoft.SqlServer.Dts.Pipeline.CannotCreateUserComponentException: Cannot create user component class. Make sure there is one class marked with SSISScriptComponentEntryPointAttribute in your script.

SSIS Error :

 Error at DFT - Loading Data 1 [Script Component [1]]: Microsoft.SqlServer.Dts.Pipeline.CannotCreateUserComponentException: Cannot create user component class. Make sure there is one class marked with SSISScriptComponentEntryPointAttribute in your script.
   at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.CreateUserScriptInstance()
Error at DFT - Loading Data 1 [Script Component [1]]: Microsoft.SqlServer.Dts.Pipeline.CannotCreateUserComponentException: Cannot create user component class. Make sure there is one class marked with SSISScriptComponentEntryPointAttribute in your script.
   at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.CreateUserScriptInstance()
Error at DFT - Loading Data 1 [Script Component [1]]: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.
Error at DFT - Loading Data 1 [SSIS.Pipeline]: "component "Script Component" (1)" failed validation and returned validation status "VS_ISBROKEN".
Error at DFT - Loading Data 1 [SSIS.Pipeline]: One or more component failed validation.
Error at DFT - Loading Data 1: There were errors during task validation.
 (Microsoft.DataTransformationServices.VsIntegration)

when we will get this Error
when you try to copy the Existing Dataflow task which contains Script component  to create  another flow as similar to the existing flow .

How to Solve This Issue :
Just open the Script component once and click on Edit script button and close it , It will solve that issue automatically . when you open the Edit script it automatically updates the script component entry point.

Comments

  1. Type casting comes with risk of ClassCastException in Java, which is quite common with method which accept Object type and later type cast into more specific type. Notes


    ReplyDelete

Post a Comment

Popular posts from this blog

SSAS : A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. (Microsoft.AnalysisServices.AdomdClient). + Solution

SSIS Error : Unable to infer the XSD from the XML file. The XML contains multiple namespaces