开发者

DbType VarNumeric mapping error

开发者 https://www.devze.com 2023-01-19 17:23 出处:网络
开发者_开发问答I\'m working on a project in .NET 4.0 against an SQL Server 2008 Database. The system uses some legacy code, originally written in .NET 2.0 (converted to 4.0).
开发者_开发问答

I'm working on a project in .NET 4.0 against an SQL Server 2008 Database. The system uses some legacy code, originally written in .NET 2.0 (converted to 4.0).

Running locally everything works fine, but when I moved the code to the test environment I get the following confusing error from the legacy code:

Exception class: System.ArgumentException No mapping exists from DbType VarNumeric to a known SqlDbType.

I am using the same databse and same user credentails in development and test.

Any pointers?

0

精彩评论

暂无评论...
验证码 换一张
取 消