Skip to main content
saahilm0002
July 14, 2022
Solved

Found: ntext, expected: NVARCHAR(255) (APNX-2-4056-000)

  • July 14, 2022
  • 5 replies
  • 0 views

I am getting the below issue while updating my CDT.

The data source schema does not match the type mappings: Wrong column type in GDMPMDEV.dbo.VT_VW_PRCF_MODULE_PARAMETERS for column Description. Found: ntext, expected: NVARCHAR(255) (APNX-2-4056-000)

    Best answer by stefanhelzle0001

    I think it should match the type in the DB. Why not try to make it "ntext"?

    5 replies

    stefanhelzle0001
    Brainy
    July 14, 2022

    Then you will need to change the field type in the database or in the XSD file.

    saahilm0002
    July 14, 2022

    what can we give for ntext in data type in xsd, nvarchar(max) will work?

    stefanhelzle0001
    Brainy
    July 14, 2022

    I think it should match the type in the DB. Why not try to make it "ntext"?