The type initializer for ''System.Data.SqlClient.SqlConnection'' threw an exception.
Throws the above error on win 2000 machine with a networked SQL 2000 server
Is this an AD thing?
hey it may be the problem with app.config settings.
u hv to code like this
<
appSettings><
add key ="ConnectionString" value="Data Source=server name;Initial Catalog=db name;User ID= sa;Password= sa"/></
appSettings>
if u code this wrongly ,typeintializer error w'll throw.
Also if the key name is used different from app.config also exception will throw.
Yes, check your settings to see if you have one that is a connection string that is conflicting with the one you have. I had the same problem and that fixed it.