Building, making an exe

  • Thread starter Thread starter Zamdrist
  • Start date Start date
Z

Zamdrist

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.Security.SecurityException:
System.Security.Permissions.SecurityPermission

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
 
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.Security.SecurityException:
System.Security.Permissions.SecurityPermission

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:

http://support.microsoft.com/default.aspx?scid=kb;en-us;832742

Thanks,

Seth Rowe
 
Back
Top