Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
misc
exam.security
microsoft_update_catalog
msdn.annotations
msdn.drgui.discussion
msdn.duwamish
msdn.general
msdn.magazine
msdn.soaptoolkit
msdn.webservices
msdntraining
opsmgr.connectors
opsmgr.sp1
technet
technet.howtofeedback
technet.howtoneeds
technet.magazine
technet.technettalks
  
 
date: Tue, 11 Apr 2006 03:04:01 -0700,    group: microsoft.public.technet.howtoneeds        back       


SoapToolkit 3.0 Problem on SoapReader30.LoadWithParser   
Hi, I need urgent help with a SoapToolkit v3.0 problem. On 1x customer PC we 
have installed SoapToolkit v 3.0 and run a simple script to decode 
SoapStreams with DIME attachments. When I call LoadWithParser it works 
everywhere but not 1x customer PC where it fails with: "ActiveX-Komponenten 
kann kein Objekt erstellen" which means that "Class is not registered". I 
have no reason why this error occur, we installed SOAP again and again and 
still nothing. 

Please help!!!

Marian Pascalau

Attachment; my VBS test program: 
option explicit
'on error resume next
call main(WScript.Arguments)
if Err.number <> 0 then
  WScript.Echo Err.Description
end if

sub main(args)
    dim reader
    dim parser
    dim strm

    set reader = CreateObject("MSSOAP.SoapReader30")
    set parser = CreateObject("MSSOAP.DimeParser30")
    set strm   = CreateObject("ADODB.Stream")

    dim sarg, nidx
    for nidx = 0 to args.Count - 1 
        sarg = args(nidx)
        
        strm.Open
        strm.Charset = "ascii"
        strm.Type    = 2
        strm.LoadFromFile sarg

        if reader.LoadWithParser(strm, parser) then ' here fails !!!
            WScript.Echo reader.RpcParameter("Subject").Text
        end if

        strm.Close
    next


    set strm   = Nothing 
    set reader = Nothing
    set parser = Nothing
end sub
date: Tue, 11 Apr 2006 03:04:01 -0700   author:   Marian Pascalau Marian

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us