NAS: Stream returned a read error

Captain_DX4
Member Posts: 230
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!
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
Microsoft Dynamics NAV Developer
0
Answers
-
The error was fixed by applying Worldwide Hotfix 17.Kristopher Webb
Microsoft Dynamics NAV Developer0
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