RE: IIS6 ASP and com socket security(?) problem

From: WenJun Zhang[MSFT] (v-wzhang_at_online.microsoft.com)
Date: 03/01/04


Date: Mon, 01 Mar 2004 07:18:11 GMT

Hi Ofer,

I wonder if run the same code in a .vbs file with cscript, will it
work? To confirm the issue is just related to IIS security setting,
you can maximize the ASP running permission.

1) Right-click the site's Application pool in IIS mmc and open its
Properties->Identity tab. Change the running account from Network
service(default) to Local System.

2) In the ASP page's virtaul directory->Directory Security
tab->Authentication and access control, disable anonymous access and
select Integrated Windows authentication.

3) Use iisreset in a command line to restart IIS.

After that, logon as administrator to browse this page. Then the
site's process identifier is Local System and the asp thread's
identifier is administrator. See if the error will no longer occur.
If it persists, probably the code isn't compatible to run in IIS6
wpm(worker process mode).

In IIS6 mmc, right-click the 'Web Sites' folder and open properties.
In Service tab, switch IIS6 to run in IIS5 isolation mode to have a
test.

Please update here on any results or you need further assistance.
Have a nice day,

WenJun Zhang
Microsoft Online Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
Get Secure! - www.microsoft.com/security



Relevant Pages

  • Re: Migration Issues from ASP website to IIS6
    ... ASP is definitely supported by IIS6. ... IIS is not sending detailed error messages because that is a security ...
    (microsoft.public.inetserver.iis)
  • Re: Javascript within IIS 6.0
    ... Two new security features in IIS6 may be involved. ... something else unrelated to IIS. ... In other words, if your pages just run Javascript on the client-side, then ... server-side, like ASP, then you will need to first enable ASP in Web Service ...
    (microsoft.public.scripting.jscript)
  • ASP, Wscript.Shell on a Windows 2003 Server Web Edition
    ... We're in the progress of upgrading our intranet environment from IIS 4 NT4 ... Servers to Windows 2003 Server and IIS6, ... migrate the current ASP code to this new environment. ...
    (microsoft.public.inetserver.asp.general)
  • ASP and ASPNET on IIS5 and IIS6
    ... I have got IIS 5.0 server with a lot of services written in ASP. ... Now we'd like to move to new machine with win2003 (IIS6). ... I also know about IIS isolation mode but the problem occured because I have ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: dllhost
    ... It's just about 100% pure ASP with com objects. ... DLLHOST goes to 95-100% utilization and stays there indefinitely unless IIS ... > a simple HTML page serve or do they also hung? ...
    (microsoft.public.inetserver.iis)