Building, making an exe

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Zamdrist

    #1

    Building, making an exe

    So I changed my configuration from Debug to Release, rebuilt both the
    solution and the application.

    I copied the program executable from \bin folder to another machine,
    here is the error I get:

    The application attempted to perform an operation not allowed by the
    security policy...

    ....System.Secu rity.SecurityEx ception:
    System.Security .Permissions.Se curityPermissio n

    Well we are just talking about a simple application, one module, one
    form a little bit of code, some API stuff working with window position
    and so on.

    What gives?

    Thanks

  • rowe_newsgroups

    #2
    Re: Building, making an exe

    On Apr 6, 3:02 pm, "Zamdrist" <zamdr...@gmail .comwrote:
    So I changed my configuration from Debug to Release, rebuilt both the
    solution and the application.
    >
    I copied the program executable from \bin folder to another machine,
    here is the error I get:
    >
    The application attempted to perform an operation not allowed by the
    security policy...
    >
    ...System.Secur ity.SecurityExc eption:
    System.Security .Permissions.Se curityPermissio n
    >
    Well we are just talking about a simple application, one module, one
    form a little bit of code, some API stuff working with window position
    and so on.
    >
    What gives?
    >
    Thanks
    Is the "other" machine your network server? Different security
    settings apply to different application locations:



    Thanks,

    Seth Rowe

    Comment

    Working...