VB Ch10 ObjectDataSource
I tried following the exercises on p361 & 364 to create a dataset and then bind a gridview to it. I've checked my work, but running Default.aspx only produces an unhandled exception:
"An attempt to attach an auto-named database for file (path removed).\Chapters\Begin\Chapter10\ObjectDataSourc e\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."
What does this mean?
What is an auto-named database?
The same name - there is only one database of this name in the site folders - how could there be more than one?
I don't know what UNC share is, but I'm sure I don't have one!
I opened the End\Chapter10\ObjectDataSource site and tried running Default.aspx there, but the same error occurred.
Can anybody help me?
Richard
Rugeley, UK
WinXP Pro SP2
VBW Express + SQL Server 2005 Express
__________________
Richard
Rugeley, UK
WinXP Pro SP2
VBW Express + SQL Server 2005 Express
|