G
Guest
We have a mixed application that includes managed and unmanaged code. Until
recently we've been able to remote debug by disabling the security policy to
get the MFC managed dlls to load properly over the network. However, we are
now using classes in the system.data.dll assembly which according to
connect.microsoft.com is not allowed to run with the security policy
disabled. Here is the quote from them:
In the 2.0 version of .NET, you can no longer turn off CAS policy checking
on assemblies with code that can't be verified. This includes
System.Data.dll. Please note that the performance gain in turning off policy
checking is much smaller in 2.0 than in 1.1, so if you are using caspol to
increase compiler performance, that should no longer be needed.
Our only option is to now copy the mfc debug dlls manually or create a
script to install them and disregard the non-redistributable licence. Please
help us overcome this issue.
Brandon
recently we've been able to remote debug by disabling the security policy to
get the MFC managed dlls to load properly over the network. However, we are
now using classes in the system.data.dll assembly which according to
connect.microsoft.com is not allowed to run with the security policy
disabled. Here is the quote from them:
In the 2.0 version of .NET, you can no longer turn off CAS policy checking
on assemblies with code that can't be verified. This includes
System.Data.dll. Please note that the performance gain in turning off policy
checking is much smaller in 2.0 than in 1.1, so if you are using caspol to
increase compiler performance, that should no longer be needed.
Our only option is to now copy the mfc debug dlls manually or create a
script to install them and disregard the non-redistributable licence. Please
help us overcome this issue.
Brandon