DataReader.GetFieldType returned null

后端 未结 6 1748
北荒
北荒 2021-01-01 17:46

In my db table Layout, there\'s one column whose type is hierarchyid (column index=4). When trying to set-up new environment (a virtual web-server, created from

6条回答
  •  南笙
    南笙 (楼主)
    2021-01-01 18:01

    After other solution if you still have error try to delete in web.config

    
    

    copy file Microsoft.SqlServer.Types.dll to bin folder (or/and add reference)

    or/and add "Type System Version=SQL Server 2012;" in sqlconnectionstring

提交回复
热议问题