Unable to run EXE (Console C# application) from Network Drive

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I am unable to run the Eexcutable written in C#(Console Application) Through the Network Drive. And the same exceutable runs properly on the local machine.

So can anyone help me how to get rid of this issue. In this EXE i am using three COM dll. If i tried to strong Naming the EXE then it says that Dependencies should also be Stronly Named. It is so and if yes then please let me know about the same.

Thanks in advance,

Regards,
Ankur
 
I don't have the exact procedure to trust assemblies on network disks (so I
can't help), but there's a general security policy in the .net framework
saying applications on network disks aren't allowed to run. You will save
yourself a lot of pain if you run the program locally instead ;)

Lars-Erik

Ankur said:
Hi,
I am unable to run the Eexcutable written in C#(Console Application)
Through the Network Drive. And the same exceutable runs properly on the
local machine.
So can anyone help me how to get rid of this issue. In this EXE i am using
three COM dll. If i tried to strong Naming the EXE then it says that
Dependencies should also be Stronly Named. It is so and if yes then please
let me know about the same.
 
In you "%SYSTEMROOT%\Microsoft .NET\Framework\vXXXXXX\" library you can find
the ConfigWizard.exe application. Select "Adjust .NET Security" and follow
the dialog 'till you can adjust security for "Local Intranet".

Beware, this is a systemwide setting and really should be used with some
care. All .NET application will be afflicted by this setting ...

Regards
Jesper


Ankur said:
Hi,
I am unable to run the Eexcutable written in C#(Console Application)
Through the Network Drive. And the same exceutable runs properly on the
local machine.
So can anyone help me how to get rid of this issue. In this EXE i am using
three COM dll. If i tried to strong Naming the EXE then it says that
Dependencies should also be Stronly Named. It is so and if yes then please
let me know about the same.
 
Back
Top