General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › Automation Server error message
-
russurquhart1 November 18, 2009 at 4:59 pm
Automation Server error message
November 18, 2009 at 4:59 pmParticipants 1Replies 2Last Activity 12 years, 7 months agoHi,
We've all been using a macro that calls to create an ActiveX Object:
var Dlg = new ActiveXObject(“SQExtras.FileDlg”);
One of our workers, for some reason, is now getting the “Automation Server can't create object error”
I checked to see that she has the SQExtras dll file. She does. I understand there might be a COM error. How can i check and maybe fix this for her.
We are running Xmetal Author 5.0.
Any help is greatly appreciated!
Thanks,
Russ
Derek Read November 18, 2009 at 6:56 pm
Reply to: Automation Server error message
November 18, 2009 at 6:56 pmIf the file is there it may not be registered with Windows. This is done during installation, however, it is possible that is has been unregistered.
The tool regsvr32.exe is what you need to run to register a COM object in DLL or OCX form. This tool usually lives in C:WindowsSystem32 That folder is typically part of the standard command paths that Windows knows about, so you can usually run this tool from anywhere.
1. Go to a command prompt.
2. Use the CD command to move to the location of sqextras.dll (it should be in the XMetaL Author installation path's root folder)
3. Run the following command:
regsvr32 sqextras.dllIf it registers successfully then you will be told so. If it fails you will also be given an error (in which case you may need to check with your IT people about security, or whatever else the error suggests and you may wish to read the following Microsoft KnowledgeBase article http://support.microsoft.com/kb/249873
russurquhart1 November 18, 2009 at 7:46 pm
Reply to: Automation Server error message
November 18, 2009 at 7:46 pmThanks Derek, we will give this a try. (The user wanted to wait until she has a down time, for fear of screwing up her existing Xmetal install.)
Thanks!
Russ
-
AuthorPosts
- You must be logged in to reply to this topic.