Problems with .NET beta 2 and StackOverflowException

G

Guest

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
 
W

Willy Denoyette [MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top