WIP .Net Tracing
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
WIP .Net Tracing

 
Post new topic   Reply to topic    Windows Server Forum Index -> Host Integration Server
Author Message
Paul
Guest





Posted: Tue Apr 26, 2005 3:06 am    Post subject: WIP .Net Tracing Reply with quote

I turned on all of the trace options for a .Net client project but cannot
find the trace. I know this works for COM clients, does it work for .Net
clients?
Back to top
Rob Beardsworth [MSFT]
Guest





Posted: Wed Apr 27, 2005 12:09 am    Post subject: RE: WIP .Net Tracing Reply with quote

HI Paul,
yes, this most assuredly does work! HOWEVER (you knew that was coming
didn't you) - its a little trickier. Almost all problems with WIP .NET stem
from the "effective user of the thread" not being who you think it is. So,
for example, if your virtual directory allows anonymous access, and your
web.config says impersonate=true, then the effective use of the thread is
the "IWAM_foo" or whatever you set up on the virtual directory, if your
web.config says no impersonation (and you have anonymous) then the
effective user will be ASPNET (IIS5) or the user associated with the
appropriate application pool (IIS6). Whatever your settings are for Virtual
Directory, Application Pool and web.config, the effective user of the
thread that results MUST be a member of the HIS Runtime group, otherwise no
tracing will occur. The file will be in ProgFiles\MS HIS\traces and will be
called WIP_DotNET_<pid>.log.

HTH.

Rob Beardsworth
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
From: "Paul" <ClearPath@newsgroup.nospam>
Subject: WIP .Net Tracing
Date: Mon, 25 Apr 2005 15:06:57 -0700


I turned on all of the trace options for a .Net client project but cannot
find the trace. I know this works for COM clients, does it work for .Net
clients?
Back to top
Paul
Guest





Posted: Wed Apr 27, 2005 12:55 am    Post subject: Re: WIP .Net Tracing Reply with quote

Thanks Rob, that helped. I added IUSR_<machine name> to HIS runtime group.
The final gotcha was that I had to bounce IIS to get a trace file appear.

Paul
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Host Integration Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot 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




New Topics Powered by phpBB