Questions tagged [app-data]
68 questions
0
votes
1 answer
C# App_Data class not inherited by aspx - inherits attribute question
I have been trying to figure this out for a while now and even though there are plenty of Google results for the error message I receive the solution eludes me. I think that I am doing what I am supposed to be doing.
VS2010, I created a common.cs…

Reality Extractor
- 1,257
- 3
- 16
- 25
0
votes
1 answer
I have deleted app_data folder accidentally
I have deleted an app_data folder accidentally from my project in Visual Studio 2015. It was generated automatically and the database files was there in it. Now I want that folder back,so can you help me how to get that back in my project.

Wasim
- 21
- 6
0
votes
3 answers
Entity Framework Does Not Create Database in App_Data
i am working on a web api and i need to have a local db in the App_Data folder, I'm using Entity Framework Code First but it does not create database in the App_Data
Here is my connection string :

Hooman Limouee
- 1,143
- 2
- 21
- 43
0
votes
1 answer
Clear app data programatically doesnt work
I have a button "Logout", and after click them i want to clear all data and cache of app. I found in similar topics in this site methods to delete data:
public void clearApplicationData() {
File cache = getCacheDir();
File appDir = new…

Alex D.
- 1,424
- 15
- 40
0
votes
3 answers
ASP.NET app wont share database with Sql Server Management Studio Express
I have an ASP.NET 3.5 app with a SQL 2005 Express .mdf database file in its App_Data folder. Lets call that Foo.mdf. On its own the ASP.NET app can connect to the database with no problems. So far so good.
Then, if I install Sql Server Management…

codeulike
- 22,514
- 29
- 120
- 167
0
votes
2 answers
Sql Express DB in APP_DATA when using IIS Virtual Directory
I want to setup a website that uses an SQL Express .mdf file located in the APP_DATA folder. when I create the site as a file-system website, it connects to the database file without issue...
however when I create the same site in IIS and I get to…

SelAromDotNet
- 4,715
- 5
- 37
- 59
0
votes
0 answers
Web API return Image path
I have a bunch of users in my database. Each user has a profile image and the profile image is saved in App_Data folder. The location of the image is saved in the database along with other details of the user.
Example:…

LibinJoseph
- 5
- 5
0
votes
1 answer
How can I save the contents of a DataTable to an XML file to be stored within my Web API project's App_Data folder?
I don't want to store an .XML file to a location on the hard drive (that I need to care about); I want it to be stored beneath the project's App_Data folder.
I will need a multitude of these, with names that will be calculated at runtime, such as…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
0
votes
0 answers
After hosting Asp.net website the ASPNETDB.MDF can not generate automatecally
I am working on ASP.net project. I have made my main database using sql server. and I have also used ASPNETDB.MDF database as auto generate database. At localhost the whole project run perfectly and the ASPNETDB.MDF is also generate automatically.…

Nidhi Shah
- 65
- 1
- 7
0
votes
2 answers
Asp.net app_data connect db
I am having sql server express edition local database in app_data folder.
How can i connect SQL Server Management Studio Expres with that db to execute sql scripts ?

d-man
- 57,473
- 85
- 212
- 296
0
votes
0 answers
Deleted .mdf file under App_Data in Visual Studio 2013. Now what?
I'm working on a small tutorial app using ASP.NET and MVC 5. I was finding that the database wasn't updating when I changed my seed data. Also, I put a breakpoint in the initializer class, and never hit it. I figured, well if I delete the database,…

abalter
- 9,663
- 17
- 90
- 145
0
votes
1 answer
Migration of App data to New IOS App
Based on the current IOS app, my company planned to split it into two apps. Very likely, one of them will use the old App ID and the other one use a new APP ID.
We propose the app data to be transferred from the old app to the new apps with the…

Robin Pr
- 11
- 1
0
votes
1 answer
Access to App_Data path where ldf file is denied when checking in with Team Explorer
I can't seem to check in my changes to Team Foundation Server. I get the "Access to path App_Data is denied". So I googled it and found this link on Stackoverflow Access to the path 'c:\inetpub\wwwroot\myapp\App_Data' is denied
But I tried to add…

chuckd
- 13,460
- 29
- 152
- 331
0
votes
1 answer
App_Data Visual 2013 MVC4
I have got a problem with adding App_Data folder in MVC4 project.
I don't know why this option is not available. I have got MS SQL Server 2014 and Visual 2013

AdamLato
- 47
- 2
- 13
0
votes
1 answer
File gets downloaded from app_data folder, but in the corrupted format
My web application stores files (.png, .bmp, .jpg, .jpeg, .jpe, .jfif, .gif, .tif, .tiff, .doc, .docx, .pdf, .xls, .xlsx) in the app_data/upload folder. It gets stored on live server as it is on the local system. But when trying to download, it gets…

Nikhil Bhumkar
- 25
- 8