Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

application pool running under network credentials

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS: the service did not respond to the start or control reques..  
Author Message
jay.meerdink

External


Since: Jan 17, 2008
Posts: 4



(Msg. 1) Posted: Thu Jan 17, 2008 11:28 am
Post subject: application pool running under network credentials
Archived from groups: microsoft>public>inetserver>iis (more info?)

I created a domain user and added it to the IIS_WPG group on my IIS
6.0 box. IIS is running in worker process isolation mode. I created
an application pool and set the identity to the domain account. I
made a web site that hosts one page - a web service that makes an SQL
proc call. I set the application pool on my site to the newly created
app pool.

When I browse the web service, the page listing methods renders, but I
don't see a new w3wp.exe on the IIS box. Never shows up, no matter
what I do browsing the web service or submitting tests.

It's as if the site isn't running under the network account.

Furthermore, when I use the connection string

Data Source=dataserver;Initial Catalog=database;Integrated
Security=SSPI;

I get the error

Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection.

as if the context of the worker process couldn't be matched with a SQL
login.

What am I doing wrong here?

Thanks for you help!

 >> Stay informed about: application pool running under network credentials 
Back to top
Login to vote
jay.meerdink

External


Since: Jan 17, 2008
Posts: 4



(Msg. 2) Posted: Thu Jan 17, 2008 11:39 am
Post subject: Re: application pool running under network credentials [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jan 17, 2:28 pm, jay.meerd....RemoveThis@gmail.com wrote:
> I created a domain user and added it to the IIS_WPG group on my IIS
> 6.0 box.  IIS is running in worker process isolation mode.  I created
> an application pool and set the identity to the domain account.  I
> made a web site that hosts one page - a web service that makes an SQL
> proc call.  I set the application pool on my site to the newly created
> app pool.
>
> When I browse the web service, the page listing methods renders, but I
> don't see a new w3wp.exe on the IIS box.  Never shows up, no matter
> what I do browsing the web service or submitting tests.
>
> It's as if the site isn't running under the network account.
>
> Furthermore, when I use the connection string
>
> Data Source=dataserver;Initial Catalog=database;Integrated
> Security=SSPI;
>
> I get the error
>
> Login failed for user '(null)'. Reason: Not associated with a trusted
> SQL Server connection.
>
> as if the context of the worker process couldn't be matched with a SQL
> login.
>
> What am I doing wrong here?
>
> Thanks for you help!

I also used the policy editor to set for the domain account:

- Replace a Process Level Token (SeAssignPrimaryTokenPrivilege)
- Adjust Memory Quotas for a process (SeIncreaseQuotaPrivilege)
- Generate Security Audits (SeAuditPrivilege)
- Bypass Traverse Checking (SeChangeNotifyPrivilege)
- Access this computer from a network (SeNetworkLogonRight)
- Logon as a Batch Job (SeBatchLogonRight)
- Logon as a Service (SeInteractiveLogonRight)
- Allow Logon Locally (SeInteractiveLogonRight)

 >> Stay informed about: application pool running under network credentials 
Back to top
Login to vote
jay.meerdink

External


Since: Jan 17, 2008
Posts: 4



(Msg. 3) Posted: Thu Jan 17, 2008 11:48 am
Post subject: Re: application pool running under network credentials [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jan 17, 2:28 pm, jay.meerd....DeleteThis@gmail.com wrote:
> I created a domain user and added it to the IIS_WPG group on my IIS
> 6.0 box.  IIS is running in worker process isolation mode.  I created
> an application pool and set the identity to the domain account.  I
> made a web site that hosts one page - a web service that makes an SQL
> proc call.  I set the application pool on my site to the newly created
> app pool.
>
> When I browse the web service, the page listing methods renders, but I
> don't see a new w3wp.exe on the IIS box.  Never shows up, no matter
> what I do browsing the web service or submitting tests.
>
> It's as if the site isn't running under the network account.
>
> Furthermore, when I use the connection string
>
> Data Source=dataserver;Initial Catalog=database;Integrated
> Security=SSPI;
>
> I get the error
>
> Login failed for user '(null)'. Reason: Not associated with a trusted
> SQL Server connection.
>
> as if the context of the worker process couldn't be matched with a SQL
> login.
>
> What am I doing wrong here?
>
> Thanks for you help!

I've also put the domain account in local administrators on the IIS
box, in Domain Users, Domain Users & Domain Admins, and Domain Admins
alone.
 >> Stay informed about: application pool running under network credentials 
Back to top
Login to vote
jay.meerdink

External


Since: Jan 17, 2008
Posts: 4



(Msg. 4) Posted: Thu Jan 17, 2008 12:26 pm
Post subject: Re: application pool running under network credentials [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jan 17, 2:48 pm, jay.meerd....TakeThisOut@gmail.com wrote:
> On Jan 17, 2:28 pm, jay.meerd....TakeThisOut@gmail.com wrote:
>
>
>
>
>
> > I created a domain user and added it to the IIS_WPG group on my IIS
> > 6.0 box.  IIS is running in worker process isolation mode.  I created
> > an application pool and set the identity to the domain account.  I
> > made a web site that hosts one page - a web service that makes an SQL
> > proc call.  I set the application pool on my site to the newly created
> > app pool.
>
> > When I browse the web service, the page listing methods renders, but I
> > don't see a new w3wp.exe on the IIS box.  Never shows up, no matter
> > what I do browsing the web service or submitting tests.
>
> > It's as if the site isn't running under the network account.
>
> > Furthermore, when I use the connection string
>
> > Data Source=dataserver;Initial Catalog=database;Integrated
> > Security=SSPI;
>
> > I get the error
>
> > Login failed for user '(null)'. Reason: Not associated with a trusted
> > SQL Server connection.
>
> > as if the context of the worker process couldn't be matched with a SQL
> > login.
>
> > What am I doing wrong here?
>
> > Thanks for you help!
>
> I've also put the domain account in local administrators on the IIS
> box, in Domain Users, Domain Users & Domain Admins, and Domain Admins
> alone.- Hide quoted text -
>
> - Show quoted text -

Stand down - I missed some of the policies. It's working fine now.
 >> Stay informed about: application pool running under network credentials 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]