473,387 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Problems with .NET beta 2 and StackOverflowException


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 StackOverflowException 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 2068

"Steen Tøttrup" <js**@post2.tele.dk> wrote in message
news:Og**************@TK2MSFTNGP10.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 StackOverflowException 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
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...
2
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...
0
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" ...
3
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
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 :...
20
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...
0
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...
8
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...
10
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...

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.