Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Plugin issue after onprem upgrade from v8.2 to v9.0

$
0
0

Hi,

We are in the process of upgrading an onpremise farm of +-20 organisations from v8 to v9. 
While testing the post-upgrade environments, we have the following error when executing plugins (on update eg.) on some organisations (not all of them):

The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

Server stack trace: at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrImmutable() at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)....


I've already googled this issue and the suggested "solutions" of rebuilding the plugin assembly with v9 sdk dlls didn't work.


However, I managed to get the plugins working again, by creating a new Visual Studio solution and copy/paste the code into the new project. I've registered the new assembly and moved the existing sdk message processing steps to this new assembly and all plugins worked again. I couldn't see any difference between the two solutions (same .net, same references, same signing key, ... except for a different assembly guid).

The thing is we have a lot of managed solutions on which we have the same issue and I can't create a new visual studio project for these...

Any suggestions on how to fix this?

BR,

Bram


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images