0

I can't select or enter a database name in Microsoft Visual Studio 2012:

  1. In the Server Explorer tab, I add a connection
  2. Select Microsoft SQL Server as a data source
  3. I'm able to detect my server name (SQL Server 2008) and the connection test is working (I tested in SQL Server Management Studio, and I can access the database)
  4. I can't select any database in the dropbox. Even if I write up the name, it's not working.

Any ideas?

2
  • If you type the name, what does "not working" mean? Commented Jul 29, 2013 at 19:06
  • Unable to find the requested .net framework data provider. it may not be installed. Commented Jul 29, 2013 at 19:08

1 Answer 1

1

In the folder C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config (should see for other versions as well), open the file machine.config and then see if the tag was duplicated. If it's duplicated then, delete the duplicated tag in all machine.config of all .net versions.

Sign up to request clarification or add additional context in comments.

2 Comments

Which "tag" do you mean?
If I recall, it was the DbProviderFactories tag

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.