Solved

Exception trying to open a sql connection

Posted on 2013-02-05
5
198 Views
Last Modified: 2013-02-05
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?
0
Comment
Question by:BemboX
  • 3
5 Comments
 
LVL 21

Accepted Solution

by:
oleggold earned 500 total points
ID: 38855546
0
 
LVL 21

Expert Comment

by:oleggold
ID: 38855548
0
 
LVL 21

Expert Comment

by:oleggold
ID: 38855553
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 38855622
do you have the details of the exception?
0
 

Author Closing Comment

by:BemboX
ID: 38856201
Solved repalcing machine.config
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now