I have a web-service which was developed in .NET v2.0 many years ago. We also developed a client tool to connect to these using v2.0.
After updating the IIS application pool to v4.0, the client is seeing an error return from the web-service:
Error Level 1 Source: System.Web.Services Description:
System.Web.Services.Protocols.SoapException: Error Level 1 Source:
App_Code Description: Data Access Object Initialise Failed!
Error Level 2 Source: mscorlib Description: Cannot perform CAS Asserts
in Security Transparent methods
Should .Net 4 be compatible with older code? Is anyone able to provide some insight as to how I might get around this error?