Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Exception trying to open a sql connection

Posted on 2013-02-05
5
Medium Priority
?
206 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 2000 total points
ID: 38855546
0
 
LVL 21

Expert Comment

by:oleggold
ID: 38855548
0
 
LVL 21

Expert Comment

by:oleggold
ID: 38855553
0
 
LVL 70

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

885 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