VB .NET deployment

Hi

 

I need some help.

I've converted an old VB6 application into a VB .NET AddIn.

It works fine on my own computer (where it is developed) but I can't make the application work on any other computer.

An expression with the following text is thrown:

"System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: That assembly does not allow partially trusted callers.

at MSOIS2LDB.MSOIS2LDB.MSOIS2LDB..ctor(IntPtr mdlDesc)

The action that failed was:

Link demand

...

..."

 

I hope that someone can give me a tip to what I'm missing or doing wrong.

 

Thanks in advance

Regards,

Evan