Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 16th, 2008, 05:40 AM
Authorized User
 
Join Date: Sep 2007
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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





Similar Threads
Thread Thread Starter Forum Replies Last Post
VB Ch10 Exercises p383 Rich57 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 May 31st, 2008 08:02 AM
ch10 action.saveErrors() AlienLoi BOOK: Professional Jakarta Struts 0 May 11th, 2007 04:37 AM
vb.net 2nd ed ch10 Adv Obj Orien Tech frresh BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 3 April 2nd, 2005 06:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.