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.
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.