Re: Run app from network share
- From: "Jonas Nordlund" <nomail@newsgroups>
- Date: Wed, 12 Dec 2007 02:24:12 +0100
Hi!
For this, and to run applications in the security zone of network shares, we're signing our .NET assemblies with a strong key that is shared by all products from our company. We're then using a batch file (this can also be done in a UI, but more cumbersome for automated installs) to tell .NET to grant software signed with our key more access rights. I think that's a pretty "clean" way of doing it, with not having to disable or change any more global security settings, but just add some trust for the apps we're developing. They key we're signing our assemblies basically works as our signature or identity.
See more here:
- Signing an assembly in Visual Studio: http://msdn2.microsoft.com/en-us/library/ms247123.aspx (you'll only need to do this once per application)
- Running a .NET application on a server: http://weblogs.sqlteam.com/jhermiz/archive/2007/08/14/60284.aspx
/ Jonas
"B" <zelenooki05@xxxxxxxxx> wrote in message news:fjkecs$os7$1@xxxxxxxxxxxxxxxxxx
Can somedoby tell me the steps, or perhaps examples, which I have to.
complete to access .net application on client computer from network shared
folder on server computer??
I made a release of my appplication and it is on my D disk (D:\Test) and I
use third party control (xyz.dll) which is
in the same folder like exe file.
So, please.....
These are the steps on server:
1.
2.
...
These are the steps on client:
1.
2.
...
When I remove xzy.dll from my application, everything works fine. I can
start the application from network folder just through the shortcut
on client computer. But when I drag xzy.dll from toolbox and tried to start,
it shows me this error: "An error occurred creating the form. See
Exception.InnerException for details. The error is: Request for the
permission of type 'System.Security.Permissions.FileIOPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
Please help me.
Thanks!
- References:
- Run app from network share
- From: B
- Run app from network share
- Prev by Date: Re: Parsing a MailMessage
- Next by Date: Re: Help running a .NET 2005 executable on a network share? Trying to use ClickOnce
- Previous by thread: Re: Run app from network share
- Next by thread: Re: comp. crashes
- Index(es):
Relevant Pages
|