<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Occasional Error using AIM with classic ASP.  Status code 12019 in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Occasional-Error-using-AIM-with-classic-ASP-Status-code-12019/m-p/12462#M7614</link>
    <description>&lt;P&gt;I am in the middle of trying to track down an occasional error I'm receiving when attempting to post a credit card transacton using the AIM method with classic ASP.&lt;/P&gt;&lt;P&gt;I have seen at least one similar issue in this community using the SIM method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Behavior:&lt;/P&gt;&lt;P&gt;Script issues a post to &lt;A rel="nofollow" target="_blank" href="https://secure.authorize.net/gateway/transact.dll"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt;&amp;nbsp;and 90% of the time all is well. &amp;nbsp;However about a month ago we started seeing credit card transactions fail one moment and then magically work a few minutes later using the same information. &amp;nbsp;I broke this down to a test script and sure enough about once out of every 10 to 20 attempts the script spins for while and then errors out as if something has timed out. &amp;nbsp;The only errors I have to go on is the status code property &amp;nbsp;from the Microsoft.XMLHTTP object which contains a value of 12019. &amp;nbsp;Usually after the failure I can run the script again and it works great and will continue to work for several minutes. &amp;nbsp;If I don't run it for say 10 &amp;nbsp;to 15 minutes my next attempt will usually fail. &amp;nbsp;After the fail the next one will go through.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The odd part is that we have two ASP sites running on two IIS7 servers. &amp;nbsp;Each site is split between the servers for redundency. &amp;nbsp;Site A on both servers is experiencing the same issue while Site B sails on without problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't expect anyone to have a solution right off the top of their heads, but was more curious if anyone has experienced a similar issue and if so what solutions did you find?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2011 22:03:33 GMT</pubDate>
    <dc:creator>mvince</dc:creator>
    <dc:date>2011-04-28T22:03:33Z</dc:date>
    <item>
      <title>Occasional Error using AIM with classic ASP.  Status code 12019</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Occasional-Error-using-AIM-with-classic-ASP-Status-code-12019/m-p/12462#M7614</link>
      <description>&lt;P&gt;I am in the middle of trying to track down an occasional error I'm receiving when attempting to post a credit card transacton using the AIM method with classic ASP.&lt;/P&gt;&lt;P&gt;I have seen at least one similar issue in this community using the SIM method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Behavior:&lt;/P&gt;&lt;P&gt;Script issues a post to &lt;A rel="nofollow" target="_blank" href="https://secure.authorize.net/gateway/transact.dll"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt;&amp;nbsp;and 90% of the time all is well. &amp;nbsp;However about a month ago we started seeing credit card transactions fail one moment and then magically work a few minutes later using the same information. &amp;nbsp;I broke this down to a test script and sure enough about once out of every 10 to 20 attempts the script spins for while and then errors out as if something has timed out. &amp;nbsp;The only errors I have to go on is the status code property &amp;nbsp;from the Microsoft.XMLHTTP object which contains a value of 12019. &amp;nbsp;Usually after the failure I can run the script again and it works great and will continue to work for several minutes. &amp;nbsp;If I don't run it for say 10 &amp;nbsp;to 15 minutes my next attempt will usually fail. &amp;nbsp;After the fail the next one will go through.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The odd part is that we have two ASP sites running on two IIS7 servers. &amp;nbsp;Each site is split between the servers for redundency. &amp;nbsp;Site A on both servers is experiencing the same issue while Site B sails on without problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't expect anyone to have a solution right off the top of their heads, but was more curious if anyone has experienced a similar issue and if so what solutions did you find?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2011 22:03:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Occasional-Error-using-AIM-with-classic-ASP-Status-code-12019/m-p/12462#M7614</guid>
      <dc:creator>mvince</dc:creator>
      <dc:date>2011-04-28T22:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Occasional Error using AIM with classic ASP.  Status code 12019</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Occasional-Error-using-AIM-with-classic-ASP-Status-code-12019/m-p/12498#M7629</link>
      <description>&lt;P&gt;After some more testing this morning I may have a fix for my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a test authorize account and every post to it succeeded without issue. &amp;nbsp;So my problem resided somewhere in my application communicating solely with &lt;A rel="nofollow" target="_blank" href="https://secure.authorize.net."&gt;https://secure.authorize.net.&lt;/A&gt; &amp;nbsp;On a whim I decided to use a different xmlhttp class object to perform the actual post. &amp;nbsp;The sample code from Authorize showed using the following object: &amp;nbsp;Set objRequest = Server.CreateObject("Microsoft.XMLHTTP")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I instead changed it to MSXML2.ServerXMLHTTP like so&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set objRequest = Server.CreateObject("MSXML2.ServerXMLHTTP")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instantly the posts to&amp;nbsp;&lt;A rel="nofollow" target="_blank" href="https://secure.authorize.net"&gt;https://secure.authorize.net&lt;/A&gt; started working and so far have not errored out. &amp;nbsp;So all I can guess is that there was a break down in the communication stack using the old class. &amp;nbsp;A server reboot may have flushed out the error as well but this is a production server and so I can not do that until some time third shift.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This may or may not help anyone else but I thought I'd provide the details anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2011 19:44:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Occasional-Error-using-AIM-with-classic-ASP-Status-code-12019/m-p/12498#M7629</guid>
      <dc:creator>mvince</dc:creator>
      <dc:date>2011-04-29T19:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Occasional Error using AIM with classic ASP.  Status code 12019</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Occasional-Error-using-AIM-with-classic-ASP-Status-code-12019/m-p/13052#M7879</link>
      <description>&lt;P&gt;I'm having the exact same issue...and it's been happening since around the same time as you report first seeing it. Error / status codes aside, the most obvious result was that the .responsetext was being returned as empty string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll be moving to the newer XMLHTTP stack, will report results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming this works, you've saved me a lot of time since this issue is a huge hassle to debug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2011 14:35:12 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Occasional-Error-using-AIM-with-classic-ASP-Status-code-12019/m-p/13052#M7879</guid>
      <dc:creator>charlesgray</dc:creator>
      <dc:date>2011-05-23T14:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Occasional Error using AIM with classic ASP.  Status code 12019</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Occasional-Error-using-AIM-with-classic-ASP-Status-code-12019/m-p/13054#M7880</link>
      <description>&lt;P&gt;Just an update...we've moved from classic asp .xmlhttp to the newer ServerXMLHttp and this seems to be working very well now. Subjectively, it seems to be faster as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2011 15:30:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Occasional-Error-using-AIM-with-classic-ASP-Status-code-12019/m-p/13054#M7880</guid>
      <dc:creator>charlesgray</dc:creator>
      <dc:date>2011-05-23T15:30:25Z</dc:date>
    </item>
  </channel>
</rss>

