Re: Access Denied

From: Aaron Margosis [MS] (aaron.margosis.ms_at_online.microsoft.com)
Date: 02/27/04


Date: Fri, 27 Feb 2004 02:11:19 -0500

If "e$" is an administrative share of your E: drive (like c$ is for your C:
drive), then only administrators can access it. Likewise, stuff under
system32 is generally not writable by non-administrative accounts.

HTH

-- Aaron

"mt" <anonymous@discussions.microsoft.com> wrote in message
news:5CFBBD1D-472A-4930-AD16-A1C6FB7C6DBE@microsoft.com...
> Hello,
>
> Here is my setup:
> IIS 6 on a Server 2003 machine
> .NET framework 1.1
>
> I'm trying to copy files from clients to my 2003 server using a
HtmlInputFile control.
>
> The code:
> Try
> 'upload the file from the client to the server folder
>
UploadFileInput.PostedFile.SaveAs("\\servername\e$\folder\file.txt")
> Catch ex As Exception
> 'error handling stuff
> End Try
>
> IIS 6 is configured to NOT ALLOW anonymous access. It is set to use
windows authentication. The web.config file is set to use impersonation.
Authenticated users and the server's ASPNET account have full control over
the folder in which I'm trying to dump the files.
>
> When the attempt is made to shove the file into the target folder, I get
an "Access to the path "\\servername\e$\folder\file.txt" is denied." error.
The mscorlib.dll is the source of the error for whatever that is worth.
>
> I can get a step further into the process if I share the folder Then I get
this error:
> Access to the path "c:\windows\system32\inetsrv\file.txt" is denied
> I really rather use the first method and skip sharing.
>
> Any ideas? I'm sure it is something obvious.
>
> Regards,
> mt
>



Relevant Pages

  • Re: Lack Sufficient Administrator Privileges
    ... Can you open Group Policy editor as in gpedit.msc and if so did you make the ... When you run the command net localgroup administrators ... root/drive folder, the program files folder, the \Windows folder, the ... > trying to install Quicktime, ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Lack Sufficient Administrator Privileges
    ... > Can you open Group Policy editor as in gpedit.msc and if so did you make the ... When you run the command net localgroup administrators ... > root/drive folder, the program files folder, the \Windows folder, the ... >> trying to install Quicktime, ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Program Problems for non-administrators
    ... The user cant burn CDs because the media player absolutely wont function in her account but switch it to an administrator and all is well. ... User accounts will say they have an older version of a program but the administrators account says everything is up to speed. ... Quite simply, the installation routine for this application doesn't "know" how to handle individual user profiles, or the application tries to make changes to "off-limits" sections of the registry or protected Windows system folders. ... you can make this software available to other users by _copying_ the Start Menu folder and Desktop folder shortcuts from the user profile from which the software was installed in the corresponding folders in the user profilein which you'd like the software to be accessible. ...
    (microsoft.public.windowsxp.general)
  • Re: Home Folder Owner
    ... No...The Administrators is listed as Owner. ... ownership of the folder. ... But ownership by WSNTest should happen when the ...
    (microsoft.public.windows.server.active_directory)
  • Re: Why Are Domain users in the admin Group.
    ... The local "Administrators" group on the client ... Local Administrators: Full Control ... The Default User folder inherits these permissions and also has the Hidden ... See if resetting these helps restore profile access to limited users. ...
    (microsoft.public.win2000.active_directory)