Wednesday, October 3, 2012

Which process to attach while debugging WCF service in BizTalk


One of the differences between Isolated Host and In-Process Host is that an Isolated Host must run under another process, in most case IIS, and an In-Process host is a complete BizTalk service alone.

So, if you are using custom pipelines that are associated, for example with HTTP, SOAP or WCF Adapter, then you need to attach to the proper isolated host process, in this case “w3wp.exe” process.

Note:
The application pool process (w3wp.exe) is typically not started until the first request is received.

You can use a browser to access the receive location URL, this should return a WSDL and should cause the “w3wp.exe” process to initiate.


Steps:
1. Launch Attach to process window.
2. Select w3wp.exe process (Type: Managed)

No comments:

Post a Comment