I've seen a couple topics posted on this, but none have shown a final resolution that I can see, at least not in relation to the problem I've experienced.
Setup:
Server is W2K, native database, beautiful setup with 4G RAM, huge SAN, Quad processor.
NAS Server is W2K, slightly smaller setup, but good amount of RAM and Dual processor I believe. MSMQ is installed on this box.
My workstation is WinXP SP2, 1.7 single processor, 1/2 G RAM, regular workstation.
Problem:
I have written an interface to a Java app that transmits and receives through MSMQ. Sending from Navision is beautiful. Messages go through without problem, and are received with no errors. From the Java program back to Navision is an issue.
I've tested my codeunit running on my workstation from within the Navision client. The message comes from the Java app and hits the MSMQ. The codeunit sees the message and collects it, parses it, and updates the database. Everything works fine.
I start up the NAS service and check the event log. Service responds correctly with the startup messages and I figure I'm in business. I send another message from the Java app. It hits the MSMQ, the codeunit sees the message and collects it, but when it tries to read it comes back with the "The stream has returned a read error." in the event log. I don't understand why the NAS is having trouble.
Some of the previous responses have centred around clearing or updating the XMLDom object, but unfortunately I'm not even using it, so that cannot be the trouble. So I'm appealing to the masses for other insights.
Cheers!
Kristopher Webb
Microsoft Dynamics NAV Developer
0
Answers
Microsoft Dynamics NAV Developer