Exception trying to open a sql connection

I have a vb.net application (vs2010) running in several computers, about 70. Two of them are reporting this error when I try to open the connection:
"The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception.
These computers are running windows 7 professional. I reinstalled the framework 4 but the problem persists.
Any idea?
BemboXAsked:
Who is Participating?
 
Éric MoreauSenior .Net ConsultantCommented:
do you have the details of the exception?
0
 
BemboXAuthor Commented:
Solved repalcing machine.config
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.