User2136700745 posted
When I was building my ASP.NET 4.0 application with VS2012, I don't believe there was ever a necessity to have the App_Data folder present. It definitely wasn't included when I published the site.
Now that I've upgraded to VS2013, I'm getting an "Access denied creating App_Data subdirectory" error.
So I looked around and
found this. I realize it's for MVC but Step #7 seemed relevant:
In the Settings tab, expand File Publish Options, and then select Exclude files from the App_Data folder.
Unfortunately, even when this is checked, I'm still getting the same error.
What I think it comes down to is this: I am indeed using SQL Server Express but is "ASPNETDB.MDF" (inside App_Data) absolutely necessary?
Any ideas to avoid having to have an App_Data folder would be much appreciated!
Robert