Re: operation not allowed by the security policy




"atuljoshi" <atuljoshi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:67416C55-6B65-421E-94C6-D2A525FA88F3@xxxxxxxxxxxxxxxx
Hi
I am working on a window based program and I install this program on one of
my server which is having .NET Framework 2.0 and this window based
application is running fine on the same machine but when I am trying to run
same program on another machine by mapping the same folder in which my
program is available its showing me an error which is as follows:

The problem is you're running it off a network drive; when you do so you are no longer running the application in "Full Trust".

The best way to solve it would be to copy the program onto the local drive of the second machine, programs run off a local hard drive automatically run under full trust. Failing that you could edit the permission set for the local intranet (bad - as that will affect anything that runs from a network drive), or create a code group which has a membership condition of that particular location on the network and grant the CAS permissions it needs

.



Relevant Pages

  • Re: Format HD, reinstall XP Home - no floppy drive
    ... - Steve Wozniak ... you and Ms Malke or Mr Malke just go right up to people in the Mall if ... >> Never trust a computer you can't throw out the window. ...
    (microsoft.public.windowsxp.newusers)
  • Re: Hard drive
    ... - Steve Wozniak ... >> Never trust a computer you can't throw out the window. ...
    (microsoft.public.windowsxp.newusers)
  • Re: how to bypass dialog box
    ... for creation/activation of any window in your process. ... But a dialog box shows up and asked "The document 'myfile' caused ... Here is the script: ... .NET: It's About Trust! ...
    (microsoft.public.word.vba.general)
  • Re: how to bypass dialog box
    ... set the CBT hook to watch for creation/activation of any window in your ... .NET: It's About Trust! ... But a dialog box shows up and asked "The document 'myfile' ... Here is the script: ...
    (microsoft.public.word.vba.general)
  • Re: showing larger images in pop up window.
    ... my site is only for a small group of people in my immediate neighborhood who know and trust me. ... Seriously though, I have seen an accumulation of open popups that stayed open, but disappeared BELOW the window with focus because the user did not close the window, but instead clicked on the main page to view another image. ... I was thinking of using a code snippet which would close the popup whenever the popup lost focus 'onblur', or when the user clicked 'onclick' anywhere on the page. ... Why should an user/visitor visiting your site trust more your button than his own browser application and/or his own browser close button? ...
    (alt.html)