Permission Denied when writing text file from ASP Site

From: GregRoberts (GregRoberts_at_discussions.microsoft.com)
Date: 04/25/05


Date: Mon, 25 Apr 2005 07:59:02 -0700

We currently have a custom ASP front end application for our SQL 2000
database. The ASP is running on a Windows 2000 Advanced Server with SP-4 and
IIS 5. The ASP files are physically located on the IIS server. The export
files must be written to a file server in the domain.

Configuration:
Domain
|- IIS Server
| |- ASP Web Site (C:\wwwroot)
|
|- File Server
         |- Export Share

The application requires Anonymous Authentication be disabled, and ONLY
Window Intergated Authentication be enabled. The appliaction requires the NT
UserID for internal security and feature sets. Different deparments have
different permissions and modules available.

Permissions on the export share allow Full Control to Authenticate Users.
Everyone does not have permission to the share. (That's an issue to take up
with the network admin. :) )

When the user selects the export function the following error is displayed.

Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied
/{ModuleDir}/{ExportModule}.asp, line 436



Relevant Pages

  • Re: finding folders with "write" permission
    ... If you prefer to copy the NTFS and Share permissions to the new server, ... Copy all the data from the old file server to target file server. ...
    (microsoft.public.windows.server.migration)
  • AW: ASP Dot Net Security Guidelines
    ... Betreff: Re: ASP Dot Net Security Guidelines ... Basically you'll treat an asp.net application server as you would an asp ... > to set the permissions as it brings up access denied errors on the ...
    (Focus-Microsoft)
  • RE: Error
    ... Are you able to browse to asp pages if you set the Application protection ... It sounds like there is some permissions issue on the server. ...
    (microsoft.public.inetserver.iis)
  • Best way to assign NTFS permission in order to migrate to AD on W2K3
    ... the main file server is a W2K member server and ... most of its permissions are assigned to groups like Domain Users. ... If I use a Global Group then I cannot include other GGs (that is ... to move the files to a different file server in the future. ...
    (microsoft.public.windows.server.migration)
  • Re: Problems with IIS6 and ASP and COM+
    ... I was able to get our ASP page to call our COM+ components while ... running in IIS6 isolation mode, but I had to change the Identity of the ... I'm at a loss as to what permissions I need to set. ... > 2) Copied over our web pages from the server we want to retire ...
    (microsoft.public.inetserver.iis.security)