I tried "caspol -s off", but the error still occur.
Doh !
Claude
If you have run caspol from the 2.0 .net framework folder and you still get
the error, then it is not a security error. Running caspol from another
folder, 1.1 for instance would not work. On the other hand, your application
seems to be abnormal in its setup. Why are you running automation code from
a network share? In the typical case, you should have your application and
the interop dll's deployed to the network share but developped and debugged
locally. When you are satisfied that the application works, you deploy it to
the network share. Please explain why you need this setup.

Signature
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
-------------------------------------------------------
>I tried "caspol -s off", but the error still occur.
>
[quoted text clipped - 74 lines]
>> >> > Thanks,
>> >> > Claude
Claude - 29 Feb 2008 13:46 GMT
Ok, you are right. I shouldn't be developping from the network share. The
reason I'm doing this is because I develop a business library that I need to
share with the other developpers here. My library isn't the problem : I think
it's ok to have it on the network. The actual problem is that my test
application (to test my library) is also on the network and that's the
problem. I'll copy my test application localy and I'm sure it will solve the
problem, considering that it should be so.
Thanks,
Claude
> If you have run caspol from the 2.0 .net framework folder and you still get
> the error, then it is not a security error. Running caspol from another
[quoted text clipped - 83 lines]
> >> >> > Thanks,
> >> >> > Claude