Unable to find connection 'dbname' for object 'Web.config'.
Posted on 2009-04-06
Last night I went to bed and my project in Visual Studio 2005 worked just fine. I start VS this morning and I get:
Unable to find connection 'dbConnectionString (Web.config)1' 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.
What I don't understand is, this worked yesterday, and all day yesterday I didn't touch my web.config file. Also, the database, which is an SQL Server is up, and I was able to access it using Enterprise Manager.
Any ideas what caused this? I'm assuming I could create a new dataset and redo my tableadapters, but if this happend once, I'm sure it will happen again.
Any help would be appreciated! (let me know if i need to post additional info)