Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Creating a new data source in Visual Studio timing out

$
0
0

When I try to add a new data source in Visual Studio 2010 SP1 or 2012, it times out. All I'm selecting is one tiny table with no relationships. How can this be? I've increased the connection timeout to 1000 seconds and it still times out! But the exact same query in MySQL Workbench runs in 2 seconds.

The error I get is:

"Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding"

What I'm doing is:

1. I go to the Data Sources window in Visual Studio
2. I click on the "Add New Data Source" button
3. I select "Database" and click "Next"
4. I select "Dataset" and I click "Next"
5. I select my connection, who's connection string is:
"server=40.180.40.123;User Id=******;password=******;database=test;Connect Timeout=1000"
    and click "Next"
6. I select one table and click "Finish"

It then takes a couple of minutes and times out.

It is connecting to a MySQL Server 5.5 database using the MySQL .NET Connector 6.6.5. I am running Windows 7 64 bit SP1 with all updates for both windows and Visual Studio 2010 and 2012.
Any ideas?


Fabricio Rodriguez Pretoria, South Africa


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>