I have a maintenance script which needs to use the Safeboot Scripting object. Here is how I am trying to instantiate the object:
Dim SBObj : Set sbobj = CreateObject("SbAdmCom.SbAdmScripting")
When the parser gets to that line, however, I receive the following error:
I am trying to run this directly on the EE Server. The version installed is 188.8.131.52. I have already registered sbAdmDll.dll and sbAdmCom.dll. Not sure what is going on here. Any help would be greatly appreciated!
these things are usually pretty simple
1. what OS are you using? If it's anything beyond XP you need to register the com object "as administrator" - so fire up a command prompt under admin and register it there.
2. does the api work when you run the exe itself? (sbadmcl.exe) - that will tell you if it can work at all.
The OS is Windows 2003, so we're not dealing with an administrator issue here.
I run commands using sbadmcl.exe on this server all the time with no issue.
Interestingly enough, the API works fine in the vbscript on one of my other servers where I just have the EE Manager installed. I'd really like to get it working locally since the performance should be much better I'm thinking...
I only have to register sbadmcom.dll right? That one registers successfully. When I tried to register sbadmdll.dll, it complained that it couldn't find an entry point. Are there any other DLLs that I need to register?
Hmm.. Something is wrong with my installation then, because it's still not working. The script is running fast enough on the remote box, so I guess I won't worry about it.