I have an executable I have built. On some computers it runs without
a problem. On others it will give a security exception. If I run the
.NET Configuration wizard and move the level from no trust to the
first level up, it will then run the program.

How can I workaround this or fix it? I can't find anything.

Thank you.

Re: Assembly Trust Question by Consultant

Consultant
Thu Sep 09 09:43:16 CDT 2004

you are making a call to code, which needs elevated privileges. either set
your trust level to full or create a code group and permission set for the
assembly or load it in the gac


"jm" <john_20_28_2000@yahoo.com> wrote in message
news:c67e4bdd.0409081326.77848829@posting.google.com...
> I have an executable I have built. On some computers it runs without
> a problem. On others it will give a security exception. If I run the
> .NET Configuration wizard and move the level from no trust to the
> first level up, it will then run the program.
>
> How can I workaround this or fix it? I can't find anything.
>
> Thank you.



Re: Assembly Trust Question by john_20_28_2000

john_20_28_2000
Thu Sep 09 20:49:18 CDT 2004

But do I do this in the code, in VS or the client?

"Consultant" <consultant_mcngp@yahoo.com> wrote in message news:<uuGeYtnlEHA.1152@TK2MSFTNGP11.phx.gbl>...
> you are making a call to code, which needs elevated privileges. either set
> your trust level to full or create a code group and permission set for the
> assembly or load it in the gac
>
>
> "jm" <john_20_28_2000@yahoo.com> wrote in message
> news:c67e4bdd.0409081326.77848829@posting.google.com...
> > I have an executable I have built. On some computers it runs without
> > a problem. On others it will give a security exception. If I run the
> > .NET Configuration wizard and move the level from no trust to the
> > first level up, it will then run the program.
> >
> > How can I workaround this or fix it? I can't find anything.
> >
> > Thank you.