Question

I'm building a BizTalk 2010 Application in VS 2010. Everything had been working great until this morning when I got an error on deployment. The error is:

Failed to add resource(s). Change requests failed for some resources. BizTalkAssemblyResourceManager failed to complete end type change request. Could not save the log to HTML file "C:\Users\BizTalkDeveloper\AppData\Local\Temp\BT\PID7452\BizTalkAssembly\Update.log". Exception '', hexadecimal value 0x1F, is an invalid character. '', hexadecimal value 0x1F, is an invalid character".

At first, I thought this was a permissions issue but I'm logged in as a user who is an admin on the machine AND has full control access of that respective AppData folder. I'm pretty sure that VS creates the BT (and the following path) dynamically at deployment time because I can't find any part of that path after Temp when I look up the path itself.

I've been stumped with this for a few days and I am just out of ideas right now. If anybody had any suggestions or ideas they could throw my way, I'd really REALLY appreciate it!

Was it helpful?

Solution 2

I was able to resolve the issue by updating the version number on each project involved with the application and then re-deploying.

While this got the solution to work, I would still like to know, if anybody knows, what went wrong or what would be another way to solve it. Side note, I did try to uninstall the original version of the DLLs and then redeploy but that didn't work either.

OTHER TIPS

I had this problem and the error was in a receive location name. Export the bindings, then check the XML for "well-formedness". In my case, the error was like this:

<ReceiveLocation Name="In.ShowInvoice&#x1F;_FILE">

In BizTalk Admin console, just edit the name and export bindings again until the XML is well-formed.

If you have another BizTalk server available, you could try deploying your application there to see if it works in a different environment. Have you tried deploying a subset of your assemblies?

I did try to uninstall the original version of the dlls

What exactly did you try? E.g., have you undeployed and uninstalled the BizTalk application, then checked for remains in the GAC (.NET v2/v4)? I believe that should have been thorough enough.


I recall this System.Xml.XmlException could occur in BizTalk 2006 when trying to update an assembly while it is still referenced by an existing port.

Deleting the port or at least the dependency (i.e. chosing pass-thru adapter) should make the deploy work correctly; afterwards, do not forget to reconfigure the modified port…

If multiple references are in place, then perhaps it might be easier or quicker to just export the bindings, delete all ports, update your assemblies and finally import your bindings again.

There is default application in Biztalk Admin Console. It would be most probably: "BizTalk Application 1". Go to resource section and see if your application resources are there. If they are there remove them and deploye again

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top