# Wednesday, April 18, 2007

So, I was having fun building some Orchestrations and Pipelines in BizTalk 2006, when all of a sudden I started getting some awful errors when I went to deploy from Visual Studio 2005.  Here are the errors I received:

Object reference not set to an instance of an object.
 
at Microsoft.BizTalk.Deployment.BizTalkAssembly.GetConnectedPorts(BtsCatalogExplorer explorer, String pipelineFullyQualifiedName)
   at Microsoft.BizTalk.Deployment.BizTalkAssembly.RemovePortsUsingPipelines()
   at Microsoft.BizTalk.Deployment.BizTalkAssembly.RemovePipelines()
   at Microsoft.BizTalk.Deployment.BizTalkAssembly.Remove()
   at Microsoft.BizTalk.Deployment.BizTalkAssembly.RemoveNamedModule(String server, String database, String assemblyName, String assemblyVersion, String assemblyCulture, String assemblyPublicKeyToken, ApplicationLog log)
 
Unspecified exception: "Object reference not set to an instance of an object."

Failed to add resource(s). Change requests failed for some resources. BizTalkAssemblyResourceManager failed to complete end type change request. Object reference not set to an instance of an object. 

All I did was update a pipeline that was used by an Orchestration!  I tried all kinds of things to get this to work: restarted host instances, restarted the Enterprise Single Sign-On service, performed a full stop on all my applications, and even deleted all my project assemblies from the GAC.  Nothing worked except for rebooting.

That is, nothing worked until I decided to actually delete the pipeline from BizTalk application.   Once I manually deleted the pipeline, my deployments started working again.

Very strange behavior!

If anyone can explain to me why BizTalk behaves this way, I would greatly appreciate it.

Wednesday, April 25, 2007 2:21:26 AM (Central Standard Time, UTC-06:00)
I have the same problem, for what I understand from BizTalk, it is not at all deprived from bugs... especially on the deployment part. I now work on it for 3 months, and even if it is very well done, functional, performant, usefull, and I won't have done the work with traditional tools, there are problems with deployment, and .net assemblies location.
charlyz
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, b) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview