473,729 Members | 2,234 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems with .NET beta 2 and StackOverflowEx ception


I don't know if there is another newsgroup where I should ask this
question..??

I have this .NET web application that I've build using .NET 1.1. Now
I've moved it to .NET 2.0 beta 2, and suddently I'm getting all sort of
strange behaviour!!

I'm using a HttpHandler (not .aspx files). When I have to output the
content of a page, I load the content classes with reflection. If the
user does not have permissions to see the content (using my own
permission system), I throw an exception!

Normally I don't have any problems with debugging through exceptions,
but when I throw this exception, after about 30 seconds, I get "The
connection was refused when attempting to contact localhost:2021" in
Firefox, and in IE I get the "Server not found" page. Sometimes VS 2005
shows me an StackOverflowEx ception in the running(debug) code..

Other places in my app there are no problems with exceptions, but when
throwing them from classes loaded with reflection, something fails!

When building the app for release, and running it on IIS, a error is
logged in the eventlog "A process serving application pool 'ASP.NET
V2.0' suffered a fatal error .... The data field contains the error
number" and the field contains: 0x6d000780

What is this? A known issue with beta 2 or am I doing something wrong?

regards,
Steen Tøttrup
CreativeMinds

Nov 17 '05 #1
1 2094

"Steen Tøttrup" <js**@post2.tel e.dk> wrote in message
news:Og******** ******@TK2MSFTN GP10.phx.gbl...

I don't know if there is another newsgroup where I should ask this
question..??

I have this .NET web application that I've build using .NET 1.1. Now
I've moved it to .NET 2.0 beta 2, and suddently I'm getting all sort of
strange behaviour!!

I'm using a HttpHandler (not .aspx files). When I have to output the
content of a page, I load the content classes with reflection. If the
user does not have permissions to see the content (using my own
permission system), I throw an exception!

Normally I don't have any problems with debugging through exceptions,
but when I throw this exception, after about 30 seconds, I get "The
connection was refused when attempting to contact localhost:2021" in
Firefox, and in IE I get the "Server not found" page. Sometimes VS 2005
shows me an StackOverflowEx ception in the running(debug) code..

Other places in my app there are no problems with exceptions, but when
throwing them from classes loaded with reflection, something fails!

When building the app for release, and running it on IIS, a error is
logged in the eventlog "A process serving application pool 'ASP.NET
V2.0' suffered a fatal error .... The data field contains the error
number" and the field contains: 0x6d000780

What is this? A known issue with beta 2 or am I doing something wrong?

regards,
Steen Tøttrup
CreativeMinds

Please post whidbey Beta2 questions to the whidbey forum
http://forums.microsoft.com, this NG is for the released version of .NET

Willy.
Nov 17 '05 #2

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

Similar topics

5
17276
by: Jesee | last post by:
I am reading Jeffrey Richter's book "Applied Microsoft .NET Framework programming",i came across "Exception handing". Page 405 says "If the stack overflow occurs within the CLR itself,your application code won't be able to catch the StackOverflowException exception and none of your finally blocks will excute.",I don't understand it. Following C# statement: class App { static void Main() {
2
2830
by: Anders Both | last post by:
In a system with asynkronius socket and different collection, there are some times throw a System.StackOverflowException . I cannot really figur out why , Can someone say something clever about System.StackOverflowException ? Best Regards,
0
1351
by: Elizabeth | last post by:
I have C# dll which I compile using ComInterop True and generate tlb type library. When I call function from the C# dll using below code I get an error "StackOverflowException in mscorlib.dll" Excel vba code: sub callwrapper() dim oxml as object dim sreturnxml as string, spassxmlstring as string
3
3680
by: Vladimir Arkhipov | last post by:
Hi, I noticed that finally block is not executed once I got StackOverflowException. Is that a known feature or a bug?
11
2912
by: Alx Sharp | last post by:
Hello group... I've created a collection class that implements the following interfaces: IBindingList, IList, ICollection, IEnumerable and ITypedList: abstract class DataCollectionBase : IBindingList, IList, ICollection, IEnumerable, ITypedList { private ArrayList innerList = null; private System.Type itemType = null; public DataCollectionBase()
20
3383
by: zapov | last post by:
Hi! I'm having some wierd problems with this exception (error). If I use sql commands to insert data into sql server i get strange behaviour from my application. First I used a single threaded application and used Application.DoEvents() when i needed to wait some time. (I need to process some external information on events so I can't just use Thread.Sleep).
0
263
by: Steen Tøttrup | last post by:
I don't know if there is another newsgroup where I should ask this question..?? I have this .NET web application that I've build using .NET 1.1. Now I've moved it to .NET 2.0 beta 2, and suddently I'm getting all sort of strange behaviour!! I'm using a HttpHandler (not .aspx files). When I have to output the content of a page, I load the content classes with reflection. If the user does not have permissions to see the content...
8
2497
by: Lars-Erik Aabech | last post by:
Hi! I've got an asp.net page that works for all users except one and that one user only gets the error with a certain parameter set to a certain value. (Same value as the others, but for this one it fails). I manage to reproduce the error on my development computer, but it's completely impossible to debug or trace the error. The page had for some reason aspCompat set to true, and that gave a short stack trace, when set to false there's...
10
14852
by: Mae Lim | last post by:
Dear all, I'm new to C# WebServices. I compile the WebService project it return no errors "Build: 1 succeeded, 0 failed, 0 skipped". Basically I have 2 WebMethod, when I try to invoke the first method it is working fine. Then when I try to invoke the second method it return me an error, Just In-Time Debugging, with error message "An exception 'System.StackOverflowException' has occurred in WebServices"
0
8913
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9426
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9280
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9200
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8144
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6722
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6016
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3238
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 we have to send another system
3
2162
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.