Solved

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

Posted on 2009-07-13
4
1,161 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

773 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