🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1313

Re: Windows 2003 Server w/ IIS 6

#1313
From: ksdafh
Date: Mon, 21 Mar 2005 21:54
52 lines
3258 bytes
Almost certainly this is caused by incorrect IIS 6 permissions.

Whereas IIS 5 was set up by default to be "wide open" and you locked down 
what you didnt want; IIS6 is the exact opposite. It is locked down by 
default and you open up what you need...

Some of the things you may need to do are (particularly #5):

1) Ensure you have created a default web site like any other, we configure 
web-sites / properties / Directory Security / Edit, and ensure "Enable 
Anonymous Access" is on. Also - make sure that you use a user whom is 
granted anonymous access to the IIS pages (see users config below).

2) Under users find the Internet Guest Account - Right click / properties. 
Under General - the guest account is disabled by default! Enable it.

3) Add your scripts virtual directory using the new virtual directory 
creation wizard (right click / new / virtual directory...) and give that 
directory Execute only permissions. Ensure you add the YOURCGIAPP.exe.

3a) Click on the Default web site, right click permissions - find the 
IIS_WPG Account and the Internet Guest Account. Depending on your other 
settings, one or both of them must be configured correctly to be able to 
access your CGI. Ensure that at least the IIS_WPG (worker process group) has 
read & execute permissions.

4) Now configure/check the scripts directory permissions. Ensure the 
Internet Guest Account has access to this particular directory and that the 
IIS_WPG has access too. If they aren't there - add them.

**5) Click web service extensions. "Allow" - "All Unknown CGI Extensions". 
(you may wish to allow some other stuff here too. ASP etc.)

GL
Z.



"Brian Plotkin" <brian.plotkin@us.fujitsu.com> wrote in message 
news:423b34db$1@newsgroups.borland.com...
>I have a web application that runs perfectly well under IIS 5 on Windows XP 
>Server. It has been moved to IIS 6 under Windows 2003 Server and now I get:
>
> Internal Server Error 500
> Exception: EAccessViolation
> Message: Access violation at address 77F4831D in module 'ntdll.dll'. Write 
> of address 00427F49
>
> I even tried creating a new CGI stand-alone executable that did nothing 
> more than setting Response->Content to 'foo'. This new executable produced 
> the same error. The application in set to not use RTL nor dynamic run-time 
> packages (e.g. everything is linked in the exe). Any ideas how to solve? 
Technical Details
Message-ID: <423f4277$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <423b34db$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,8f286b6fd3089ed2
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "ksdafh" <kdhf@kbdf.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <423b34db$1@newsgroups.borland.com>
Subject: Re: Windows 2003 Server w/ IIS 6
Date: Mon, 21 Mar 2005 13:54:00 -0800
Lines: 54
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
NNTP-Posting-Host: 24.86.199.39
Message-ID: <423f4277$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1111442039 24.86.199.39 (21 Mar 2005 13:53:59 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail