Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiler Error: Type 'MSXML2.DOMDocument40' is not defin
Message
 
To
01/07/2006 15:59:40
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows Server 2003
Miscellaneous
Thread ID:
01133223
Message ID:
01133288
Views:
15
>>I checked and that class id is found on server. In fact, that key and its subkeys are identical to the values on my development machine.
>>
>>This makes me wonder if there is some permissions issue going on.
>
>Do you have the same .NET Framework on both?

Yes. Both have v2.0.50727.

I am now trying a different approach that gets around the "Type ... not defined" error by using
        Dim oDoc
        oDoc = Server.CreateObject("MSXML2.DOMDocument.4.0")
        oDoc.async = False

        Dim oHttp
        'oHttp = CreateObject("MSXML2.ServerXMLHTTP.4.0")
        oHttp = CreateObject("WinHTTP.WinHTTPRequest.5.1")
Because using CreateObject("MSXML2.ServerXMLHTTP.4.0") gives me an "Access is Denied" error when I send to the remote server, I am trying to make WinHTTPRequest work. (Adding the remote server to my Trusted Sites didn't help.)

Using WinHTTPRequest, I can post to the server. However the remote server is now returning an error saying that my input is invalid. I can't understand why my input XML is valid using ServerXMLHTTP but not when I use WinHTTPRequest.

So I will be contacting them on Monday.

Thanks again, Michel!

Tim
Previous
Reply
Map
View

Click here to load this message in the networking platform