Posts

Showing posts from December, 2018

Cannot convert "Column" between a unicode and a non-unicode string data types in SSIS

Error: Cannot convert "Column" between a unicode and a non-unicode string data types in SSIS Solution 1: 1. Right click on source task. 2. click on "Show Advanced editor". -- advanced edit option for source task in ssis 3. Go to "Input and Output Properties" tab. 4. select the output column for which you are getting the error. 5. Its data type will be "String[DT_STR]". 6. Change that data type to "Unicode String[DT_WSTR]". --Changing the data type to unicode string 7. save and close. Solution 2: Add Data Conversion transformations to convert string columns from non-Unicode (DT_STR) to Unicode (DT_WSTR) strings. You need to do this for all the string columns

Variable used as a source or destination and is empty SSIS

Error: Variable used as a source or destination and is empty SSIS Solution : Step 1: Click on that variable and press F4, that will take you to properties. Set EvaluteAsExpression=True Step 2: Set the DelayValidation property for the File System Task to True

The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009.

Error Message: [Excel Source [2]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed. Solution 1: 1. Navigate to Project-> project Properties. 2. Navigate to “Debugging” option from left panel and from Right panel, change Run64BitRuntime value to false. Solution 2: 1. Navigate to Project-> project Properties. 2. noticed that the package has "DelayValidation" property set to false in the package. So, we changed the DelayValidation property of package to true and re-ran the package and it succeeded.