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