For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > April 2004 > SP6 and problems with XML









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author SP6 and problems with XML
Dave V

2004-04-29, 1:03 am

Hi,

Today I upgraded my development machine with Visual Studio SP6.
Now, when I compile my app and upload my DLL to my production app
server, I get an error (Object variable or with block variable not
set) whenever I try to access an object of type DOMDocument30. My DLL
resides on the app server and is called from an ASP page on a separate
web server. A proxy stub for the DLL is registered on the web server,
and the DLL has been set up as a COM+ app on the app server. This app
has been in production for months without a hitch.
Here's a simplified example:

Sub Test(ByVal vsXMLString as string)
Dim loXML as New DomDocument30

loXML.loadXML vsXMLString

End Sub

In this example, the error occurs when I try to call loadXML.
I've tried other methods of the object as well, and I always get this
error. The code I'm running hasn't changed at all. Like I said, the
only thing different is that I installed SP6 on my dev machine,
re-compiled there, and re-installed my DLL on my prod server. (I also
recreated the proxy stub and reinstalled it on the web server.) Now
my app doesn't run in production and my users are ready to slit my
throat (not to mention my boss). Any ideas?
(All machines mentioned are running Win2K Pro and all have the
same version of MXSML3 SP4).

Thanks,
Dave
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com