Re: HELP: Migrating .WSCs to another machine
From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 11/30/04
- Next message: Gerry Hickman: "Re: Script to create datestamped folders on network share"
- Previous message: Matthew Speed: "HELP: Migrating .WSCs to another machine"
- In reply to: Matthew Speed: "HELP: Migrating .WSCs to another machine"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Nov 2004 20:51:47 +0100
Matthew Speed wrote:
> I have inherited an NT 4.0 Webserver running a database driven web
> application. I thought that I'd move this application to a Windows
> 2003 server but when I went into the code I found a bunch of lines
> that look like
>
> Set objSearch = Server.CreateObject("AnimalSearch.WSC")
>
> Although I've figured out what these are, I've never worked with
> anything like this but have got to get this app moved. Rewriting to
> use straight database connections is out of the question at this
> point.
>
> Can someone please help me understand where I can learn about these
> things so that I can get this moved quickly?
Hi
To locate where the "active" AnimalSearch.WSC file is located:
Start regedit.exe
Go to the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AnimalSearch.WSC\CLSID\
Default value there will have a GUID sting, something similar
to this: {C8E9C3F5-043B-4AA3-97B9-781681910643}
Now go to the registry key (easiest way is to search for <GUID you found>):
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\<GUID you found>\ScriptletURL\
Default value there will tell you where the file s located.
Now copy this file over to the new computer, and then (on the new
computer) right click on the file and select "Register" in the menu.
That's it.
-- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx
- Next message: Gerry Hickman: "Re: Script to create datestamped folders on network share"
- Previous message: Matthew Speed: "HELP: Migrating .WSCs to another machine"
- In reply to: Matthew Speed: "HELP: Migrating .WSCs to another machine"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|