'System.Data.SqlClient.SqlConnection'的类型初始值设定项引发了异常。 [英] The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception.

查看:99
本文介绍了'System.Data.SqlClient.SqlConnection'的类型初始值设定项引发了异常。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Win 2003 PKLATFORM上运行SQL 2000的虚拟PC上进行测试。
使用联网的SQL 2000服务器在win 2000机器上引发上述错误
这是AD的事情吗?

Test it on a virtual PC running SQL 2000 on a Win 2003 PKLATFORM.
Throws the above error on win 2000 machine with a networked SQL 2000 server
Is this an AD thing???

推荐答案

这可能是由于缺少引用。或者可能是由于应用配置文件中的错误。 您是否可以发布您的代码?
This could be due to missing references. Or it could be due to an error in the app config file. Is it possible for you to post your code?


这篇关于'System.Data.SqlClient.SqlConnection'的类型初始值设定项引发了异常。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆