CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2004
    Posts
    8

    Error: "Request Failed" of type 'System.Security.SecurityException'

    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.

  2. #2
    Join Date
    Jun 2001
    Location
    MO, USA
    Posts
    2,868

    Re: Error: "Request Failed" of type 'System.Security.SecurityException'

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured