MSXML 6 Error - connection terminated abnormally

hawkeye
Member Posts: 51
Hi All.
I have trouble with a XML call using below code in NAV 2009 R2 (classic)
It worked every day for several years, but suddenly this morning it gives me an error - see below.
I´ve searced the forum and I´m not the first person in the history having this isue, but I did not find anyone posting a soloution.
Code:
IF ISCLEAR(XmlHttp) THEN
CREATE(XmlHttp,TRUE,TRUE);
XmlHttp.open('GET',URL,FALSE);
XmlHttp.send;
(XmlHttp = automation 'Microsoft XML, v6.0'.ServerXMLHTTP60')
"This message is for C/AL programmers:
The call to member send failed. msxml6.dll returned the following message:
The connection with the server was terminated abnormally"
Br
Hawkeye
I have trouble with a XML call using below code in NAV 2009 R2 (classic)
It worked every day for several years, but suddenly this morning it gives me an error - see below.
I´ve searced the forum and I´m not the first person in the history having this isue, but I did not find anyone posting a soloution.
Code:
IF ISCLEAR(XmlHttp) THEN
CREATE(XmlHttp,TRUE,TRUE);
XmlHttp.open('GET',URL,FALSE);
XmlHttp.send;
(XmlHttp = automation 'Microsoft XML, v6.0'.ServerXMLHTTP60')
"This message is for C/AL programmers:
The call to member send failed. msxml6.dll returned the following message:
The connection with the server was terminated abnormally"
Br
Hawkeye
0
Answers
-
Why do you assume that the code stopped working when the error message clearly points to some connectivity problem?Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
@ Slawek_Guzek
Where do I write it´s the code that stopped working?
My guess is some kind of security thing is wong. Maybe a firwall og something like that blocked something.
If I take the URL and put it in a broweser, it works, so my guess is that it is not the recieverpart causing the problem.0 -
Fair point, you didn't.
Does the traffic from your browser goes out directly or through some proxy?Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
that´s a good question. hmmm I don´t think it goes through some proxy0
-
The hosting partner has done something with the firewall, it works now0
-
Or.... I thought so.
Still back to the same problem :-(0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions