I'll need more information, but I can provide some general information that you might find useful.
If you've installed MarcEdit 7 -- it will overwrite the COM object code from 6.x. It mirrors the options from 6.x so in the systems I've used, there are no changes needed, however, there are caveats.
If you use the COM objects -- you should install using the Admin installation for MarcEdit 7. If you haven't, I'd uninstall 7.x and reinstall with the Admin version. The reason -- the User version sandboxes the data into the Current User Registry. So, only the user that installed the program will have access to the COM objects. If this is run by a different user -- the COM won't work. If you install as an Admin, COM objects are registered at the Local Machine level -- allowing any user to work with the data.
If you are using a 64 bit machine and install a 32 bit version of MarcEdit 7-- you'll want to make sure you have the most recent version of MarcEdit 7 -- as the vbscript client is a 64 bit program on Windows 10, but a 32 bit program on Windows Vista-8 by default. This will cause issues. Again, in the current version of MarcEdit 7, I made some changes to the COM to allow these kinds of non-traditional installations.
--tr
-----Original Message-----
From: MarcEdit support in technical and instructional matters <[log in to unmask]> On Behalf Of Kevin Robbitts
Sent: Thursday, July 19, 2018 10:54 AM
To: [log in to unmask]
Subject: [MARCEDIT-L] Question on a VBS Script Error
Hello,
We run a few scripts to help us make some batch edits to our electronic book records that have suddenly begin to experience a VBS script error as of yesterday; I was wondering if anyone might have any insight on this error. The error first popped up yesterday, and I had used the scripts as recently as Tuesday night and they were working fine.
The error points to a line in the code and says "The system cannot find the file specified", followed by an error code of 80070002. The line of code referred to is the following:
Set obj_MB=CreateObject("MARCEngine5.MARC21")
lret=obj_MB.MarcFile(source, dest)
As far as I can tell, no changes were made to this script in the interim. I tried recreating the script with the ScriptWizard and found that any script I now create and try to run develops an error on this part of the script. I had originally interpreted the error as being unable to find the file to process, but I tried a number of time to move the files to different folders / make sure the file path was correct and that made no change to the error.
Thanks for any insight,
Kevin
__
Kevin Robbitts
Lane Memorial Library
Head of Technical Services
[log in to unmask]
________________________________________________________________________
This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit. If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]
________________________________________________________________________
This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit. If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]
|