473,698 Members | 2,339 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 2092

"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
17269
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
2828
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
1349
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
3678
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
2908
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
3381
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
2493
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
14846
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
9157
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
9027
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
8895
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
8861
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7725
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
6518
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
4369
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2329
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2001
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.