We have a legacy code that uses MSXML2 with vb6 that works fine. Lately we converted the project to VB.NET and we are experiencing issues with the msxml when the xml getting big – basically it hung.
After googling the issue we found this article that says The use of MSXML is not supported in .NET applications
http://support.microsoft.com/kb/815112
I wonder if anyone know of a third party component that can imitate what msxml does but still can work with .NET . The other option is to rewrite those parts of code (using system.xml or linq) are very painful because the extensive use of MSXML in our application.
Thanks,
Pini.
Unfortunately no, not that I’ve ever heard of. Microsoft does have another utility out there called XmlLite that sometimes sounds like it works with managed code but sometimes not. I’ve never tried it but its probably worth at least investigating. Otherwise your only options are to not upgrade to .Net or to migrate to managed XML. MS does have an article that might help you, HOW TO: Implement Common MSXML Tasks in System.xml By Using Visual C# .NET.
But if you do decide to re-write in managed, since you’re using VB.Net I’d highly recommend looking into XML Literals. XML is insanely easy when using them.