Turning caspol -s off and Oracle ODP stops to retrieve data. New MS bug!

If you write your code using CLR 1.0 and used System.Security.SupressUnmanagedCodeSecurity attribute and your code is used by CLR 1.0 code when caspol turn off, SupressUnmanagedCodeSecurity won't be recognize from 1.1 code and exceptions will stop your code execution. That exactly what happened with Oracle ODP code that shipped compiled with CLR 1.0 version even for CLR 1.1 version. Meanwhile Oracle send us ODP version compiled with CLR 1.1 and every thing work great.

 

No Comments