SP6 and problems with XML

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Dave V (d_verschleiser_at_hotmail.com)
Date: 04/29/04


Date: 28 Apr 2004 20:06:07 -0700

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



Relevant Pages

  • Re: DCOM Surrogates
    ... > believed it was possible to create a remote-server dll where I did not ... you're server has to be instantiated in a runnable process. ... but I am quite excited about this technology and what it ... then have to change the main app to accomodate it. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Desperate help
    ... Can you get around the problem by decompiling the dll, ... > I hav lost the source to the app, it hasnt needed changed in some time ... > exact) is now broken and cannot be changed server side. ... > the world NOT to use DEVPATH, I dont see it being an issue here, I ...
    (microsoft.public.dotnet.framework.clr)
  • Credentials being lost between servers - out of ideas!
    ... I have a webservice in production that is working great. ... I have a web app that works when it is on the same server as the web ... I have my app set up to impersonate, using windows authentication, and I ... The same error message is received. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: SP6 and problems with XML
    ... Would you know which DLL or OCX is causing the behaviour? ... > runtime on the production server. ... > test machine with the files you have on the server, ... when I compile my app and upload my DLL to my production app ...
    (microsoft.public.vb.enterprise)
  • Re: SP6 and problems with XML
    ... Would you know which DLL or OCX is causing the behaviour? ... > runtime on the production server. ... > test machine with the files you have on the server, ... when I compile my app and upload my DLL to my production app ...
    (microsoft.public.vb.bugs)