Errors due to "full trust" issues in development

K

KWenstrup

Hi:

I've recently tried to move my development platform from one machine to
another (using Visual Studio.NET/managed code). I've come across several
errors (see below) that I've traced back to the fact that my form during
development is not "full trust". The form works once I install it in another
directory with full trust.

The issue is that this same code works on the original development machine.
It seems that when VS.NET creates the original IP project, it seems to give
full trust to the template being developed in the development directory.
However, once I copy the code (check out of VSS) to another machine, that
trust is lost and the same code gives security errors on the other machine.

I can't figure out how to register the development version of my templates
on the new machine so I can continue debugging. Has anyone seen this or have
any suggestions?

Thanks:
- Ken

--------------
Info: The errors I've received have varied:
- One security issue seems to be a web reference in my proj. On a 2000
machine, this gave me an error of "One or more of the types in the assembly
unable to load." On an XP machine, I just got a mscorwks.dll fault.
- Another error is from calling a task pane procedure from managed code.
That gives me a "security error" message.
 
A

Anjan Patel

Go to Settings -> Control Panel -> Admin -> .NET 1.1 wizard -> Adjust
Security -> Local Internet. Set the value to full trust and you will
able to run you application without permission problem.
 
K

KWenstrup

Thank you for the suggestion. Unfortunately, this did not fix my issue. The
problem doesn't seem to be in the trust level of the things I'm calling, but
rather in the trust level of the form itself in the development environment.
Once I install the form with full trust, everything works fine. So I need to
figure out how to give my form full trust in the new development environment.

- Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top