Running Assembly from Network Drive
am 07.11.2007 20:23:03 von HLong
I have an assembly (VS 2005) which I need to run from a network drive. When
run from mycomputer the assembly works fine, but it fails to load from the
network. I tried to increase the trust level using the framework
configuration, but it reports "Hash for the assembly cannot be generated".
Could someone tell my what this means? In addition, Is there a better way to
allow an assembly to run from the network without going adjusting the
security level on every machine on the network? Thaks in advance.
RE: Running Assembly from Network Drive
am 09.11.2007 18:22:01 von dotNetDave
As you are finding out, apps started from a network have a limited set of
privileges. If this is a Windows app, why don't you use ClickOnce?
David
======================================
David McCarter [Microsoft MVP]
www.vsdntips.com
David McCarter''s .NET Coding Standards available at:
http://www.cafepress.com/geekmusicart.1654787045
"HLong" wrote:
> I have an assembly (VS 2005) which I need to run from a network drive. When
> run from mycomputer the assembly works fine, but it fails to load from the
> network. I tried to increase the trust level using the framework
> configuration, but it reports "Hash for the assembly cannot be generated".
> Could someone tell my what this means? In addition, Is there a better way to
> allow an assembly to run from the network without going adjusting the
> security level on every machine on the network? Thaks in advance.
>
RE: Running Assembly from Network Drive
am 13.11.2007 15:21:00 von HLong
Thank you David. I am using VS Express, no ClickOnce.
"dotNetDave" wrote:
> As you are finding out, apps started from a network have a limited set of
> privileges. If this is a Windows app, why don't you use ClickOnce?
>
> David
>
> ======================================
> David McCarter [Microsoft MVP]
> www.vsdntips.com
> David McCarter''s .NET Coding Standards available at:
> http://www.cafepress.com/geekmusicart.1654787045
>
>
> "HLong" wrote:
>
> > I have an assembly (VS 2005) which I need to run from a network drive. When
> > run from mycomputer the assembly works fine, but it fails to load from the
> > network. I tried to increase the trust level using the framework
> > configuration, but it reports "Hash for the assembly cannot be generated".
> > Could someone tell my what this means? In addition, Is there a better way to
> > allow an assembly to run from the network without going adjusting the
> > security level on every machine on the network? Thaks in advance.
> >