Today after I deploy and configure a new version of an existence solution, I tried to start the application and it gave me the following error:
TITLE: BizTalk Server 2006 Administration Console
Could not enlist orchestration ‘MyAssembley, Version=18.104.22.168, Culture=neutral, PublicKeyToken=776eb620b83c3d30’. Could not enlist orchestration ‘MyAssembley, Version=22.214.171.124, Culture=neutral, PublicKeyToken=776eb620b83c3d30’. Object reference not set to an instance of an object. (Microsoft.BizTalk.SnapIn.Framework)
This error, “Object reference not set to an instance of an object“, occurs when I went to enlist the new orchestration.
This maybe happens because the DLL’s presents in the GAC are not correct, or they are missing.
Remove all the DLL’s and then deploy afterward or update them in GAC, normally solves this problem.
Remove all the DLL’s and then change the DLL version (for example 126.96.36.199) and deploy the solution also, normally, solves this problem
But because today I was a little lazy and my lab machine had several windows updates to do, I decided to make a restart to my environment and install all updates and then deal with this error :).
Then came the best part, I decided to make one more shot, without changing anything, just application start J and IT WORKS!!
Restart your machine!