"Patrick" <patl@reply.newsgroup.msn.com> wrote in message
news:OB1a6NRKEHA.3316@tk2msftngp13.phx.gbl...
> Note seeting processModel userName="SYSTEM" does not help either even
after
> an IISRESET !
>
> "Patrick" <patl@reply.newsgroup.msn.com> wrote in message
> news:%23FqPHLRKEHA.3704@TK2MSFTNGP11.phx.gbl...
> > Unfortunately,
> > 1) My ASP.NET seems to have stopped working completely! Now, even
having
> > reverted my machine.config to
> > <identity impersonate="false" userName="" password=""/>
> >
> > <processModel
> > enable="true"
> > timeout="Infinite"
> > idleTimeout="Infinite"
> > shutdownTimeout="0:00:05"
> > requestLimit="Infinite"
> > requestQueueLimit="5000"
> > restartQueueLimit="10"
> > memoryLimit="60"
> > webGarden="false"
> > cpuMask="0xffffffff"
> > userName="machine"
> > password="AutoGenerate"
> > logLevel="Errors"
> > clientConnectedCheck="0:00:05"
> > comAuthenticationLevel="Connect"
> > comImpersonationLevel="Impersonate"
> > responseDeadlockInterval="00:03:00"
> > maxWorkerThreads="20"
> > maxIoThreads="20"
> > />
> >
> > My IIS won't even render a test.aspx which contains:
> > <%@ Page language="C#" AutoEventWireup="false" %>
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
> > <HTML>
> > <HEAD>
> > <meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
> > <meta name="CODE_LANGUAGE" Content="C#">
> > <meta name="vs_defaultClientScript" content="JavaScript">
> > <meta name="vs_targetSchema"
> > content="
http://schemas.microsoft.com/intellisense/ie5"> > > <META http-equiv="Expires" content="0">
> > <META http-equiv="Pragma" content="no-cache">
> > <META http-equiv="Cache-Control" content="no-cache">
> > </HEAD>
> >
> > <body>
> > OK?
> > </body>
> > </HTML>
> >
> > I get the same error "Server Application Unavailable" error, and that is
> > after I have done IISRESET.
> >
> > Before this, I have tried running processModel as a DomainUser that is a
> > member of the local "Administrators" and "Debugger Users" group with
> rights
> > to logon as a batch job, etc.
> >
> > SOS!
> >
> > "Steven Cheng[MSFT]" <v-schang@online.microsoft.com> wrote in message
> > news:jioQHPOKEHA.1460@cpmsftngxa10.phx.gbl...
> > > Hi Patrick,
> > >
> > > From your description, you're trying to access a sqlserver database on
a
> > > remote serverfrom your asp.net webserver. and since you 're using
> > > integrated windows Authentication mode to connect the sqlserver db,
> you'd
> > > like the ASP.NET web app to act as a certain domain account( which has
> the
> > > right permission for conecting the sqlserver db). Also, you've tried
> > change
> > > the account in the <processModel> element for the asp.net but found
that
> > > even cause the web app unable to startup running, yes?
> > >
> > > As for this problem, here are my suggestions:
> > > 1. The <processModel> 's account setting is used for the asp.net's
> > > workerprocess's execute account. It need many asp.net specified
> > permissions
> > > which make sure that the asp.net web applciation can run properly. So
if
> > > you replace it with a domain account, it 'll cause some unexpected
> > > permission issues which lead to the application uable to startup.
> > >
> > > 2. As for your situaion, I think the impersonate feature of asp.net is
> > what
> > > you want. The impersonation of asp.net
> > > can help use a customized account for asp.net when accessing some
> > > serverside resources. It can use
> > > 1) the user account from the client(passed by iis)
> > > 2) specified a fix accoun in the <identity ..> element for asp.net to
> use
> > > when accessing serverside resources.
> > >
> > > Below are some references on ASP.NET impersonation;
> > >
> > > #ASP.NET Impersonation
> > >
> >
>
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconaspnetimpersonatio > > > n.asp?frame=true
> > >
> > > #Using IIS Authentication With ASP.NET Impersonation
> > >
> >
>
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconusingiisauthentica > > > tionwithaspnetimpersonation.asp?frame=true
> > >
> > > #INFO: Implementing Impersonation in an ASP.NET Application
> > >
http://support.microsoft.com/?id=306158 > > >
> > > Hope helps. Thanks.
> > >
> > > Regards,
> > >
> > > Steven Cheng
> > > Microsoft Online Support
> > >
> > > Get Secure!
www.microsoft.com/security > > > (This posting is provided "AS IS", with no warranties, and confers no
> > > rights.)
> > >
> > > Get Preview at ASP.NET whidbey
> > >
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
> > >
> > >
> > >
> >
> >
>
>