Re: Access denied in creating/opening a file on network for output
From: Ariel Popovsky (apopovsky_at_hotspamNOmail.com)
Date: 11/10/04
- Next message: Scott M.: "Re: convert vb.net to asp.net"
- Previous message: Scott M.: "Re: Increase build number in ASP.NET application"
- In reply to: Wanda: "Access denied in creating/opening a file on network for output"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 10 Nov 2004 07:48:39 -0800
Hello Wanda,
You should try granting access to that folder to the ASPNET user.
Greetings!
-----
Ariel Popovsky
> Hello,
>
> I tried to open a new file on network for output: (aspnet)
>
> FileOpen(intFile, "\\MachineName\path\subfolder\filename",
> OpenMode.Output)
>
> However, I received the following error message:
> System.UnauthorizedAccessException: Access to the path
> "\\MachineName\path\subfolder\filename" is denied.
>
> Here are my settings:
> 1. IIS: under directory security, I check off anonymous access, where
> UserName=ISUR_MachineName
> 2. For "\\MachineName\path" security, I add the account
> "MachineName\IUSR_MachineName" to full control.
> What have I done wrong? Or am I missing anything?
>
> PLEASE HELP!!!! Any advice would be greatly appreciated. Wanda
>
- Next message: Scott M.: "Re: convert vb.net to asp.net"
- Previous message: Scott M.: "Re: Increase build number in ASP.NET application"
- In reply to: Wanda: "Access denied in creating/opening a file on network for output"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|