PowerShell to Create XML File to Kick Off an Orchestration

I wanted to use Windows Task Scheduler to create a small XML file, which is written to a disk directory tied to a BizTalk receive location. Receipt of a file starts an orchestration, which I wanted to schedule to run at a certain time each day. I used to do this kind of thing in […]

Error: There was a failure executing the receive pipeline / Finding the document specification by message type

Error: There was a failure executing the receive pipeline: “Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″ Source: “XML disassembler” Receive Port: “Receive_ExtractEFSR_Delta_FMA” URI: “mssql://.//QTAviation?InboundId=ExtractEFSR&ExtractTypeCode=Delta_FMA_Daily” Reason: Finding the document specification by message type “http://schemas.microsoft.com/Sql/2008/05/Polling/#Polling” failed. Verify the schema deployed properly.   Solution: Needed to change from Polling to TypedPolling  (on Binding tab, inboundOperationType

Failed to update binding information/Object reference not set to an instance of object (Microsoft.BizTalk.ExplorerOM)

Error:  Failed to update binding information. (mscorlib) Object reference not set to an instance of object (Microsoft.BizTalk.ExplorerOM) This happened when I created a new empty application.  It took a binding file, i.e. “a feed” from another app, exported it, changed the environment names, and re-imported it. The problem was that the binding used maps and […]

BizTalk – Finding the document specification by message type … failed (with SOAP)

There was a failure executing the response(receive) pipeline: “Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″ Source: “XML disassembler” Send Port: “FlightStatsAPITest_1.0.0.0_FlightStatsAPITest.DemoFlightStats_FlightStats_271205145d00a26b” URI: “https://api.flightstats.com/flex/connections/docs/v1/lts/soap/schedulesConnectionsService.wsdl” Reason: Finding the document specification by message type “http://schemas.xmlsoap.org/wsdl/#definitions” failed. Verify the schema deployed properly.  Solution: make sure don’t have the .wsdl on the URL of the URL that you type in SEND port. […]

BizTalk Admin Console – Error: MMC could not create snap-in

There might be many reasons for the above error, but here’s one we couldn’t find anywhere else.   We had a licensed copy of Windows 2008/R2, then realized we could save a license and use our MSDN subscription on this developer virtual machine.  So my worker upgrade to the Enterprise Developer edition.  That seemed to mess […]

GacUtil gives this error: “This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.”

This happens when you run an old .NET Framework 2.0 version of gacutil.exe against an assembly built with Framework 4.0. Make sure you find and use the correct and latest version of GacUtil (you can see the disk path below). NOTE: You can add a post-build event so that a .DLL is automatically GAC’ed each […]

Problem with BTSNTSvc.exe.config “A failure occurred when executing a Windows service request”

Additional event log error: “Exception has been thron by the target of an invocation” Error in BizTalk Admin Console: “Failed to start the BizTalk Host Instance. Check the event log on the server … for more details”. Internal Error: “Unspecified erorr” (WinMgmt) I’ve seen these errors before, and it’s always a problem with the config […]

BizTalk WCF-SQL Error: BtsActionMapping “was not understood”

PROCEDURE (What I did to cause the error): 1) Use the adapter wizard to generate a schema and custom bindings for a SQL stored proc 2) Created an orchestration of my own, and then tried to call the stored prod with a two-way (request/response) send port. The ERROR that I received: <code>The adapter failed to […]

Powershell cannot be loaded because execution of scripts is disabled on this system

I was at a new client, trying to run a Powershell to help build my BizTalk binding files for the BizTalk Deployment Framework, and I got this error: PS C:developmentAllProjects.Deployment> .GenerateMasterBindingsFromLocal.ps1 File C:developmentAllProjects.DeploymentGenerateMasterBindingsFromLocal.ps1 cannot be loaded because the execution o f scripts is disabled on this system. Please see "get-help about_signing" for more details. At […]

“Object reference not set to an instance of an object” on Import Bindings in BizTalk

Got this error when importing a series of 5 SendPorts into a newly created BizTalk application: Failed to update binding information. (mscorlib). Additional Information: Object reference not set to an instance of an object. (Microsoft.BizTalk.ExplorerOM). My solution was that I needed to make a reference from the new application, to an existing application, which contained […]