Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Performance counters

Reply
Thread Tools

Performance counters

 
 
Dmitry Duginov
Guest
Posts: n/a
 
      12-01-2004
I'm running some ASP.NET applications on Windows 2003 server and I cannot
get ANY performance counters values in ASP.NET, ASP.NET Applications
categories. Every sample is 0, application instances are not shown.

w3wp process is running under NETWORK SERVICE account and it has the
following permissions in

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\ASP.NET_1.1.4322\Names.

Query Value
Set Value
Create Subkey
Enumerate Subkeys
Notify
Read Control

BTW, NETWORK SERVICE is not a member of IIS_WPG and I see no way to add it
there.

Please advise.

Dmitry.


 
Reply With Quote
 
 
 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      12-03-2004
Hi Dmitry,

Thanks for your posting. From your description. You can't found your
asp.net application's instances in the server performance counter's certain
Categories and also the NT AUTHORITY \NETWORKSERVICE account is not in the
IIS_WPG group, yes?

Is the win2003 server you mentioned a DC Controller? There is a known
behavior that When a server is promoted to DC box, there will occur some
problems on running asp.net/asp applications (IIS host services). And one
problem is the NETWORKSERVICE BE removed from the IIS_WPG group. If this is
the problem, I think you can try switch the ASP.NET to run under the SYSTEM
identity first and also check the performance counter to see whether it
works( you can also create some other simple asp.net applications to verify
this).

Please have a check and if there is any further findings, please feel free
to post here.
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.)

 
Reply With Quote
 
 
 
 
Dmitry Duginov
Guest
Posts: n/a
 
      12-03-2004

"Steven Cheng[MSFT]" <v-> wrote in message
news...
> Hi Dmitry,
>
> Thanks for your posting. From your description. You can't found your
> asp.net application's instances in the server performance counter's

certain
> Categories and also the NT AUTHORITY \NETWORKSERVICE account is not in the
> IIS_WPG group, yes?
>
> Is the win2003 server you mentioned a DC Controller? There is a known
> behavior that When a server is promoted to DC box, there will occur some
> problems on running asp.net/asp applications (IIS host services). And one
> problem is the NETWORKSERVICE BE removed from the IIS_WPG group. If this

is
> the problem, I think you can try switch the ASP.NET to run under the

SYSTEM
> identity first and also check the performance counter to see whether it
> works( you can also create some other simple asp.net applications to

verify
> this).


Yes, Steven you described the problem correctly. It IS a domain controller.
But I don't feel like running ASP.NET under SYSTEM account because of
security concerns.

What other options could you suggest as a workaround? If I create the
account equivalent to NETWORK SERVICE (like ASPNET in Windows 2000 server)
and run ASP.NET under this account, what potential problems I can bump into?
Is there anything special in NETWORK SERVICE regarding ASP.NET behavior?

Regards,

Dmitry.


 
Reply With Quote
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      12-06-2004
Thanks for your response Dmitry,

If you don't want to use SYSTEM, and since its a DC box, maybe you need to
provide a domain account to run the asp.net application(set it as teh
process identity in the IIS6's application pool setting). Generally, adding
the account into IIS_WPG group should be sufficient, you can try that and
testing your web app to verify this. If there occurs any problems on
permission, you can have a look at the following kb article which has a
complete description on the default aspnet process identify's access rights:

#Process and request identity in ASP.NET
http://support.microsoft.com/default...b;en-us;317012

BTW, if possible, I still recommend that you consider moving those service
based application(such asp.net) from DC box to a normal server machine.
That'll help avoid some unexpected issues.

Hope helps.

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.)

 
Reply With Quote
 
=?Utf-8?B?RG1pdHJ5IER1Z2lub3Y=?=
Guest
Posts: n/a
 
      12-06-2004


"Steven Cheng[MSFT]" wrote:


> If you don't want to use SYSTEM, and since its a DC box, maybe you need to
> provide a domain account to run the asp.net application(set it as teh
> process identity in the IIS6's application pool setting). Generally, adding
> the account into IIS_WPG group should be sufficient, you can try that and
> testing your web app to verify this.


Thanks, that works. I've created MYASPNET account, include it in Users and
IIS_WPG groups and made appropriate change in processModel.

> BTW, if possible, I still recommend that you consider moving those service
> based application(such asp.net) from DC box to a normal server machine.
> That'll help avoid some unexpected issues.


That's NOT possible because this is the only server in the domain.

Thank you for your help.

Regards,
Dmitry
 
Reply With Quote
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      12-07-2004

You're welcome Dmitry,

Glad that your application work again. Good luck!

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.)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET performance counters not updating James ASP .Net 7 05-06-2005 10:30 AM
Performance Counters not working from ASP.NET Brian Newtz ASP .Net 0 12-13-2004 04:18 PM
Re: ASP.NET Performance Counters are all zero ... ? Michael Carr ASP .Net 4 01-12-2004 04:30 PM
Re: ASP.NET Performance Counters are all zero ... ? Michael Carr ASP .Net 0 01-09-2004 03:15 AM
.NET Clr Data performance counters Erik Cruz ASP .Net 0 10-27-2003 02:08 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57