[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Excel 97/ VBA: "Object server not correctly registered"

Posted on 2001-09-02
11
Medium Priority
?
421 Views
Last Modified: 2007-12-19
I use Rob Bovey's VBACodeCleaner 4.3 ( http://www.bmsltd.co.uk/MVP/Default.htm ) since long. On my brandnew work PC I can not get it to run. The operating system is the same as before (NT 4 SP6), also the Office version (97 SR-2). The installation routine did not bitch. When I try to start it I get the critical message stating "Object server not correctly registered (CodeCleanerMain)". This Sub is in the module MEntryPoints (not protected) but I did not yet figure out what raises the error. Any ideas ?  
0
Comment
Question by:cri
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 13

Author Comment

by:cri
ID: 6448902
Problem fixed. Did anyone already devote time to this ?
0
 
LVL 44

Accepted Solution

by:
bruintje earned 800 total points
ID: 6448955
yup, i downloaded, installed and had the same error, run it 5 times and the error was gone :O)
0
 
LVL 44

Expert Comment

by:bruintje
ID: 6448972
just delete this one cri, but how did you solve it?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 13

Author Comment

by:cri
ID: 6449028
Let me see...
1) Installed it: -> Nope
2) Deinstalled + re-installed + reboot:-> Nope
3) Installed over the existing one:-> Nope
4) VBE|Tools|References: Checked VBACodeCleaner option:-> Nope
5) Regcleaned the registry + reboot: -> Nope
6) "excel /regserver": -> Yessssss  

As for the question. The first part of the error message i.e. "Object server not correctly registered" seems to be a regular Microsoft error message. However the sole reference as _phrase_ in the MSKB was for Visual Basic. Do you see something kinky/risky in the code ?
0
 
LVL 44

Expert Comment

by:bruintje
ID: 6449039
i had a much nicer error box on the first try to the main procedure a box with

"error 424"
"Object server  " and cancel/help buttons

the next run it worked without a glitch except for the fact that i had no code to clean :O) i though my pc had to adjust to the new stuff....

and now with the loading excel just crashed on a
"unexpected error 50001" with the loading of the cleaner.xla in the bar....(this is fun)

I got some more trouble ctrl-alt-del is gone away, i'll restart and be back
0
 
LVL 13

Author Comment

by:cri
ID: 6449053
This is really strange, because I used this version of the VBACodeCleaner almost daily since months w/o the slightest trouble.

BTW: VirusScanNT (signatures from August 22) did not find anything.
0
 
LVL 44

Expert Comment

by:bruintje
ID: 6449056
ah well, outlook leaked into memory, but cri i saw no hints on something weird and even tested the thing which is a nice piece to do at the job tommorow since we're structured on a SQLServer-Excel-ASP framework and use Excel heavily on the user input side i'm curious how much i could get out of those workbooks....

0
 
LVL 13

Author Comment

by:cri
ID: 6449064
Even if you do not program as I do (constantly tweaking, sometimes with a try and error approach), you probably will be amazed. However do not forget to compile and re-save your project after cleaning.
0
 
LVL 13

Author Comment

by:cri
ID: 6468866
Time to close this one. How much did it reduce your xla at work ?
0
 
LVL 44

Expert Comment

by:bruintje
ID: 6468928
wish i had the time to take that one for a ride,

monday till wednesday we had real trouble of holding our servers up in the ether....

and well the rest of the week just user support stuff, those days when at the end of the day the list of things to do is the same as at the start...

but this week should give some air, i'll let you know but cri why those points, i'm certainly gratefull but i should give you some for getting me on track of this tool....

in one of the threads this week i came by a nice debugging tool that can be downloaded from nonags,

from the documentation

With that, I give you the Postmortem Toolkit ? a VB add-in that allows you to build such a capability into your web-based and Windows-based applications as they are developed.  
The Toolkit will help you deliver supportable applications; it is easy to use and won?t cost you a dime.  These are some of its features:
?     Easily adds a standard error handler to any routine.
?     Identifies the module, routine and the exact line of code where the error occurred.
?     Captures the application?s call path, even in a multitiered system.
?     Has a trace capability that can be switched on or off easily.
?     When running under NT / Windows 2000, also writes errors to the system event log.
?     When used with regular Windows front-ends it captures the screen shot at the time the error occurred, allows for user comments to be entered and has a print capability.
 
if you're interested i could mail it to you for a look at it it's 190Kb zipped including all source etc....don;t know why i couldn't find it at the site of APEX Consulting since it is freeware made available by them earlier this year....

:O)Bruintje
0
 
LVL 13

Author Comment

by:cri
ID: 6469645
bruintje, thanks, if you can give me the URL, I will be glad to have a look at it.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cancel future meetings from user mailboxes in Office 365 using Remove-CalendarEvents
New style of hardware planning for Microsoft Exchange server.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question