SyncSvcUtil: Unknown DataSize-Attribute RRS feed

  • Question

  • I have created a scopeconfig based on the schema given in the docs. But when i use the DataSize attribute in <SyncColumn> elements the SyncSvcUtil fails with an error.

        <SyncColumn Name="DeviceNo" GlobalName="DeviceNo" IsNullable="false" SqlType="varchar" DataSize="20" />

    System.Configuration.ConfigurationErrorsException: Unbekanntes DataSize-Attribut. Beachten Sie bei Attributnamen die Groß-/Kleinschreibung.
    • Edited by M.Bi Thursday, July 1, 2010 2:05 PM formatting fix
    Thursday, July 1, 2010 2:04 PM


  • Dont specify the DataSize attribute. The runtime will pick the size from the database itself. Its a limitation in the current implementation.
    Maheshwar Jayaraman - http://blogs.msdn.com/mahjayar
    • Marked as answer by M.Bi Monday, July 5, 2010 2:32 PM
    Thursday, July 1, 2010 4:41 PM