473,326 Members | 2,012 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Access to App_Data Folder

I want to write files to the directory /App_Data/XML/ on my web hosting
server but get access denied.

What user am I supposed to give access rights to ? My Membership stuff
is all done via a custom Membership provider which all works OK.

Am I supposed to put something in webconfig ?


Dec 22 '07 #1
3 6582
Hello Ian,

Check that ASPNET/Network service account has rights to write to this folder

btw, why do u want to write to this folder?

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
ISI want to write files to the directory /App_Data/XML/ on myweb
IShosting server but get access denied.
IS>
ISWhat user am I supposed to give access rights to ? MyMembership
ISstuff is all done via a custom Membership provider which all
ISworksOK.
IS>
ISAm I supposed to put something in webconfig ?
IS>
Dec 23 '07 #2
Well, I'm not too sure what the ASPNET/Network service account is. I
have a web host controlled by Plesk. I can log on to this and setup
things ok. I can use ftp to write to the folder ok and I can read from
it in my code.

I just can't write to it (or to any folder for that matter). I want to
save my MySql database as xml. It works ok on the local server.

As you might gather, all I know is how little I know.
-----Original Message-----
From: Michael Nemtsev [MVP] [mailto:ne*****@msn.com]

Hello Ian,

Check that ASPNET/Network service account has rights to write to this
folder

btw, why do u want to write to this folder?

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high
and
we
miss it, but that it is too low and we reach it" (c) Michelangelo
ISI want to write files to the directory /App_Data/XML/ on myweb
IShosting server but get access denied.
IS>
ISWhat user am I supposed to give access rights to ? MyMembership
ISstuff is all done via a custom Membership provider which all
ISworksOK.
IS>
ISAm I supposed to put something in webconfig ?
IS>

Dec 23 '07 #3
"Ian Semmel" <an****@rocketcomp.com.auwrote in message
news:43249A5665BA4DAC84955347E8FF1DA8@DIMITY...
Well, I'm not too sure what the ASPNET/Network service account is. I
have a web host controlled by Plesk. I can log on to this and setup
things ok. I can use ftp to write to the folder ok and I can read from
it in my code.
In which case, you need to contact your ISP and ask them to set up your
site's file permissions correctly... Your site needs write permissions on
the App_Data folder if it needs to update any of the data files in it...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Dec 23 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: dennist685 | last post by:
Walkthrough: Creating a Web Page to Display Access Database Data I've started the above walkthrough. However, near the beginning it gives the following instructions To set permissions in the...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
4
by: Martin Emanuelsson | last post by:
Hello, I'm having problem with an ASP.NET 2.0 application that I'm trying to deploy to one of our stage servers. The first thing that happened was that when I deployed the site it just stood...
0
by: PinkBishop | last post by:
Question regarding the ASP.NET 2.O Membership / Role component The following works fine on local machine and networked dev box. ASP.NET Membership protecting files and folders. I am trying...
4
by: Joey | last post by:
asp.net 2/C#/VS2005 I have a web app where I use a stream writer to create a CSV (text) file. I then use my code to save the file in the site's 'App_Data' folder, in a subfolder called 'Temp'....
24
by: dancer | last post by:
Using ASP.net 1.1 and Microsoft Access. I received the following error message. Why? I have closed the Access file. I have another very small access file that opens with no trouble with the...
3
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
Is it always necessary to upload to the host, the App_Data folder if my db does not reside in that folder? -- L. A. Jones
1
by: =?Utf-8?B?U3VzaGlTZWFu?= | last post by:
I have problems with sharing files from this directory. It is system directory so I can't make dirrect links on files inside. For example /App_Data/my.mp3 www.example.com/App_Data/my.mp3 -...
0
by: Munna | last post by:
Hi Since you using 3.5 and vs2008 you can add wcf service directly in your web application... Well you can always write code to access the App_data folder if have your own control hosting...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.