Thread: Chapter 11
View Single Post
  #6 (permalink)  
Old June 2nd, 2008, 04:09 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Judging by the error message, it seems that you didn't create the database inside the App_Data folder, as instructed by the book.

Make sure you add it to App_Data through the Solution Explorer, or drag an existing MDF file from Windows Explorer into the App_Data folder (that you need to create using the Solution Explorer).

How are you dragging the file? It should create a copy when you drag it from the Resources folder into VWD, so you shouldn't get this error message. Or are you maybe dragging the file directly from the ZIP file without extracting the files first as explained at the beginning of the book?

Hope this helps,

Imar



---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote