.NET Permissions

  • Thread starter Thread starter Marco Trapanese
  • Start date Start date
M

Marco Trapanese

Hi!

I have an application composed of two executables and two dlls.
Both exe project are configured as full trust.
On the development machine all works fine.

When I test them on another machine either copying the bin folders or
using the "publish" feature in VB.NET Express they don't run.

I get several execptions like this:

"That assembly does not allow partially trusted callers." (why? I set my
projects as *full* trust).

"To grant this application the required permission [...] use the
Microsoft .NET Framework Configuration tool." (how? MS does not include
the mscorcfg.msc into the Framework 2.0...)

Could you help me, please?
Tell me if you need more details.

Marco / iw2nzm
 
Look into Global Assembly Cache (GAC) for your assemblies. Once added they
should be fine
 
Newbie said:
Look into Global Assembly Cache (GAC) for your assemblies. Once added they
should be fine


Uh...
I read tons of articles about GAC, but I'm still a *bit* confused.

Examples:

My application (written in Visual Basic .NET Express) is composed of one
executable and two dlls. One of the two is mine.
I compile the solution and it works as expected on the development
machine. Well, now I want to distribute it.

What should I do?


Thanks again
Marco / iw2nzm
 
Back
Top