View Single Post
  #14 (permalink)  
Old December 5th, 2008, 03:45 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

>> I remember attaching PlanetWrox.mdf and PlanetWrox.ldf to the App_Data folder from the C:\BegASPNET\Resources folder.

That seems strange. You don't attach the to the App_Data folder from another folder. Either you drop them in App_Data and they get attached on the fly, or you use SQL Server Management Studio to attach a database. In the later case, App_Data is not used.

My advice:

1. Detach all relevant database attached to SQL Server

2. *Copy* the database files in the App_Data folder of your site.

3. Give full control to everyone on the App_Data folder and see if that works

4. Remove Everyone again and the give access to either Network Service (when using IIS) or to the account you use to run VWD 2008.

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