Re: runtime error 800a0030 when executing vbscript from w2k. Works
From: a_sakuma (asakuma_at_discussions.microsoft.com)
Date: 02/09/05
- Next message: Joe: "Memory leak with adodb.stream object"
- Previous message: Al: "Re: ERROR_ACCESS_DENIED5 (00000005)"
- In reply to: Michael Harris \(MVP\): "Re: runtime error 800a0030 when executing vbscript from w2k. Works on"
- Next in thread: Michael Harris \(MVP\): "Re: runtime error 800a0030 when executing vbscript from w2k. Works"
- Reply: Michael Harris \(MVP\): "Re: runtime error 800a0030 when executing vbscript from w2k. Works"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 8 Feb 2005 23:27:01 -0800
Thank you for the prompt answer.
The COM server (it is not DLL, but out proc exe) is registered on both
systems.
To test if it is registered and working, I used visual basic 6.0 with SP5 to
make the same coding used on vbscript and it worked fine under windows 2000
pro.
I forgot to mention more about the enviroment, but basically the COM Server
is out of process exe and it was coded using Visual c++.NET 2003 and ATL7.0
This COM Server is unmanaged.
"Michael Harris (MVP)" wrote:
> a_sakuma wrote:
> > When running the script from command prompt:
> > c:\wscript MyScript.vbs under windows 2000 professional, I got the
> > error below.
> >
> > Microsoft VBScript runtime error '800a0030'
> > Error in loading DLL: 'MyDocs'
>
>
> Om the W2K box, from a command prompt opened on the directory containing the
> dll, run:
>
> regsvr32.exe yourdllname.dll
>
> Does the dll register correctly as a COM component?
>
>
> >
> > But when running under Windows XP Professional, it works fine.
> >
> > WSH 5.6 on both systems. (on w2k the build is 8825 and on winxp is
> > 8820)
> >
> > The script is a simple:
> >
> > Dim app
> > Dim doc
> > Dim work
> >
> > Set app = CreateObject("MyDLL.MyApplication")
> > Set doc = app.MyDocs("MyDocName")
> > Set work = doc.Work
> >
> > Set work = nothing
> > Set doc = nothing
> > Set app = nothing
> >
> > Any help is welcome
>
> --
> Michael Harris
> Microsoft MVP Scripting
>
>
>
- Next message: Joe: "Memory leak with adodb.stream object"
- Previous message: Al: "Re: ERROR_ACCESS_DENIED5 (00000005)"
- In reply to: Michael Harris \(MVP\): "Re: runtime error 800a0030 when executing vbscript from w2k. Works on"
- Next in thread: Michael Harris \(MVP\): "Re: runtime error 800a0030 when executing vbscript from w2k. Works"
- Reply: Michael Harris \(MVP\): "Re: runtime error 800a0030 when executing vbscript from w2k. Works"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|