Welcome to AspAdvice Sign in | Join | Help

January 2010 - Posts

Attaching an mdf file to the app_data folder

If you wish to attach an mdf file in your application's app_data folder at run-time using SQLExpress, you may encounter a permission problem: System.Data.SqlClient.SqlException: Directory lookup for the file "C:\Documents and Settings\*\My Documents\WebSites\*\App_Data\*.mdf
Posted by brettemiller | 0 Comments