473,508 Members | 2,357 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how am I killed IIS?

Hi everyone, I am somehow managing to kill IIS, please help (running ASP.NET
2.0).

I have a page (PAGE) with a dynamically loaded control (DLC1), this control
itself has a further dynamically loaded control with in (DCL2).

My submit button is on DLC1, my form contents are in DCL2.

When the page is submitted, I catch the button click in DLC1 and try to
process the incoming post data, however, at this point DLC2 is not longer
generated as i dont need it, i just need the post data. Im unsure if this is
causing the crash, however on submitting, nothnig happens, finally IIS locks
up and needs to be restarted with the cryptic error:

EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.0, P3 3e8000e6, P4
appdemonstrator1, P5 1.0.2248.37490, P6 44021465, P7 5f, P8 0, P9
system.stackoverflowexception, P10 NIL.

Any help really appreciated , any ideas guys?

Thanks!
Feb 26 '06 #1
6 1897
Tarun,
A stackoverflow exception usually indicates some sort of infinitely
recursive operation that is occurring. We don't know exactly what your code
does, but if you look it over very carefully, you should be able to find the
boo-boo and fix it so this doesn't happen. A control could be created, which
attempts to create itself, etc. etc. ad-infinitum. That's just a simplified
example.
--Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Tarun Mistry" wrote:
Hi everyone, I am somehow managing to kill IIS, please help (running ASP.NET
2.0).

I have a page (PAGE) with a dynamically loaded control (DLC1), this control
itself has a further dynamically loaded control with in (DCL2).

My submit button is on DLC1, my form contents are in DCL2.

When the page is submitted, I catch the button click in DLC1 and try to
process the incoming post data, however, at this point DLC2 is not longer
generated as i dont need it, i just need the post data. Im unsure if this is
causing the crash, however on submitting, nothnig happens, finally IIS locks
up and needs to be restarted with the cryptic error:

EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.0, P3 3e8000e6, P4
appdemonstrator1, P5 1.0.2248.37490, P6 44021465, P7 5f, P8 0, P9
system.stackoverflowexception, P10 NIL.

Any help really appreciated , any ideas guys?

Thanks!

Feb 26 '06 #2
OH DEAR GOD THE PAIN!!!!

Can you see the problem with the following property?? :( God so many hours
of grief!! :)

Indeed... infinite recursion, but not where i thought it would be!

public string Labname
{
get{return this.Labname;}
set{this.labname = value;}
}

For those who dont see the error, the get clause is return Labname (capital
L) and not labname, in effect it was calling itself forever!

THE PAIN! :D
Thank god it is over!
Taz
Tarun,
A stackoverflow exception usually indicates some sort of infinitely
recursive operation that is occurring. We don't know exactly what your
code
does, but if you look it over very carefully, you should be able to find
the
boo-boo and fix it so this doesn't happen. A control could be created,
which
attempts to create itself, etc. etc. ad-infinitum. That's just a
simplified
example.
--Peter


Feb 26 '06 #3
God?

"Tarun Mistry" <no****@nospam.com> schreef in bericht
news:e8*************@TK2MSFTNGP14.phx.gbl...
OH DEAR GOD THE PAIN!!!!

Can you see the problem with the following property?? :( God so many hours
of grief!! :)

Indeed... infinite recursion, but not where i thought it would be!

public string Labname
{
get{return this.Labname;}
set{this.labname = value;}
}

For those who dont see the error, the get clause is return Labname
(capital L) and not labname, in effect it was calling itself forever!

THE PAIN! :D
Thank god it is over!
Taz
Tarun,
A stackoverflow exception usually indicates some sort of infinitely
recursive operation that is occurring. We don't know exactly what your
code
does, but if you look it over very carefully, you should be able to find
the
boo-boo and fix it so this doesn't happen. A control could be created,
which
attempts to create itself, etc. etc. ad-infinitum. That's just a
simplified
example.
--Peter

Feb 26 '06 #4
Tarun,
I knew you'd find it. Don't feel bad, I myself have done this.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Tarun Mistry" wrote:
OH DEAR GOD THE PAIN!!!!

Can you see the problem with the following property?? :( God so many hours
of grief!! :)

Indeed... infinite recursion, but not where i thought it would be!

public string Labname
{
get{return this.Labname;}
set{this.labname = value;}
}

For those who dont see the error, the get clause is return Labname (capital
L) and not labname, in effect it was calling itself forever!

THE PAIN! :D
Thank god it is over!
Taz
Tarun,
A stackoverflow exception usually indicates some sort of infinitely
recursive operation that is occurring. We don't know exactly what your
code
does, but if you look it over very carefully, you should be able to find
the
boo-boo and fix it so this doesn't happen. A control could be created,
which
attempts to create itself, etc. etc. ad-infinitum. That's just a
simplified
example.
--Peter


Feb 27 '06 #5
I'll second that: I've done this so many times that whenever I get a
stackoverflow exception I immediately go to my properties. Add it to
your list of "things to be paranoid about".

Feb 27 '06 #6
> I'll second that: I've done this so many times that whenever I get a
stackoverflow exception I immediately go to my properties. Add it to
your list of "things to be paranoid about".


It is indeed added :)

Thanks all,
Taz
Feb 27 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1546
by: Harlin Seritt | last post by:
I am looking for a way for my script to write to a log file saying something like this: I was killed at time.asctime() I would like to be able to do this if/when the script is killed by means...
4
4187
by: Rafael Chemtob | last post by:
Hi, I'm using session cookies on my web app and it looks like the session is not being killed when the user closes the browser. We use a Global.asa file on our app. Do we have to explicitly...
0
2626
by: buky | last post by:
I killed a session on a local database using "alter system kill session" command. But, in v$session, there is still a recordsed with that session, marked as killed (db version 9.2.0.1). How...
2
2903
by: Ajay Todimala | last post by:
Hi Folks, I am running a C++ simulation on Redhat Linux 9. It is computational and memory intensive. After running for some time it gets killed. It does not give any core dump. The following...
0
1067
by: Kalpaga | last post by:
Hi, We have developed a multi-threaded application using System.Threading.ThreadStart delegate. After few hours, we find the threads getting killed automatically. Thread abort has not been...
4
1896
by: Steve | last post by:
We are using ODP.net (version 9.2.0.4.01) as data provider for Oracle in our dotnet app. Currently we are using Microsoft.NET Framework 1.1 (VS.net IDE 2003) in our project. One thing I feel...
2
5423
by: Praveen K | last post by:
I have a problem in communicating between the C# and the Excel Interop objects. The problem is something as described below. I use Microsoft Office-XP PIA dll’s as these dll’s were been...
0
1022
by: Srinivas | last post by:
I have a Process which lauches Internet Explorer.Using this process I keep changing the URL of the Browser based on certain user event. I intend to kill this Process and restart it when the Process...
7
9385
by: dieter | last post by:
Hi, Overview ======= I'm doing some simple file manipulation work and the process gets "Killed" everytime I run it. No traceback, no segfault... just the word "Killed" in the bash shell and...
0
7120
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7323
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7494
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5626
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1553
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.