I run a number of ASP.Net 1.1 websites on IIS6 / Win Server 2003.
Whenever I update the dll files in the bin directory on one of the
projects the server CPU maxes out and the only way to fix the problem
is to restart IIS - I have to repeat this a number of times until the
server goes back to normal. The other websites work fine - I can
happily update dlls without any problems.
Performance of the website in question is good with low CPU and disk
activity and no evidence of memory leaks - despite being a high traffic
website. I also have all the right patches installed..
I suspect that the problem is caused by a large number of .aspx files
with code on the page itself rather than as code behind pages (this is
because website users can add pages themselves) - when the website is
reset IIS appears to recompile a whole load of these files..
I am in the process of re-writing the website in .Net 2 - although my
testing showed that this alone would not solve the problem.
Does anyone have any suggestions at what I can do to resolve this?

Re: Web application crashes by Bernard

Bernard
Tue Nov 28 00:29:00 CST 2006

You can try download debugdiag from Microsoft and debug the app.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


<nick@holidayguide.co.nz> wrote in message
news:1164676087.564985.4350@f16g2000cwb.googlegroups.com...
>I run a number of ASP.Net 1.1 websites on IIS6 / Win Server 2003.
> Whenever I update the dll files in the bin directory on one of the
> projects the server CPU maxes out and the only way to fix the problem
> is to restart IIS - I have to repeat this a number of times until the
> server goes back to normal. The other websites work fine - I can
> happily update dlls without any problems.
> Performance of the website in question is good with low CPU and disk
> activity and no evidence of memory leaks - despite being a high traffic
> website. I also have all the right patches installed..
> I suspect that the problem is caused by a large number of .aspx files
> with code on the page itself rather than as code behind pages (this is
> because website users can add pages themselves) - when the website is
> reset IIS appears to recompile a whole load of these files..
> I am in the process of re-writing the website in .Net 2 - although my
> testing showed that this alone would not solve the problem.
> Does anyone have any suggestions at what I can do to resolve this?
>



Re: Web application crashes by nick

nick
Tue Nov 28 16:12:50 CST 2006

Thanks Bernard,

I tried debugdiag however when trying to analyse the dump files I get
the following error message:

Error Description: Could not open specified dump file
Source Line: Line 245, Column 3

Anyone have any idea how to fix this one?

Bernard Cheah [MVP] wrote:
> You can try download debugdiag from Microsoft and debug the app.
>
> --
> Regards,
> Bernard Cheah
> http://www.iis.net/
> http://www.iis-resources.com/
> http://msmvps.com/blogs/bernard/
>
>
> <nick@holidayguide.co.nz> wrote in message
> news:1164676087.564985.4350@f16g2000cwb.googlegroups.com...
> >I run a number of ASP.Net 1.1 websites on IIS6 / Win Server 2003.
> > Whenever I update the dll files in the bin directory on one of the
> > projects the server CPU maxes out and the only way to fix the problem
> > is to restart IIS - I have to repeat this a number of times until the
> > server goes back to normal. The other websites work fine - I can
> > happily update dlls without any problems.
> > Performance of the website in question is good with low CPU and disk
> > activity and no evidence of memory leaks - despite being a high traffic
> > website. I also have all the right patches installed..
> > I suspect that the problem is caused by a large number of .aspx files
> > with code on the page itself rather than as code behind pages (this is
> > because website users can add pages themselves) - when the website is
> > reset IIS appears to recompile a whole load of these files..
> > I am in the process of re-writing the website in .Net 2 - although my
> > testing showed that this alone would not solve the problem.
> > Does anyone have any suggestions at what I can do to resolve this?
> >


Re: Web application crashes by Bernard

Bernard
Tue Nov 28 22:41:14 CST 2006

You running as local admin? have not seen this error before.
what about the rest. does debugdiag shows the mth file of the output report?

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


<nick@holidayguide.co.nz> wrote in message
news:1164751970.821198.90650@j72g2000cwa.googlegroups.com...
> Thanks Bernard,
>
> I tried debugdiag however when trying to analyse the dump files I get
> the following error message:
>
> Error Description: Could not open specified dump file
> Source Line: Line 245, Column 3
>
> Anyone have any idea how to fix this one?
>
> Bernard Cheah [MVP] wrote:
>> You can try download debugdiag from Microsoft and debug the app.
>>
>> --
>> Regards,
>> Bernard Cheah
>> http://www.iis.net/
>> http://www.iis-resources.com/
>> http://msmvps.com/blogs/bernard/
>>
>>
>> <nick@holidayguide.co.nz> wrote in message
>> news:1164676087.564985.4350@f16g2000cwb.googlegroups.com...
>> >I run a number of ASP.Net 1.1 websites on IIS6 / Win Server 2003.
>> > Whenever I update the dll files in the bin directory on one of the
>> > projects the server CPU maxes out and the only way to fix the problem
>> > is to restart IIS - I have to repeat this a number of times until the
>> > server goes back to normal. The other websites work fine - I can
>> > happily update dlls without any problems.
>> > Performance of the website in question is good with low CPU and disk
>> > activity and no evidence of memory leaks - despite being a high traffic
>> > website. I also have all the right patches installed..
>> > I suspect that the problem is caused by a large number of .aspx files
>> > with code on the page itself rather than as code behind pages (this is
>> > because website users can add pages themselves) - when the website is
>> > reset IIS appears to recompile a whole load of these files..
>> > I am in the process of re-writing the website in .Net 2 - although my
>> > testing showed that this alone would not solve the problem.
>> > Does anyone have any suggestions at what I can do to resolve this?
>> >
>



Re: Web application crashes by nick

nick
Wed Nov 29 00:41:58 CST 2006

yes running as local admin - it creates the .mht file - the error is
displayed in this file..
there are a number of other threads on newsgroups with this error - but
alas no solutions posted..


Bernard Cheah [MVP] wrote:
> You running as local admin? have not seen this error before.
> what about the rest. does debugdiag shows the mth file of the output report?
>
> --
> Regards,
> Bernard Cheah
> http://www.iis.net/
> http://www.iis-resources.com/
> http://msmvps.com/blogs/bernard/
>
>
> <nick@holidayguide.co.nz> wrote in message
> news:1164751970.821198.90650@j72g2000cwa.googlegroups.com...
> > Thanks Bernard,
> >
> > I tried debugdiag however when trying to analyse the dump files I get
> > the following error message:
> >
> > Error Description: Could not open specified dump file
> > Source Line: Line 245, Column 3
> >
> > Anyone have any idea how to fix this one?
> >
> > Bernard Cheah [MVP] wrote:
> >> You can try download debugdiag from Microsoft and debug the app.
> >>
> >> --
> >> Regards,
> >> Bernard Cheah
> >> http://www.iis.net/
> >> http://www.iis-resources.com/
> >> http://msmvps.com/blogs/bernard/
> >>
> >>
> >> <nick@holidayguide.co.nz> wrote in message
> >> news:1164676087.564985.4350@f16g2000cwb.googlegroups.com...
> >> >I run a number of ASP.Net 1.1 websites on IIS6 / Win Server 2003.
> >> > Whenever I update the dll files in the bin directory on one of the
> >> > projects the server CPU maxes out and the only way to fix the problem
> >> > is to restart IIS - I have to repeat this a number of times until the
> >> > server goes back to normal. The other websites work fine - I can
> >> > happily update dlls without any problems.
> >> > Performance of the website in question is good with low CPU and disk
> >> > activity and no evidence of memory leaks - despite being a high traffic
> >> > website. I also have all the right patches installed..
> >> > I suspect that the problem is caused by a large number of .aspx files
> >> > with code on the page itself rather than as code behind pages (this is
> >> > because website users can add pages themselves) - when the website is
> >> > reset IIS appears to recompile a whole load of these files..
> >> > I am in the process of re-writing the website in .Net 2 - although my
> >> > testing showed that this alone would not solve the problem.
> >> > Does anyone have any suggestions at what I can do to resolve this?
> >> >
> >


Re: Web application crashes by David

David
Wed Nov 29 04:51:04 CST 2006

You are seeing a CPU utilization issue, not application crash. Big
difference.

The behavior you are asking about is an ASP.Net-specific behavior, not
IIS. So, I recommend asking for a solution pattern within the ASP.Net
community. Recompilation caused by touching /bin files is a big deal to
ASP.Net.

You can start with the Forums on www.asp.net

FYI: One should never need to restart IIS6 except for some global
configuration changes. Handling application issues should not require
restarting IIS6. I don't think you need to restart IIS6 repeatedly --
only recycle the Application Pool containing this application. Or
stop/start it if you want.



//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//


nick@holidayguide.co.nz wrote:
> I run a number of ASP.Net 1.1 websites on IIS6 / Win Server 2003.
> Whenever I update the dll files in the bin directory on one of the
> projects the server CPU maxes out and the only way to fix the problem
> is to restart IIS - I have to repeat this a number of times until the
> server goes back to normal. The other websites work fine - I can
> happily update dlls without any problems.
> Performance of the website in question is good with low CPU and disk
> activity and no evidence of memory leaks - despite being a high traffic
> website. I also have all the right patches installed..
> I suspect that the problem is caused by a large number of .aspx files
> with code on the page itself rather than as code behind pages (this is
> because website users can add pages themselves) - when the website is
> reset IIS appears to recompile a whole load of these files..
> I am in the process of re-writing the website in .Net 2 - although my
> testing showed that this alone would not solve the problem.
> Does anyone have any suggestions at what I can do to resolve this?


Re: Web application crashes by Bernard

Bernard
Thu Nov 30 00:52:23 CST 2006

what rules you are asking debugdiag to monitor?

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


<nick@holidayguide.co.nz> wrote in message
news:1164782518.190944.79470@h54g2000cwb.googlegroups.com...
> yes running as local admin - it creates the .mht file - the error is
> displayed in this file..
> there are a number of other threads on newsgroups with this error - but
> alas no solutions posted..
>
>
> Bernard Cheah [MVP] wrote:
>> You running as local admin? have not seen this error before.
>> what about the rest. does debugdiag shows the mth file of the output
>> report?
>>
>> --
>> Regards,
>> Bernard Cheah
>> http://www.iis.net/
>> http://www.iis-resources.com/
>> http://msmvps.com/blogs/bernard/
>>
>>
>> <nick@holidayguide.co.nz> wrote in message
>> news:1164751970.821198.90650@j72g2000cwa.googlegroups.com...
>> > Thanks Bernard,
>> >
>> > I tried debugdiag however when trying to analyse the dump files I get
>> > the following error message:
>> >
>> > Error Description: Could not open specified dump file
>> > Source Line: Line 245, Column 3
>> >
>> > Anyone have any idea how to fix this one?
>> >
>> > Bernard Cheah [MVP] wrote:
>> >> You can try download debugdiag from Microsoft and debug the app.
>> >>
>> >> --
>> >> Regards,
>> >> Bernard Cheah
>> >> http://www.iis.net/
>> >> http://www.iis-resources.com/
>> >> http://msmvps.com/blogs/bernard/
>> >>
>> >>
>> >> <nick@holidayguide.co.nz> wrote in message
>> >> news:1164676087.564985.4350@f16g2000cwb.googlegroups.com...
>> >> >I run a number of ASP.Net 1.1 websites on IIS6 / Win Server 2003.
>> >> > Whenever I update the dll files in the bin directory on one of the
>> >> > projects the server CPU maxes out and the only way to fix the
>> >> > problem
>> >> > is to restart IIS - I have to repeat this a number of times until
>> >> > the
>> >> > server goes back to normal. The other websites work fine - I can
>> >> > happily update dlls without any problems.
>> >> > Performance of the website in question is good with low CPU and disk
>> >> > activity and no evidence of memory leaks - despite being a high
>> >> > traffic
>> >> > website. I also have all the right patches installed..
>> >> > I suspect that the problem is caused by a large number of .aspx
>> >> > files
>> >> > with code on the page itself rather than as code behind pages (this
>> >> > is
>> >> > because website users can add pages themselves) - when the website
>> >> > is
>> >> > reset IIS appears to recompile a whole load of these files..
>> >> > I am in the process of re-writing the website in .Net 2 - although
>> >> > my
>> >> > testing showed that this alone would not solve the problem.
>> >> > Does anyone have any suggestions at what I can do to resolve this?
>> >> >
>> >
>



Re: Web application crashes by nick

nick
Thu Nov 30 14:39:53 CST 2006

I am using the hang script to analyse the results - have tried
uninstalling and re-installing and logging again from scratch but no
joy.

It is a shame that MS do not properly support this tool and build it
directly into IIS - isint it logical that administrators will want to
analyse any problems in websites that they are responsible for running?


Bernard Cheah [MVP] wrote:
> what rules you are asking debugdiag to monitor?
>
> --
> Regards,
> Bernard Cheah
> http://www.iis.net/
> http://www.iis-resources.com/
> http://msmvps.com/blogs/bernard/
>
>
> <nick@holidayguide.co.nz> wrote in message
> news:1164782518.190944.79470@h54g2000cwb.googlegroups.com...
> > yes running as local admin - it creates the .mht file - the error is
> > displayed in this file..
> > there are a number of other threads on newsgroups with this error - but
> > alas no solutions posted..
> >
> >
> > Bernard Cheah [MVP] wrote:
> >> You running as local admin? have not seen this error before.
> >> what about the rest. does debugdiag shows the mth file of the output
> >> report?
> >>
> >> --
> >> Regards,
> >> Bernard Cheah
> >> http://www.iis.net/
> >> http://www.iis-resources.com/
> >> http://msmvps.com/blogs/bernard/
> >>
> >>
> >> <nick@holidayguide.co.nz> wrote in message
> >> news:1164751970.821198.90650@j72g2000cwa.googlegroups.com...
> >> > Thanks Bernard,
> >> >
> >> > I tried debugdiag however when trying to analyse the dump files I get
> >> > the following error message:
> >> >
> >> > Error Description: Could not open specified dump file
> >> > Source Line: Line 245, Column 3
> >> >
> >> > Anyone have any idea how to fix this one?
> >> >
> >> > Bernard Cheah [MVP] wrote:
> >> >> You can try download debugdiag from Microsoft and debug the app.
> >> >>
> >> >> --
> >> >> Regards,
> >> >> Bernard Cheah
> >> >> http://www.iis.net/
> >> >> http://www.iis-resources.com/
> >> >> http://msmvps.com/blogs/bernard/
> >> >>
> >> >>
> >> >> <nick@holidayguide.co.nz> wrote in message
> >> >> news:1164676087.564985.4350@f16g2000cwb.googlegroups.com...
> >> >> >I run a number of ASP.Net 1.1 websites on IIS6 / Win Server 2003.
> >> >> > Whenever I update the dll files in the bin directory on one of the
> >> >> > projects the server CPU maxes out and the only way to fix the
> >> >> > problem
> >> >> > is to restart IIS - I have to repeat this a number of times until
> >> >> > the
> >> >> > server goes back to normal. The other websites work fine - I can
> >> >> > happily update dlls without any problems.
> >> >> > Performance of the website in question is good with low CPU and disk
> >> >> > activity and no evidence of memory leaks - despite being a high
> >> >> > traffic
> >> >> > website. I also have all the right patches installed..
> >> >> > I suspect that the problem is caused by a large number of .aspx
> >> >> > files
> >> >> > with code on the page itself rather than as code behind pages (this
> >> >> > is
> >> >> > because website users can add pages themselves) - when the website
> >> >> > is
> >> >> > reset IIS appears to recompile a whole load of these files..
> >> >> > I am in the process of re-writing the website in .Net 2 - although
> >> >> > my
> >> >> > testing showed that this alone would not solve the problem.
> >> >> > Does anyone have any suggestions at what I can do to resolve this?
> >> >> >
> >> >
> >


Re: Web application crashes by nick

nick
Thu Nov 30 14:43:09 CST 2006


Thanks David,

Have added a thread on www.asp.net.

In my experience IIS is flaky and requires resetting quite a lot - so
interesting to hear your comments on this! Recycling the application
pool does not stop the problem - whereas rebooting does. It appears
that IIS reset does not do a complete reset.

David Wang wrote:
> You are seeing a CPU utilization issue, not application crash. Big
> difference.
>
> The behavior you are asking about is an ASP.Net-specific behavior, not
> IIS. So, I recommend asking for a solution pattern within the ASP.Net
> community. Recompilation caused by touching /bin files is a big deal to
> ASP.Net.
>
> You can start with the Forums on www.asp.net
>
> FYI: One should never need to restart IIS6 except for some global
> configuration changes. Handling application issues should not require
> restarting IIS6. I don't think you need to restart IIS6 repeatedly --
> only recycle the Application Pool containing this application. Or
> stop/start it if you want.
>
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
> nick@holidayguide.co.nz wrote:
> > I run a number of ASP.Net 1.1 websites on IIS6 / Win Server 2003.
> > Whenever I update the dll files in the bin directory on one of the
> > projects the server CPU maxes out and the only way to fix the problem
> > is to restart IIS - I have to repeat this a number of times until the
> > server goes back to normal. The other websites work fine - I can
> > happily update dlls without any problems.
> > Performance of the website in question is good with low CPU and disk
> > activity and no evidence of memory leaks - despite being a high traffic
> > website. I also have all the right patches installed..
> > I suspect that the problem is caused by a large number of .aspx files
> > with code on the page itself rather than as code behind pages (this is
> > because website users can add pages themselves) - when the website is
> > reset IIS appears to recompile a whole load of these files..
> > I am in the process of re-writing the website in .Net 2 - although my
> > testing showed that this alone would not solve the problem.
> > Does anyone have any suggestions at what I can do to resolve this?


Re: Web application crashes by David

David
Thu Nov 30 15:49:33 CST 2006

My experience is that 99.999% of the time, it is the multitude of
applications/framework running ON TOP of IIS which are flaky or having
issues. Or the application has an unstated dependency or configuration
that hampers proper performance. The problem is that for most users, it
is hard to tease apart this difference, so to them it is "IIS is not
working" when in fact it is far from the case.

I mean, it is not the server's job to automatically make an application
perform perfectly -- that would be like mind-reading, and we don't have
that capability. Instead, it is the application's job to declare its
dependencies and for the server admin to use it and tune the
application, but most of the time, neither happens. And then people
wonder why things don't work.

For example, it is analogous to saying that:
- "Windows is not working" when Word crashes and fails to save a
document. I see it as a problem with Word because it is the cause of
the data loss; many people would conclude that they are working with a
PC running Windows and "Windows" lost their data.
- Or that when a spark plug goes out in the engine, it's "the car's not
working" and not "the engine is not working"

I'm ok with the misconception, unless one is involved with
troubleshooting - in which case I insist that one understands the
differences because it directly affects the effectiveness of
troubleshooting.

IISRESET is totally unnecessary for IIS6 and can actually be harmful,
so I recommend against it. I recommend figuring out WHY one needs to
reset IIS and fix that problem instead. I detail an approach in this
blog entry:
http://blogs.msdn.com/david.wang/archive/2005/12/31/HOWTO_Basics_of_IIS6_Troubleshooting.aspx

Recycling the application pool is equivalent to killing the process
running your application and bringing up a new one. So if you still see
problems afterwards, it is probably not within the IIS portion of the
application since it basically all restarted with the recycle. It is
probably within some other dependency of your application which exists
outside of IIS -- the question is whether YOU know about it...

For example, your issue (changing .Net assembly) has nothing to do with
IIS because it is an ASP.Net-related behavior. Maybe you should
consider that there is an independent NT service dedicated to
pre-compiling .Net assemblies... so maybe when you update your DLL,
ASP.Net tells that service to churn away pre-compiling your dependent
.Net assemblies... independent of IIS. And that's why restarting IIS or
recycling the AppPool changes nothing -- because IIS had nothing to do
with the behavior in the first place -- some other independent process
is churning the CPU... which of course rebooting would terminate.

I realize that you have found a sequence of steps that "works" to solve
your perceived issue. It is not clear to me why its rationale and
explanations are automatically sound.



//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//



nick@holidayguide.co.nz wrote:
> Thanks David,
>
> Have added a thread on www.asp.net.
>
> In my experience IIS is flaky and requires resetting quite a lot - so
> interesting to hear your comments on this! Recycling the application
> pool does not stop the problem - whereas rebooting does. It appears
> that IIS reset does not do a complete reset.
>
> David Wang wrote:
> > You are seeing a CPU utilization issue, not application crash. Big
> > difference.
> >
> > The behavior you are asking about is an ASP.Net-specific behavior, not
> > IIS. So, I recommend asking for a solution pattern within the ASP.Net
> > community. Recompilation caused by touching /bin files is a big deal to
> > ASP.Net.
> >
> > You can start with the Forums on www.asp.net
> >
> > FYI: One should never need to restart IIS6 except for some global
> > configuration changes. Handling application issues should not require
> > restarting IIS6. I don't think you need to restart IIS6 repeatedly --
> > only recycle the Application Pool containing this application. Or
> > stop/start it if you want.
> >
> >
> >
> > //David
> > http://w3-4u.blogspot.com
> > http://blogs.msdn.com/David.Wang
> > //
> >
> >
> > nick@holidayguide.co.nz wrote:
> > > I run a number of ASP.Net 1.1 websites on IIS6 / Win Server 2003.
> > > Whenever I update the dll files in the bin directory on one of the
> > > projects the server CPU maxes out and the only way to fix the problem
> > > is to restart IIS - I have to repeat this a number of times until the
> > > server goes back to normal. The other websites work fine - I can
> > > happily update dlls without any problems.
> > > Performance of the website in question is good with low CPU and disk
> > > activity and no evidence of memory leaks - despite being a high traffic
> > > website. I also have all the right patches installed..
> > > I suspect that the problem is caused by a large number of .aspx files
> > > with code on the page itself rather than as code behind pages (this is
> > > because website users can add pages themselves) - when the website is
> > > reset IIS appears to recompile a whole load of these files..
> > > I am in the process of re-writing the website in .Net 2 - although my
> > > testing showed that this alone would not solve the problem.
> > > Does anyone have any suggestions at what I can do to resolve this?


Re: Web application crashes by David

David
Thu Nov 30 19:25:10 CST 2006

I think there are a lot of misconceptions and confusion here.

The "hang" that DebugDiag is designed to locate is not the same sort
"hang" that you are seeing. I'm not even sure you are seeing a "hang"
at all -- maybe just a temporary CPU spike. And I'm not certain the
CPU-spike is in an IIS process.

Correct diagnosis of the problem and selection of the right tool for
the job is always critical.

For example:
A hammer is useful... if correctly wielded for the right job.

Suppose you have an unstable shed which you are trying to stabilize.
But you try to hammer a hex bolt into the middle of the 2x4 when the
end-joints are dislocating. And then you complain that the lumber
company does not properly support the hammer because doesn't every
carpenter need the hammer to fix any stability issues in building
structures they are responsible for building?


I think that Microsoft produces plenty of free tools to do the job, but
they have to be wielded appropriately. The user also needs to have good
knowledge of computer systems and technologies to be able to
troubleshoot logically and use the tools correctly. I think it is rash
to make blanket statements like:
> isint it logical that administrators will want to
> analyse any problems in websites that they are responsible for running?

Because analysis is always possible - attach a debugger and step
through the code, monitor the log files, use perfmon, etc - but not
everyone can do that. Just about every other tool simply takes that
powerful debugging feature and wrap it up into a simpler package. But
in all cases, the user has to know the rules or limitations or else the
tools do not make sense, by design.

But surely, one does not expect to jump into Rocket Science and believe
they can solve its average problems by looking through someone else's
good notes?



//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//


nick@holidayguide.co.nz wrote:
> I am using the hang script to analyse the results - have tried
> uninstalling and re-installing and logging again from scratch but no
> joy.
>
> It is a shame that MS do not properly support this tool and build it
> directly into IIS - isint it logical that administrators will want to
> analyse any problems in websites that they are responsible for running?
>
>
> Bernard Cheah [MVP] wrote:
> > what rules you are asking debugdiag to monitor?
> >
> > --
> > Regards,
> > Bernard Cheah
> > http://www.iis.net/
> > http://www.iis-resources.com/
> > http://msmvps.com/blogs/bernard/
> >
> >
> > <nick@holidayguide.co.nz> wrote in message
> > news:1164782518.190944.79470@h54g2000cwb.googlegroups.com...
> > > yes running as local admin - it creates the .mht file - the error is
> > > displayed in this file..
> > > there are a number of other threads on newsgroups with this error - but
> > > alas no solutions posted..
> > >
> > >
> > > Bernard Cheah [MVP] wrote:
> > >> You running as local admin? have not seen this error before.
> > >> what about the rest. does debugdiag shows the mth file of the output
> > >> report?
> > >>
> > >> --
> > >> Regards,
> > >> Bernard Cheah
> > >> http://www.iis.net/
> > >> http://www.iis-resources.com/
> > >> http://msmvps.com/blogs/bernard/
> > >>
> > >>
> > >> <nick@holidayguide.co.nz> wrote in message
> > >> news:1164751970.821198.90650@j72g2000cwa.googlegroups.com...
> > >> > Thanks Bernard,
> > >> >
> > >> > I tried debugdiag however when trying to analyse the dump files I get
> > >> > the following error message:
> > >> >
> > >> > Error Description: Could not open specified dump file
> > >> > Source Line: Line 245, Column 3
> > >> >
> > >> > Anyone have any idea how to fix this one?
> > >> >
> > >> > Bernard Cheah [MVP] wrote:
> > >> >> You can try download debugdiag from Microsoft and debug the app.
> > >> >>
> > >> >> --
> > >> >> Regards,
> > >> >> Bernard Cheah
> > >> >> http://www.iis.net/
> > >> >> http://www.iis-resources.com/
> > >> >> http://msmvps.com/blogs/bernard/
> > >> >>
> > >> >>
> > >> >> <nick@holidayguide.co.nz> wrote in message
> > >> >> news:1164676087.564985.4350@f16g2000cwb.googlegroups.com...
> > >> >> >I run a number of ASP.Net 1.1 websites on IIS6 / Win Server 2003.
> > >> >> > Whenever I update the dll files in the bin directory on one of the
> > >> >> > projects the server CPU maxes out and the only way to fix the
> > >> >> > problem
> > >> >> > is to restart IIS - I have to repeat this a number of times until
> > >> >> > the
> > >> >> > server goes back to normal. The other websites work fine - I can
> > >> >> > happily update dlls without any problems.
> > >> >> > Performance of the website in question is good with low CPU and disk
> > >> >> > activity and no evidence of memory leaks - despite being a high
> > >> >> > traffic
> > >> >> > website. I also have all the right patches installed..
> > >> >> > I suspect that the problem is caused by a large number of .aspx
> > >> >> > files
> > >> >> > with code on the page itself rather than as code behind pages (this
> > >> >> > is
> > >> >> > because website users can add pages themselves) - when the website
> > >> >> > is
> > >> >> > reset IIS appears to recompile a whole load of these files..
> > >> >> > I am in the process of re-writing the website in .Net 2 - although
> > >> >> > my
> > >> >> > testing showed that this alone would not solve the problem.
> > >> >> > Does anyone have any suggestions at what I can do to resolve this?
> > >> >> >
> > >> >
> > >


Re: Web application crashes by Bernard

Bernard
Thu Nov 30 22:38:08 CST 2006

David, if the CPU spike usage is by IIS processes, Debugdiag will do the
job, right?
I saw a few debugdiag errors before, mostly related to its *.asp file, so
far no solution yet.
How to use the Debug Diagnostics Tool to troubleshoot high CPU usage by a
process in IIS
http://support.microsoft.com/?id=919791


--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


"David Wang" <w3.4you@gmail.com> wrote in message
news:1164936310.086461.87170@n67g2000cwd.googlegroups.com...
>I think there are a lot of misconceptions and confusion here.
>
> The "hang" that DebugDiag is designed to locate is not the same sort
> "hang" that you are seeing. I'm not even sure you are seeing a "hang"
> at all -- maybe just a temporary CPU spike. And I'm not certain the
> CPU-spike is in an IIS process.
>
> Correct diagnosis of the problem and selection of the right tool for
> the job is always critical.
>
> For example:
> A hammer is useful... if correctly wielded for the right job.
>
> Suppose you have an unstable shed which you are trying to stabilize.
> But you try to hammer a hex bolt into the middle of the 2x4 when the
> end-joints are dislocating. And then you complain that the lumber
> company does not properly support the hammer because doesn't every
> carpenter need the hammer to fix any stability issues in building
> structures they are responsible for building?
>
>
> I think that Microsoft produces plenty of free tools to do the job, but
> they have to be wielded appropriately. The user also needs to have good
> knowledge of computer systems and technologies to be able to
> troubleshoot logically and use the tools correctly. I think it is rash
> to make blanket statements like:
>> isint it logical that administrators will want to
>> analyse any problems in websites that they are responsible for running?
>
> Because analysis is always possible - attach a debugger and step
> through the code, monitor the log files, use perfmon, etc - but not
> everyone can do that. Just about every other tool simply takes that
> powerful debugging feature and wrap it up into a simpler package. But
> in all cases, the user has to know the rules or limitations or else the
> tools do not make sense, by design.
>
> But surely, one does not expect to jump into Rocket Science and believe
> they can solve its average problems by looking through someone else's
> good notes?
>
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
> nick@holidayguide.co.nz wrote:
>> I am using the hang script to analyse the results - have tried
>> uninstalling and re-installing and logging again from scratch but no
>> joy.
>>
>> It is a shame that MS do not properly support this tool and build it
>> directly into IIS - isint it logical that administrators will want to
>> analyse any problems in websites that they are responsible for running?
>>
>>
>> Bernard Cheah [MVP] wrote:
>> > what rules you are asking debugdiag to monitor?
>> >
>> > --
>> > Regards,
>> > Bernard Cheah
>> > http://www.iis.net/
>> > http://www.iis-resources.com/
>> > http://msmvps.com/blogs/bernard/
>> >
>> >
>> > <nick@holidayguide.co.nz> wrote in message
>> > news:1164782518.190944.79470@h54g2000cwb.googlegroups.com...
>> > > yes running as local admin - it creates the .mht file - the error is
>> > > displayed in this file..
>> > > there are a number of other threads on newsgroups with this error -
>> > > but
>> > > alas no solutions posted..
>> > >
>> > >
>> > > Bernard Cheah [MVP] wrote:
>> > >> You running as local admin? have not seen this error before.
>> > >> what about the rest. does debugdiag shows the mth file of the output
>> > >> report?
>> > >>
>> > >> --
>> > >> Regards,
>> > >> Bernard Cheah
>> > >> http://www.iis.net/
>> > >> http://www.iis-resources.com/
>> > >> http://msmvps.com/blogs/bernard/
>> > >>
>> > >>
>> > >> <nick@holidayguide.co.nz> wrote in message
>> > >> news:1164751970.821198.90650@j72g2000cwa.googlegroups.com...
>> > >> > Thanks Bernard,
>> > >> >
>> > >> > I tried debugdiag however when trying to analyse the dump files I
>> > >> > get
>> > >> > the following error message:
>> > >> >
>> > >> > Error Description: Could not open specified dump file
>> > >> > Source Line: Line 245, Column 3
>> > >> >
>> > >> > Anyone have any idea how to fix this one?
>> > >> >
>> > >> > Bernard Cheah [MVP] wrote:
>> > >> >> You can try download debugdiag from Microsoft and debug the app.
>> > >> >>
>> > >> >> --
>> > >> >> Regards,
>> > >> >> Bernard Cheah
>> > >> >> http://www.iis.net/
>> > >> >> http://www.iis-resources.com/
>> > >> >> http://msmvps.com/blogs/bernard/
>> > >> >>
>> > >> >>
>> > >> >> <nick@holidayguide.co.nz> wrote in message
>> > >> >> news:1164676087.564985.4350@f16g2000cwb.googlegroups.com...
>> > >> >> >I run a number of ASP.Net 1.1 websites on IIS6 / Win Server
>> > >> >> >2003.
>> > >> >> > Whenever I update the dll files in the bin directory on one of
>> > >> >> > the
>> > >> >> > projects the server CPU maxes out and the only way to fix the
>> > >> >> > problem
>> > >> >> > is to restart IIS - I have to repeat this a number of times
>> > >> >> > until
>> > >> >> > the
>> > >> >> > server goes back to normal. The other websites work fine - I
>> > >> >> > can
>> > >> >> > happily update dlls without any problems.
>> > >> >> > Performance of the website in question is good with low CPU and
>> > >> >> > disk
>> > >> >> > activity and no evidence of memory leaks - despite being a high
>> > >> >> > traffic
>> > >> >> > website. I also have all the right patches installed..
>> > >> >> > I suspect that the problem is caused by a large number of .aspx
>> > >> >> > files
>> > >> >> > with code on the page itself rather than as code behind pages
>> > >> >> > (this
>> > >> >> > is
>> > >> >> > because website users can add pages themselves) - when the
>> > >> >> > website
>> > >> >> > is
>> > >> >> > reset IIS appears to recompile a whole load of these files..
>> > >> >> > I am in the process of re-writing the website in .Net 2 -
>> > >> >> > although
>> > >> >> > my
>> > >> >> > testing showed that this alone would not solve the problem.
>> > >> >> > Does anyone have any suggestions at what I can do to resolve
>> > >> >> > this?
>> > >> >> >
>> > >> >
>> > >
>



Re: Web application crashes by nick

nick
Fri Dec 01 00:20:17 CST 2006

Hi David,

Thanks for your help to date with this problem - your comments re: IIS
certainly add an interesting angle on this.

I was under the impression that ASP.Net applications only run under IIS
and thus
IIS is bascially acting as the webserver 'container'.

As IIS and ASP.Net are therefore tightly coupled I would have thought
that IIS should control ASP.Net applications and guard the server
against problems that applications encounter whilst providing
sufficient tools to allow administrators to determine when a problem
occurs, what is causing (and even more helpfully) what can be done to
fix the problem. Whilst Microsoft does provide some tools for these
purposes they appear to be after thoughts and are usually buggy, poorly
documented and supported. The problems I am having with DebugDiag is a
good example of this. I shouldnt have to read how to use tools like
these in blogs.

I am not an expert on IIS or windows internals and don't want to be. It
is unfortunate that I am going to have to learn more about this whether
I want to or not as it appears that there is no easy way to solve my
problem. I purposefully use a relatively high level language to
insulate me from the low level technicalities of the windows API.

When I click on IISReset - I do expect it kill all web server processes
and kill every process that was initiated via IIS - I shouldnt have to
reboot my server or repeat the process several times until IIS decides
to play ball.


David Wang wrote:
> I think there are a lot of misconceptions and confusion here.
>
> The "hang" that DebugDiag is designed to locate is not the same sort
> "hang" that you are seeing. I'm not even sure you are seeing a "hang"
> at all -- maybe just a temporary CPU spike. And I'm not certain the
> CPU-spike is in an IIS process.
>
> Correct diagnosis of the problem and selection of the right tool for
> the job is always critical.
>
> For example:
> A hammer is useful... if correctly wielded for the right job.
>
> Suppose you have an unstable shed which you are trying to stabilize.
> But you try to hammer a hex bolt into the middle of the 2x4 when the
> end-joints are dislocating. And then you complain that the lumber
> company does not properly support the hammer because doesn't every
> carpenter need the hammer to fix any stability issues in building
> structures they are responsible for building?
>
>
> I think that Microsoft produces plenty of free tools to do the job, but
> they have to be wielded appropriately. The user also needs to have good
> knowledge of computer systems and technologies to be able to
> troubleshoot logically and use the tools correctly. I think it is rash
> to make blanket statements like:
> > isint it logical that administrators will want to
> > analyse any problems in websites that they are responsible for running?
>
> Because analysis is always poss