Subject: ObjectDataSource control
Posted By: ewhizz Post Date: 6/18/2006 11:47:11 AM
When trying to connect to an existing database in the example in the book "Beginning ASP.NET 2.0" I keep getting the following error:

An attempt to attach an auto-named database for file C:\Chapter10\ObjectDataSource\App_Data\WroxUnited.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

Can anyone please shed some light on this for me.

The example in the book says to select ConnectionString(Web.Config)
but the only one I can find is WroxUnited(Web.config), but I didn't think this would make any difference

Reply By: tavogardo Reply Date: 8/15/2006 12:09:08 PM
I see that no one has responded to your post. I am also having the same issue and have not been able to solve it. If you figured it out, please post it in this forum.

Thanks!

Go to topic 48345

Return to index page 203
Return to index page 202
Return to index page 201
Return to index page 200
Return to index page 199
Return to index page 198
Return to index page 197
Return to index page 196
Return to index page 195
Return to index page 194