Macnique
Macnique

Reputation: 1034

AppData folder under the virtual directory?

I created a web application in asp.net with sql server 2008 .I made a web setup project.Deployed into the server(IIS) with the msi i created.So for some reason a folder named "appdata" is getting created where the the application is deployed. I even deleted the folder in my code and built again the msi.But still the folder is getting created.

Earlier i used the aspnet.mdf to create users but i am no longer using it as i am using a sql table.But still i am unable to know where my fault is .. Does it have some thing to do with my web.config file ?

Upvotes: 1

Views: 462

Answers (1)

James Johnson
James Johnson

Reputation: 46047

Check to make sure that the App_Data folder isn't excluded from your project. If it is excluded, delete it from the project entirely and republish.

If that doesn't work:

Under the Publish dialog, make sure that the "Include files from the App_Data folder" checkbox is unchecked.

Upvotes: 1

Related Questions