Solved

Problem with deserializing an xml document.

Posted on 2006-06-30
7
876 Views
Last Modified: 2008-01-09
I wrote a proxy to consume a .net webservice in c#.net  The proxy works fine in .NET and used to work fine when I used it in a vb6 application.  However, ever since I installed the .net framework 2.0 if I recompile the proxy I get the following error when using in the vb6 app.  

-2146233079 There is an error in XML document (0, 0)

It still works fine in .NET just vb6.  Also, when I uninstall the .net framework 2.0 and recompile it works fine.

Any suggestions?
0
Comment
Question by:BofADev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
7 Comments
 
LVL 4

Accepted Solution

by:
Jigit earned 250 total points
ID: 17026498
This may relate to the version of MSSML object installed on your machine and being used by your application. If your VB6.0 application uses:
ActiveXObject("MSXML.DOMDocument") it will create XML document with the default installed version
If it uses ActiveXObject("MSXML2.DOMDocument") or ActiveXObject("MSXML3.DOMDocument") it will create with the specified version. Maybe .NET 2.0 installs a newer version of XML Document which is not supported by VB6.

If your application uses XML Document without any version, then try to specify a version 2 or 3.

HTH,
Jigit
0
 
LVL 9

Assisted Solution

by:lojk
lojk earned 250 total points
ID: 17037352
Er yeah, think .net2 uses the MSXML6 Parser...

Download the SDK/Redistributable for the lateset MSXML Parser and add that reference to your VB6 project reference list instead of the exisiting v2-v4 that you are probably using...
0
 
LVL 9

Expert Comment

by:lojk
ID: 17233829
50/50 split between jigit (Accept) and lojk(Assist) would suffice, we had supplied all required info...
0
 

Author Comment

by:BofADev
ID: 17234486
That is fine with me.
0
 
LVL 9

Expert Comment

by:lojk
ID: 17240803
OK BofADev, save the page cleanup-erers and moderators a job, close the post yourself and split the points...
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Import MySQL data into MS Access using VB.Net interface 5 48
abstract class C# 1 36
Please explain purpose of GZIP 4 56
reading excel file in .net 2 30
It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question