Building, making an exe

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
 
R

rowe_newsgroups

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top