RE: Access to the path is denied - trying to write a file



Hi;

I brought up My Computer, went to the images subdirectory, brought up
sharing & security, selected the Security tab and gave full control to
IIS_WPG(JASMINE\IISWPG).

Now instead of the error my web pages comes up but it then brings up the
dialog asking me to enter a username & password. When I click cancel it then
shows me the image as the little box with the red x in it.

So I think that for some reason it won't let me at that directory. The
images directory is a sub directory of the asp, but is not a subdirectory of
any of my websites. Do I need to create a website that maps ton my asp app?

If you want to see, go to
http://www.windwardreports.com/RunReportASP/ReportForm.aspx and select html
as the format.

--
thanks - dave


"Steven Cheng[MSFT]" wrote:

> Hi Dave,
>
> Welcome to ASPNET newsgroup.
> Regarding on the "Access to the path denied..." error, it is a normal
> exception when there is unsufficient permission of the current ASP.NET
> process identity... What's your ASP.NET application's current IIS process
> identity setting and the web.config security setting?
>
> If you're using teh default process identity(Network Service) and dosn't
> using Impersonate in web.config, then the network service account dosn't
> have write/modify permissions to the IIS's default site's directory(or sub
> dirs) by default... And this permission is the NTFS file permission (not
> the IIS's virtual directory permission...). So you can using file explore
> to grant NTFS write/modify permission to the ASPNET process identity
> (network service) or the IIS_WPG group and test again....
>
> Hope helps. Thanks,
>
> Steven Cheng
> Microsoft Online Support
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
>
> --------------------
> | Thread-Topic: Access to the path is denied - trying to write a file
> | thread-index: AcYBtprsF9LS7iE6QPyNBpbaVvNjDQ==
> | X-WBNR-Posting-Host: 199.45.247.98
> | From: "=?Utf-8?B?RGF2aWQgVGhpZWxlbg==?=" <thielen@xxxxxxxxxxxxx>
> | Subject: Access to the path is denied - trying to write a file
> | Date: Thu, 15 Dec 2005 12:32:02 -0800
> | Lines: 13
> | Message-ID: <E8613100-C5F0-4876-AE4C-22F5F1AEC93C@xxxxxxxxxxxxx>
> | MIME-Version: 1.0
> | Content-Type: text/plain;
> | charset="Utf-8"
> | Content-Transfer-Encoding: 7bit
> | X-Newsreader: Microsoft CDO for Windows 2000
> | Content-Class: urn:content-classes:message
> | Importance: normal
> | Priority: normal
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | Newsgroups: microsoft.public.dotnet.framework.aspnet
> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
> | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA03.phx.gbl
> | Xref: TK2MSFTNGXA02.phx.gbl
> microsoft.public.dotnet.framework.aspnet:365185
> | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> |
> | 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
> |
> | C:\Inetpub\wwwroot\RunReportASP is the directory of my virtual directory
> for
> | my app. In it's properties I did check "Write" as a permission.
> |
> | What else do I need to do?
> |
> | --
> | thanks - dave
> |
>
>
.



Relevant Pages

  • Re: [Fwd: Re: How secure is Preupgrade? Answer: Not.]
    ... But it's not being marketed as an alternative to an Anaconda HTTP install with less downtime as the only improvement. ... It's being marketed as a safer alternative to a live upgrade with Yum, and as a faster, more convenient and less bandwidth-wasting alternative to downloading and burning DVD images. ... The article talks a lot about how Preupgrade is better than both a Yum upgrade and a DVD-based upgrade, but says very little about network-based Anaconda upgrades, and it's completely silent about the security aspect. ...
    (Fedora)
  • Re: browser is blocking ActiveX controls in MS Press eBook
    ... > contains ActiveX controls. ... > images, a browser window should pop up with a full size image. ... > - set the security of the Local Intranet zone in my browser to Low ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Restricting Access to TCP/IP and DECnet
    ... but not to go from that machine to anywhere else on the network. ... particular images is a good idea, but since these are essentially non- ... executables on their own power. ... security measures are intended to prevent. ...
    (comp.os.vms)
  • Re: HELP HELP!!! OE IMAGES DONT OPEN.
    ... Click Tools> Options> Security ... There are optional Updates which effects Outlook ... 'attachments' instead of images. ... installs it step-by-step. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: privacy protection for download pictures
    ... There is no way to enable images on all mail, ... A new security feature in Entourage 2004 blocks the display of pictures (and ... automatically download pictures from recipients who are in your address ... If you really want to download all ...
    (microsoft.public.mac.office.entourage)

Loading