Click to See Complete Forum and Search --> : Error: "Request Failed" of type 'System.Security.SecurityException'


Salika
December 1st, 2004, 09:59 AM
VB.net project was builed on C drive of local computer and works with no problem. When i copied code to of the only form to new project on the other drive I start getting an error:

An unhandled exception of type 'System.Security.SecurityException' occurred in ProjectName.exe

Additional information: Request failed.

The program brakes on InitializeComponent() line from:
Public Sub New()
MyBase.New()

'This call is required by the Windows Form Designer.
InitializeComponent()

'Add any initialization after the InitializeComponent() call

End Sub

Why does it happen? and how to handle it?

I would appreciate any advice.

DSJ
December 1st, 2004, 01:48 PM
I'm guessing the "other drive" is a network share. You'll need to go into the Microsoft .NET Configuration Manager (in administrative tools folder) and adjust the trust level for that shared drive, or of the local intranet.