none
BizTalk AS2 receive location (500.0 error) reported by eternal party when trying to reach BizTalk 2010. RRS feed

  • Question

  • 

    Hi There - 

    We are facing AS2 connection problem with one of our customers. Following is scenario.

    Problem Scenario –

    1.        We BizTalk 2010 server with which we are trying to connect one of our customer’s bank for secure communication.
    2.        Our UAT box  has been done with a successful test connection with that bank however when we move to production server, whenever the Bank try to send any simple .txt file via AS2 protocol, we do not receive the file and bank receive an error following message .

     <div><fieldset>   <h2>500 - Internal server error.</h2>    <h3>There is a problem with the resource you are looking for, and it cannot be displayed.</h3> 

    Bank has AS2 setup on following environment.

    AS2 Software Used

    Connect Enterprise

    AS2 Software Provider

    Sterling Commerce  (IBM Mail Slot)

    Platform on which AS2 Software is installed

    AIX

    1.        I have compared the UAT and Production servers AS2 receive URL configurations and these are completely alike.
    2.        Whenever I try browsing the virtual directory setup for AS2 from IIS 7.0 or from internet explorer with hostname and virtual directory, I get 500.0 internal error which following post says is absolutely fine, this should not be a problem.

    XXXXXXX

    1.        I have setup the IIS Log trace. Following are the traces from IIS. 


    Action Performed to resolve the issue.

    1.        Compared the UAT and Production server settings both are alike.
    2.         Setup the AS2 receive with reference of following URL .

    http://msdn.microsoft.com/en-us/library/bb727975.aspx

    http://biztalk-dish.blogspot.com.au/2012/07/guidance-on-edi-over-as2-in-biztalk.html

    http://www.biztalkbill.com/Home/tabid/40/EntryId/66/Configuring-BTSHTTPReceive-dll-to-work-on-IIS-7.aspx

    Installed the party certificates by referring following URL

    http://msdn.microsoft.com/en-us/library/aa559902.aspx#step5

    1.        App Pool a/c and (Isolated and Inproc) host a/c and the receive pipline host a/c are same and certificates has been installed by loggin to server with same account .
    2.        Firewall ports are open to accept the traffic, I have to log from network team.
    3.        I tried following URL.
      1.        http://go4answers.webhost4life.com/Example/http-receive-url-without-78425.aspx  (I have suffix the DLL name to the URL which party has to reach.

    Example - http://XXXXXXX/EDIIN/BTSHTTPReceive.dll

                        http://hostname/virutalDirectory/BTSDLL

    1.        I have tried resolving 403/ 405 error which sometimes reported in my IIS error log, which generally arrive after reset of IIS 7.0

    Using URL -         http://go4answers.webhost4life.com/Example/btshttpreceivedll-405-error-57131.aspx

                                    http://biztalk-diary.blogspot.com.au/2010/05/btshttpreceive-error-405-method-not.html

    1.        IIS errors has been referenced using following Url

    http://support.microsoft.com/kb/943891/en-us

    following are the error logs from IIS 7.0 log file, whenever party sends any message to our server.

    2013-12-14 19:02:59 10.83.241.83 POST /EDIIN/BTSHTTPReceive.dll - 80 - 10.83.251.4 Jakarta+Commons-HttpClient/3.0-rc4 500 0 0 9812

    2013-12-14 19:03:48 10.83.241.83 POST /EDIIN/BTSHTTPReceive.dll - 80 - 10.83.251.4 Jakarta+Commons-HttpClient/3.0-rc4 500 0 0 343

    2013-12-14 19:04:48 10.83.241.83 POST /EDIIN/BTSHTTPReceive.dll - 80 - 10.83.251.4 Jakarta+Commons-HttpClient/3.0-rc4 500 0 0 406

    Sometimes I find following entries though

     

    #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken

    2013-12-14 20:10:55 ::1 GET /EDIIN - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E) 301 0 0 453

    2013-12-14 20:10:55 ::1 GET /EDIIN/ - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E) 500 0 193 15

    Any advice will be a great help.

    Please Note: We have setup other virtual directories for receive HTTP connection using (BTSHTTPReceive.dll) file and these connections has been setup using same user account and are working perfectly fine.

    I repeat,

    >>           I have compared all the configurations for AS2 receive location with other setup on Production for other customers ( this is similar)

    >>           I have cross checked the setting with UAT box where connection with this Bank is working absolutely fine but in production it is NOT and configurations are similar.


    • Edited by amitkala Wednesday, January 8, 2014 12:18 AM Edit the some critical information
    Wednesday, January 8, 2014 12:14 AM

Answers

  • Did you check the security settings on your folder (where your BTSHTTPReceive.dll is located) in windows explorer?

    Glenn Colpaert - MCTS BizTalk Server - Blog : http://blog.codit.eu

    • Marked as answer by amitkala Monday, January 27, 2014 3:23 AM
    Thursday, January 9, 2014 8:55 AM
  • My apologies for delay in response here, I sought out this problem. As Glen advised, yes there were permission issues on the folder where BTSHTTPReceive.DLL was residing for my AppPool. 

    Ok, if I compare my UAT and Prod box, before making any changes, my UAT box was seamlessly working on AS2 with my party, as I mentioned in my query, the setting are alike on Production box still I was facing problem connecting with my Party and Party was reporting 500.0 Internal Server error. 

    I added up 2 more accounts on the folder where BTSHTTPReceive.DLL is residing. 

    1) Anonymous (with Full Access)

    2) Everyone (with Full Access)

    and my problem got resolved. :)

    But still this question is hounding me, why I need these user a/c with full permission on my production box to make it work where as my UAT box is working perfectly fine with my party connection. 

     Cheers 

    • Marked as answer by amitkala Monday, January 27, 2014 3:23 AM
    Monday, January 27, 2014 3:22 AM

All replies

  • Hi,

    It maybe windows firewall issue. you can try create a Windows Firewall exception if Windows Firewall is running on your server. And please refer the blog about 500 error in iis which might helpful:

    http://support.microsoft.com/kb/942031/en-us


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

    Thursday, January 9, 2014 3:11 AM
  • Thank you for your reply, 

    I have reffered the advised URL on IIS errors, the error currently I am facing either belongs to section 2, 4 and 7. I have followed the suggested guidelines and still no luck.

    Regarding firewall, i have checked with my network team and we can see the network traffic coming through successful, infact my IIS logs speaks that I am able to receive the message from party however there is some issue with my IIS. 

    Message doesn't land in biztalk.

    Thursday, January 9, 2014 8:30 AM
  • Did you check the security settings on your folder (where your BTSHTTPReceive.dll is located) in windows explorer?

    Glenn Colpaert - MCTS BizTalk Server - Blog : http://blog.codit.eu

    • Marked as answer by amitkala Monday, January 27, 2014 3:23 AM
    Thursday, January 9, 2014 8:55 AM
  • Hi Glen - 

    There are permission of Read and Execute for Admin, IIS_USRS still no luck.


    Sunday, January 12, 2014 1:07 AM
  • My apologies for delay in response here, I sought out this problem. As Glen advised, yes there were permission issues on the folder where BTSHTTPReceive.DLL was residing for my AppPool. 

    Ok, if I compare my UAT and Prod box, before making any changes, my UAT box was seamlessly working on AS2 with my party, as I mentioned in my query, the setting are alike on Production box still I was facing problem connecting with my Party and Party was reporting 500.0 Internal Server error. 

    I added up 2 more accounts on the folder where BTSHTTPReceive.DLL is residing. 

    1) Anonymous (with Full Access)

    2) Everyone (with Full Access)

    and my problem got resolved. :)

    But still this question is hounding me, why I need these user a/c with full permission on my production box to make it work where as my UAT box is working perfectly fine with my party connection. 

     Cheers 

    • Marked as answer by amitkala Monday, January 27, 2014 3:23 AM
    Monday, January 27, 2014 3:22 AM