473,386 Members | 1,766 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,386 software developers and data experts.

Help This Is Killing Me: Access to the path is denied

This has worked before but not now for this project. I'm using vb.net and
web services to talk to IIS and read and write to files (image files). I've
gone in to the IIS MC and assigned write access to the folder. The I went
into window explorer/props/security on this folder and assigned every type
of user I could think of and given them read/write access. These users
included me, IUSR, NETWORK, Machine\Users, etc...

What can I do to allow write access to files in this folder?

--
mo*******@nospam.com
Nov 18 '05 #1
3 1278
I found it, but it doesnt seem right. I assigned read/write access to the
user account MACHINE\ASPNET, but I had to assign full control to it and not
just read/write.

--
mo*******@nospam.com
"moondaddy" <mo*******@nospam.com> wrote in message
news:ul**************@TK2MSFTNGP09.phx.gbl...
This has worked before but not now for this project. I'm using vb.net and
web services to talk to IIS and read and write to files (image files). I've gone in to the IIS MC and assigned write access to the folder. The I went
into window explorer/props/security on this folder and assigned every type
of user I could think of and given them read/write access. These users
included me, IUSR, NETWORK, Machine\Users, etc...

What can I do to allow write access to files in this folder?

--
mo*******@nospam.com

Nov 18 '05 #2
Hi Moondaddy,

Yes, by default(if we don't use impersonate,) the asp.net application will
run under the workerprocess acount which can be set in the machine.config's
<processModel> element. By default, the workerprocess account is
Machine\aspnet or NetworkService(in IIS6 on W2K3 Server).
So we need to grant proper permissions for them when encountered some
general secuirty issues. Here is a certain kb article discussing on the
asp.net security overview:

#INFO: ASP.NET Security Overview
http://support.microsoft.com/?id=306590

Hope also helps. Thanks.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #3
Hi Moondaddy,

Have you had a chance to check out the suggestions in my last reply or have
you got any further ideas on this issue? If you have anything unclear or if
there're anything else we can help, please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #4

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

Similar topics

0
by: abcd | last post by:
kutthaense Secretary Djetvedehald H. Rumsfeld legai predicted eventual vicmadhlary in Iraq mariyu Afghmadhlaistmadhla, kaani jetvedehly after "a ljetvedehg, hard slog," mariyu vede legai pressed...
3
by: moondaddy | last post by:
This has worked before but not now for this project. I'm using vb.net and web services to talk to IIS and read and write to files (image files). I've gone in to the IIS MC and assigned write...
1
by: Microsoft News | last post by:
I have a web server sitting on computer 1, (QA1). Out on the network on my main server I have a folder with a zip file in it. All I want is for the web services that are on the web server to pick...
3
by: David Thielen | last post by:
Hi; I created a virtual directory in IIS 6.0 and my asp.net app runs fine. But when it tries to write a file I get: Access to the path is denied. - C:\Inetpub\wwwroot\RunReportASP\images ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

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.