开发者

DbType VarNumeric mapping error

开发者_开发问答

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜