HTTP receive adapter

Home Page Forums BizTalk 2004 – BizTalk 2010 HTTP receive adapter

Viewing 1 reply thread
  • Author
    Posts
    • #14104

      Dayo,

      This is done using the Internet Services Manager (the IIS console) and not the component services one.

      What you’ll want to do is:
      – Open the IIS manager
      – Create a new AppPool (right-click on the AppPools node, select new).
      – Modify the new pool to run under the account of your BizTalk Isolated Host
      – Select the web folder where you put the ISAPI DLL for the HTTP receive adapter and make sure it is configured as an IIS application, and then have it run using the new AppPool you created (this is all done through the properties for the folder in IIS manager).
      – Run IISRESET to ensure your settings are picked up.

    • #14105

      Dayo,

      Usually, you’ll create a user account that is a member of the \”BizTalk Isolated Host Users\” group, and you’ll use that as the identity for your appPool. It’s really not different than the service account you create (member of the \”BizTalk Application Host Users\” group) to run your BizTalk Application Hosts.

      The 500 server error might mean a number of things, including that the message was received but no subscribers where found; it’s not just that no access to the databse was allowed. You should take a look at the server’s Application Event Log, you should find more detailed information about the error there.

      • #14106

        Dayo,

        Are the web/biztalk server and the db server different machines? If so, is the account you’re using a domain account?

        What I might reccommend is to maybe enable failed login auditing on the SQL Server, maybe that way you’ll see what account it is trying to connect as, and that should give you a clue as to what is configured incorrectly.

        • #14107

          Hi there

          I’m following an example (from \”BizTalk Server 2004 Unleashed\”, page 180) that uses the HTTP receive adapter where a web page posts data to the receive port. I have copied the receive handler (BTSHTTPReceive.dll) from the \”biztalk installation/HttpReceive\” folder to the root of my web folder. Then, using the \”Component Services\” app within admin tools, it tells me to configure the web application to use the identity of a member of the BizTalk users group to ensure that the handler will have access to the MessageBox.

          Does anyone know how to do this configuration of the web app using Component services? I have opened it up, but have no idea how to proceed, and it doesn’t tell you in the book.

          Cheers

          • #14108

            Hi

            The application pool now runs under the identity of the \”biztalk isolated host instance\” account. But now all I get is a \”500 Internal Server Error\”. I have done some searching and found that you get this error because the identity running the Application Pool does not have access to the biztalk databases and therefore has to be added to the Biztalk Isolated Host Users Group, which I’m sure the \”biztalk isolated host instance\” account is.

            Any other ideas?
            Cheers

            • #14109

              Hi

              I get the following 3 errors within the application event log:

              An attempt to connect to \”BizTalkMgmtDbDev\” SQL Server database on server \”nsccorp1\” failed with error: \”Cannot open database requested in login ‘BizTalkMgmtDbDev’. Login fails.\”
              ——————————————————————————-
              The Messaging Engine failed to register the adapter for \”BizTalk HTTP Receiver\” for the receive location \”/WebSiteRoot/BTSHTTPReceive.dll\”. Please verify that the receive location is valid, and that the isolated adapter runs under an account that has access to the BizTalk databases.
              ——————————————————————————-
              BizTalk HTTP receive adapter failed to initialize itself. Possible reasons:
              1) Receive location URL is not created/configured correctly
              2) Receive location is not enabled
              3) HTTP receive adapter is not running under a user that has access to management and message databases
              4) Isolated host instance is not created for HTTP Receive adapter.
              ——————————————————————————–

              My site \”WebSiteRoot\”, is within an Application Pool whose identity is a member of both the \”BizTalk Isolated Host Users\” group and the \”IIS-WPG\”. So it should have access to the BizTalk databases on \”nsccorp1\”.

              What do you think?
              Cheers

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.