I posted this message in the .NET General forum but I am cross-posting it here
in the hopes that someone can help:
I am fairly new to the .NET architecture, so I apologize if this is a simple issue and I
just don't get it.
First the backgroud: I have an EXE file with a series of buttons that acts as a
switchboard for my users to access different files
(Excel, Access, etc.) located on a network file-server. The EXE file resides on a
network file-server and users execute the
EXE via a shortcut on their desktop. When a button on the switchboard is clicked, I
am using the Shell() function with the
appropriate file as an argument to launch the file on the user's computer. This EXE
file currently exists as a VB6 project and
works like a champ.
Now for my problem: I am upgrading to the VB.NET architecture and everything
works fine when I run the EXE from my
desktop. When I place it on the file-server and execute it from there, the
switchboard comes up fine but I cannot launch
any files when I click any of the buttons. I get an error stating that "The
application attempted to perform an operation not
allowed by the security policy. The operation required the SecurityException...". I
have full security rights to the area I am
trying to access -- obviously since I can successfully access it when the EXE is run
from my desktop. It only gives an error if
the EXE resides on the server. Has anyone experienced this problem or know the
solution??? Thanks!
Comments