Solved

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

Posted on 2009-07-13
4
1,118 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
Comment Utility
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
Comment Utility
Also please post the connection string (ensuring to obfuscate any private details).
0
 
LVL 9

Author Comment

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

Expert Comment

by:Kevin Cross
Comment Utility
Glad you found it.

Regards,
Kevin
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now