VBScript runtime error '800a01ad' when attempting to connect

I'm receiving the following error:

Microsoft VBScript runtime error '800a01ad'

ActiveX component can't create object

/screenscrape/shopsite.asp, line 5

(line 5 is the Server.Creatobject line below )

Thought I'd use the Shoping site as a test - so here is the code:

@LANGUAGE="VBSCRIPT" CODEPAGE="1252"
?>

' Create a RemoteScrapingSession object.
Dim objRemoteSession
Set objRemoteSession = Server.CreateObject("Screenscraper.RemoteScrapingSession")

' Generate a new scraping session.
Call objRemoteSession.Initialize("Shopping Site")

Call objRemoteSession.SetVariable( "SEARCH", "dvd" )
Call objRemoteSession.SetVariable( "PAGE", "1" )

' Check for errors.
If objRemoteSession.isError Then
Response.Write( "Error: " & objRemoteSession.GetErrorMessage & "
" )
Else
'
Tell the scraping session to scrape.
Call objRemoteSession.Scrape

objRemoteSession.StoreVariable ("PRODUCTS")
For
j = 0 To objRemoteSession.GetNumDataRecordsForDataSet("PRODUCTS") - 1
Response
.Write(objRemoteSession.GetDataSetValue("PRODUCTS", j, "PRODUCTID") & "
"
)
Next

End If

' Disconnect from the server.
Call objRemoteSession.Disconnect
?>

So here is the environment: Windows Server 2003, IIS 6.0

Above code is running as an asp

Did the following: Installed as server (can see it in services within Admin menu)
Copied all 4 files to \Windows\System32
Gave all 4 files full access permission for I_User and as many others as I could think of
Registered dll - successful message returned
Started Server
(ran taskmgr - Wrapper.exe is running in background)

Can't think what else to do -- or why I'm getting error --- any ideas?

VBScript runtime error '800a01ad' when attempting to connect

Hi RF,

Thanks for the postings. We actually just got a report from another client that just resolved this very problem. They are also using Windows Server 2003, and likewise pointed out that the OS doesn't ship with the Microsoft Virtual Machine. They were able to get it working, however, by installing a version of the Microsoft Virtual Machine from this site

http//www.mvps.org/marksxp/WindowsXP/java.php

Hopefully this resolves the problem for you as well. If not, please don't hesitate to post back a reply.

Best,

Todd Wilson
[email protected]

VBScript runtime error '800a01ad' when attempting to connect

Moved everything to a borrowed Win 2k server with a MS VM and it works fine.

Problem is I still want to find an older version of MS VM so I can install it on my Win 2003 server and upgrade to latest version. Looked for it everywhere - can't find a link that has it anymore - even the ones on your site don't work.

Any ideas?

VBScript runtime error '800a01ad' when attempting to connect

So I think I've figure it out. This requires the MS VM not the Sun VM - only problem is that MS do not distribute the VM for Windows Server 2003. Your links to get an older version don't work so I can upgrade. Thus not only do I still have the original problem - but i have the dillema of not being able to get the MS VM on my server.

Any ideas?

VBScript runtime error '800a01ad' when attempting to connect

Also made sure that I had correct JVM - downloaded latest version from java.com - still get the problem

VBScript runtime error '800a01ad' when attempting to connect

Did 1 more thing - removed all IP address restriction using settings menu

-- RF