File Access Error

G

Guest

I have an application on a server which I have used the .Net wizard to
provide "full" trust to the application. Works fine from the server, but
when I invoke the application logged onto my local workstation and double
clicking on the bat file that invoke the application on the mapped drive for
the server, I get the following error..

System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089
failed.

This file is not local to the server, it is yet another mapped drive to yet
another server. I do not have signon privalges to the server for which
mapped drive is located that the application is attempting to open/update.

What can be done to enable me to run the application remotely?

Any ideas?
 
G

Guest

You probably know this already but i am just making sure that you do..

When you double click an application that exists on a shared drive from your
workstation you are actually executing the application on your machine and
not on the server.

To run an application remotly, you should write a script or look into
something like
psexec http://www.sysinternals.com/ntw2k/freeware/psexec.shtml
(Either way you need to have enough permissions to do so, which probably you
do if you can run it from the server itself)


-Ash
 

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