System.Security.SecurityException not working??!

G

Guest

I have an application that actively check if it is run from a network
share/drive. It worked fine in the FX 1.0 days. Recently I just found that it
does not work anymore. If started from a network share/drive, it pops up this
error:

---------------------------
dummy.exe - Common Language Runtime Debugging Services
---------------------------
Application has generated an exception that could not be handled.

Process id=0x950 (2384), Thread id=0x97c (2428).

Click OK to terminate the application.
Click CANCEL to debug the application.
---------------------------
OK Cancel
---------------------------

And, I remember when FX 1.0 was first out, if a program compiled by VS.NET
2002 is run in a Windows version without 1.0 installed, it will pop up a
message box saying it needs FX 1.0 and instructs user to download it from
Microsoft web site. But now, it just pops up a exception messagebox.

Regression?

I have 1.0/sp3 and 1.1/sp1 both installed.
 
G

Guest

And in one of my applications, I wrap all possible codes with try/catch, but
none of them can catch the exception:

System.Security.SecurityException: Request failed.
at
Cassini.CassiniWebServerController.CassiniWebServerController_Load(Object
sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)

This is an exception and I must have a way to catch it right?
 

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