Could not load MSXML.XMLHTTPRequest

zeon
Member Posts: 130
I am using dotnet to send xml to a webservice. Works fine on me dev machine, but not on-site at the customer. I am getting this error:
Could not load type 'MSXML.XMLHTTPRequest.'Microsoft.MSXML, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''.
What do I need to install? Thanks!
Could not load type 'MSXML.XMLHTTPRequest.'Microsoft.MSXML, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''.
What do I need to install? Thanks!
0
Comments
-
Hi
Try installing MSXML 6.0 or you can install NAV on that machine, as Microsoft Core XML Services (MSXML) 6.0 Service Pack 1 is installed as a pre-requisite.
I hope this helps
Thanks.0 -
I had a similar issue setting up a new clean App Server for the NAV Service.
Tried downloading and installing the various msxml6.msi installers.
They successfully installed but nothing was registered in the GAC??
What I used from another server with VS & SQL Server installed was: C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies\microsoft.msxml.dll
To register this to the GAC via powershell (without Gacutil.exe) I downloaded
https://powershellgac.codeplex.com/documentation?referringTitle=Home
In Powershell find the Modules Folder to extract the GAC folder too.
PS C:\Windows\system32> $env:PSModulePath
PS C:\Windows\system32> Import-Module Gac
Register the dll
PS C:\Windows\system32> Add-GacAssembly C:\Program Files\Microsoft Dynamics NAV\80\Service\Add-ins\microsoft.msxml.dll
Your Web Service codeunit should compile and the dll appear in C:\Windows\assembly\GAC_MSIL\Microsoft.MSXML0 -
Instead of trying to fix this issue you might want to take into consideration the following information by Microsoft:
The use of MSXML is not supported in .NET applications0
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