Do you have a script that worked with your x32 XP computer, but no longer works in Windows 7 or 8 x64? I am finding that some of the scripts I wrote have this problem. Somethings may rely on an ActiveX control that was native to XP but not a later version. What I am finding is that I have some scripts, such as this fragment fail:
Set OConnMDB = CreateObject("ADOX.Catalog") OConnMDB.Create _ "Provider = Microsoft.Jet.OLEDB.4.0; " & _ "Data Source = " &dbName Set OConnMDB = Nothing
A quick fix for this is to run the script with the X32 version of cscript or wscript. You can try running the scripts with c:\windows\SysWow64\cscript.exe. Otherwise, back to the debugger.