Re: run windows forms from localIntranet_zone by Peter
Peter
Mon Dec 13 12:05:51 CST 2004
Hi Miro
You probably only configured code access (CAS) security for the machine
level. It is possible to do the same on an enterprise and a user level. The
default settings of the enterprise and the user level are such, that they
grant everything every right. Restrictions take place on the machine level.
The way CAS works is, that it grants the intersection of the security
permissions granted on each level.
The reason for your problem might be, that either the enterprise and/or the
user level are configured so that they do not grant certain permissions for
the LocalIntranet_Zone.
Therefore, check this settings in the environment, where you have problems.
Cheers, Peter
"Miro" <Miro@discussions.microsoft.com> wrote in message
news:791FBD6A-DB50-40EC-B6BC-844A41ABF798@microsoft.com...
> Hello!
>
> I have a windows forms application developed in VS.NET 2003 (C#) that I
want
> to install on the intranet. I've created a strong_name.snk file, compiled
it
> with the app, installed it on the server and on the client machine, I
added
> the child code group under LocalIntranet_Zone, for that assembly, with
full
> trust. I did it on two separate intranet systems and it worked in one
place
> but not the other. I've created a simple test-application (also with
strong
> name) and just copied the file to the network share but it gave me a
warning
> that the application was running in a partailly trusted context. Is it
some
> security settings in Windows causing this error? Where should I look?
>
> Thanks!
> /Miro