File Access Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jim Heavey

    File Access Error

    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.Fi leIOPermission, mscorlib, Version=1.0.500 0.0,
    Culture=neutral , PublicKeyToken= b77a5c561934e08 9
    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?

  • Ash

    #2
    RE: File Access Error

    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
    "Jim Heavey" wrote:
    [color=blue]
    > 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.Fi leIOPermission, mscorlib, Version=1.0.500 0.0,
    > Culture=neutral , PublicKeyToken= b77a5c561934e08 9
    > 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?
    >[/color]

    Comment

    Working...