Re: SOLVED: How do I give ASP.NET process network credentials?

From: Ed leNoir (edleno@safeco.com)
Date: 10/31/02


From: "Ed leNoir" <edleno@safeco.com>
Date: Thu, 31 Oct 2002 13:08:43 -0800


There are so many security settings between IIS and aspnet that it seems
like magic once you get it to work. Also, you have to know whether to
restart iis or the asp worker process for a change to be effective. The
worker process recycling does pretty good in detecting configuration
changes, but IIS isn't always so great. If you do serviced components you
have to know when to stop and stop them too!

- Ed

"Joseph Geretz" <jgeretz@nospam.com> wrote in message
news:O426AhKgCHA.1432@tkmsftngp10...
> Hi Ed,
>
> You're right! It works. I thought I had tried this before but perhaps not.
> In any case, It's working now as advertised. Beautiful! I've included my
> config settings below.
>
> - Joe Geretz -
>
> Machine.config:
> ---------------
> <processModel enable="true"
> timeout="Infinite"
> idleTimeout="Infinite"
> shutdownTimeout="0:00:05"
> requestLimit="Infinite"
> requestQueueLimit="5000"
> restartQueueLimit="10"
> memoryLimit="60"
> webGarden="false"
> cpuMask="0xffffffff"
> userName="SYSTEM"
> password="AutoGenerate"
> logLevel="Errors"
> clientConnectedCheck="0:00:05"
> comAuthenticationLevel="Connect"
> comImpersonationLevel="Impersonate"
> responseRestartDeadlockInterval="00:09:00"
> responseDeadlockInterval="00:03:00"
> maxWorkerThreads="25"
> maxIoThreads="25"
> />
>
>
> Web.config:
> -----------
> <identity impersonate="true" userName="DOMAIN\User" password="foobar"/>
>
>



Relevant Pages

  • Re: No access to WSS site, error received
    ... Check the "auto logon" security settings with IE. ... > Open IIS Help, which is accessible in IIS Manager, and search ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Having trouble with step 1
    ... if i disable authenication in IIS then i can no longer debug in IIS.. ... wASP wrote: ... >>The directory does not exist or is not accessible because of security settings. ... >>An unhandled exception was generated during the execution of the current web request. ...
    (microsoft.public.dotnet.languages.csharp)
  • Anonymous access to sharepoint
    ... >maintain mixed authentication when I enable anonymous ... >IIS and I do for the default web site. ... >that don't carry the same parent security settings are ... >software work as expected as long as you don't restart ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Anonymous access to sharepoint
    ... VS server and use Anonymous credtials there. ... via the second VS server to allow Anonymous access. ... > IIS and I do for the default web site. ... > that don't carry the same parent security settings are ...
    (microsoft.public.sharepoint.portalserver)
  • Re: ISS 6.0 and tilde
    ... Unfortunately I can't test this just now as I have to run the server in IIS ... sessions persist in a classic ASP application without relying on session ... > What you are probably seeing, though, is that the worker process itself ... > not have access to check the file system for that file. ...
    (microsoft.public.inetserver.iis)