I was using SetContext("entity", "ent_entityID");

to set context in dot NET for Custom Entity which works spot on for Sage CRM 7.3.a

but when client updated to Sage CRM 7.3 SP2.1 same thing starting to show DOTNET errors and it stop doing what it was doing on Sage CRM 7.3.a

In DOTNET error log it shows

Class: DataPageBase - Method: BuildContents - Error: Error HRESULT E_FAIL has been returned from a call to a COM component.
Class: DataPageEdit - Method: BuildContents - Error: DotNetBuildError

I have to revert back from CRM 7.3 SP2.1 to Sage CRM 7.3.a to keep it working.

Could anyone please advise what went wrog and how can i make DOTNET code work on CRM 7.3 SP2.1 .

Thanks