Solved

Unable to find connection 'MyConnectionString' for object 'Web.config'

Posted on 2009-07-13
4
1,169 Views
Last Modified: 2012-05-07
All of a sudden I cannot add/update queries in my xsd dataset.  I get...

Error
Configure TableAdapter qquote failed.
Unable to find connection 'MyConnectionString' for object 'Web.config'. The connection string could not be found in application settings, or the data provider associated with the connection string could not be loaded.

The string is in my web.config.  Can you help?
0
Comment
Question by:RobertNZana
  • 3
4 Comments
 
LVL 59

Accepted Solution

by:
Kevin Cross earned 500 total points
ID: 24841358
Since you indicated all of a sudden, is it safe to say this was recently working?  If so, what installations have recently occurred?  Is it possible that the driver for you SQL platform was accidentally removed or altered?

You can try to answer those questions for yourself and might lead you to the underlying issue.
0
 
LVL 59

Expert Comment

by:Kevin Cross
ID: 24841365
Also please post the connection string (ensuring to obfuscate any private details).
0
 
LVL 9

Author Comment

by:RobertNZana
ID: 24841910
You were right.  For some reason the providerName was wrong.  I recently upgraded it.
0
 
LVL 59

Expert Comment

by:Kevin Cross
ID: 24841922
Glad you found it.

Regards,
Kevin
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

809 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