Link to home
Start Free TrialLog in
Avatar of ubiwebdev
ubiwebdev

asked on

Trust a managed assembily in .NET 2.0

Hi,

I have made a managed assembily with .Net 1.1. And I used it in a web page.

On my local machine, I have both .Net framework 1.1 and .Net framework 2.0 installed. And whenever I invoke that assembily, I got a FileIOPermission error in mscorelib.dll 2.0.0.0.

I used the configuration tool in .Net Framework 1.1 to fully trust the assembily, it didn't work.
Then I uninstalled the .Net Framework 2.0, it works.

My questions is:
How to make sure my assembiliy only use .Net framework 1.1 on the client machine?
Or, an answer to the question: How to extend the trust to an assembily in .Net framework 2.0 without installing the SDK is also acceptable.

ASKER CERTIFIED SOLUTION
Avatar of yurisk
yurisk
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial