Hi There -
We are facing AS2 connection problem with one of our customers. Following is scenario.
Problem Scenario
- We BizTalk 2010 server with which we are trying to connect one of our customers bank for secure communication.
- 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 |
- I have compared the UAT and Production servers AS2 receive URL configurations and these are completely alike.
- 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
- I have setup the IIS Log trace. Following are the traces from IIS.
Action Performed to resolve the issue.
- Compared the UAT and Production server settings both are alike.
- 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
Installed the party certificates by referring following URL
http://msdn.microsoft.com/en-us/library/aa559902.aspx#step5
- 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 .
- Firewall ports are open to accept the traffic, I have to log from network team.
-
I tried following URL.
- 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
- 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
- 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 08, 2014 12:18 AM Edit the some critical information