Hi there,
Quote:
|
Guess I shouldn't have deleted my PlanetWroxTemp database so quickly.
|
The Temp database was only used to demonstrate some concepts. You don't need it for the PlanetWrox site.
Quote:
|
The strange thing is my PlanetWrox database points to my C:\BegASPNET\Site\App_Data folder
|
That's where you added it when you created the MDF file initially (when you followed the exercises). During development, having the database in Ap_Data can be quite handy as you can copy the entire site from one location to another, without external dependencies like a database.
You can move the database to C:\Databases but then you have to update the attachdbfilename attribute in Web.config to point to C:\Databases or you can attached the database to SQL Server and then update your connection strings to point your local server and database name instead of its location (using Initial Catalog). Appendix B has more info.
Cheers,
Imar