Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Package Validation Error (Package Validation Error) - cannot convert between unicode and non-unicode string data types.

$
0
0

Hello,

This application looks straight forward enough but when I try to run a package to test a simple import of 2 columns from a flat file to a table, I get the following error

Package Validation Error (Package Validation Error)

===================================

Error at Data Flow Task [OLE DB Destination [601]]: Columns "EMPLOYEE_BAR_CODE" and "EMPLOYEE_NO" cannot convert between unicode and non-unicode string data types.

Error at Data Flow Task [OLE DB Destination [601]]: Columns "EMPLOYEE_DISPLAY_NAME" and "EMPLOYEE_NAME" cannot convert between unicode and non-unicode string data types.

Error at Data Flow Task [SSIS.Pipeline]: "component "OLE DB Destination" (601)" failed validation and returned validation status "VS_ISBROKEN".

Error at Data Flow Task [SSIS.Pipeline]: One or more component failed validation.

Error at Data Flow Task: There were errors during task validation.

 (Microsoft.DataTransformationServices.VsIntegration)

------------------------------
Program Location:

   at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.ValidateAndRunDebugger(Int32 flags, DataWarehouseProjectManager manager, IOutputWindow outputWindow, DataTransformationsProjectConfigurationOptions options)
   at Microsoft.DataTransformationServices.Project.DtsPackagesFolderProjectFeature.ExecuteTaskOrPackage(ProjectItem prjItem, String taskPath)

here is my table schema for the 2 columns

CREATE TABLE [dbo].[MY_EMPLOYEES](
    [MY_EMPLOYEES_KEY] [int] IDENTITY(1,1) NOT NULL,
    [EMPLOYEE_NO] [nvarchar](50) NULL,
    [EMPLOYEE_NAME] [nvarchar](50) NULL,
    [DATABASE_MAINTENANCE] [bit] NULL,

....

What could be wrong?


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>