Results 1 to 4 of 4

Thread: Showing Error While Mapping NVARCHAR Column

  1. #1
    Debasis.Sharma is offline Junior Member
    Join Date
    Jul 2010
    Location
    India
    Posts
    2
    Rep Power
    0

    Default Showing Error While Mapping NVARCHAR Column

    Showing Error While Mapping NVARCHAR Column.

  2. #2
    Gadi.Farhat is offline Development Team Leader
    Join Date
    Mar 2009
    Posts
    162
    Rep Power
    4

    Default

    What is the error? What are you doing exactly?
    To Find Out more About Attunity Technology:
    Attunity
    or:
    Contact Us

  3. #3
    Debasis.Sharma is offline Junior Member
    Join Date
    Jul 2010
    Location
    India
    Posts
    2
    Rep Power
    0

    Default RE Showing Error While Mapping NVARCHAR Column

    Created a TEST table on Source DB with following
    [T1] [int] NOTNULL,
    [T2] [nchar](10)NULL,
    [T3] [nvarchar](50)NULL,
    [T4] [nvarchar](max)NULL,
    [T5] [decimal](18, 10)NULL,
    [T6] [varchar](max)NULL,
    [T7] [varbinary](max)NULL,

    T1 Primary Key

    Created Same TEST table on Destination DB

    Try Attunity CDC it's not working

    TITLE: Package Validation Error
    ------------------------------

    Package Validation Error
    ------------------------------
    ADDITIONAL INFORMATION:

    Error at Full Load Data Flow [TEST Full Load Destination [34]]: Column "T2" cannot convert between unicode and non-unicode string data types.
    Error at Full Load Data Flow [TEST Full Load Destination [34]]: Column "T3" cannot convert between unicode and non-unicode string data types.
    Error at Full Load Data Flow [SSIS.Pipeline]: "component "TEST Full Load Destination" (34)" failed validation and returned validation status "VS_ISBROKEN".
    Error at Full Load Data Flow [SSIS.Pipeline]: One or more component failed validation.
    Error at Full Load Data Flow: There were errors during task validation.
    (Microsoft.DataTransformationServices.VsIntegratio n)
    ------------------------------
    BUTTONS:

    OK
    ------------------------------


  4. #4
    Gadi.Farhat is offline Development Team Leader
    Join Date
    Mar 2009
    Posts
    162
    Rep Power
    4

    Default

    Hi,

    The error you are getting is because the Full Load Source component exposes Unicode columns (nvarchar) as string (DT_STR) and the Full Load Destination component which uses the SQL Server Native OLEDB provider exposes unicode columns as Unicode (DT_WSTR).


    Use one of the following options to solve this problem:

    1. Add a Covert transformation between the Full Load Source and the Full Load Destination components to convert the columns from DT_STR to DT_WSTR.

    2. Add a new OLEDB Connection Manager to the package that uses the SQL Server Native OLEDB provider to connect to the source database and, replce the Connection Manager used by the Source component with the new created Connection Manager.


    Regards,

    Gadi
    To Find Out more About Attunity Technology:
    Attunity
    or:
    Contact Us

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243