Issue with a VB6 program

Posted on 2009-02-12
Last Modified: 2013-11-25
Hi There,

I am getting an error in the events viewer

VFJanitor Service Error [CheckContinue]
Type mismatch

VFJanitor is the service installed

What does this mean ?

It is actually a VB6 program...running on Server 2003

There are two OCX s use by the program STI.ocx, SvcIt.ocx
Could it be missing things like .dll s etc,

I have a note i found in the installation guide of the program
May be that is what the problem could be related to

2) Register the 2 .OCX files in the app folder.
3) Make sure MSXML 3.0 and MSXML 4.0 are installed, as they're needed to read the configuration file. (  (server probably doesn't need a restart after installing these)
    Also you may need to update to the latest MDAC if you're having problems, but chances are you don't.

We are unable to reach the original developer as it is a very old program...

Any help is appreciated
Question by:justin_smith
    LVL 6

    Accepted Solution

    Error 13 >>Type mismatch<<
    and Error 429 >>ActiveX component can't create object<<
    are raised if a com-component is missing or if there are compatibility issues.

    1. You have to ensure that all files are present in the required paths and that they
        have the version required and have been registered.
    2. Use regsvr32 to register a ocx, dll manually.
    LVL 10

    Assisted Solution

    Would you have any of the original code to post? With error 13 it looks like some variable in code is expecting a certain type of variable and it is being fed another type ie integer when expecting a double.

    Author Comment

    i am not sure which part to post..
    but if this is an error thats not handle will the service continue to run..

    or what will be the behaviour?
    LVL 14

    Expert Comment


    Download this tool:

    Then You can capture every file acces event on that program, that would show up missing files.
    Build the filter to Your purposes so that it's does not capture everthing


    Author Comment


    that tool was extremely informational..

    suing its info i was able to identify to conditions.. one to make the app work the other not make it work..

    in the service the exe is called like this jantor.exe
    and it doesnt work properly....

    but when i call the app from the cmd like this jantor.exe \fakearg
    the program doesnt recognise the fakearg.. but it works..

    what i want to try is make the service call the app with this fake arg..

    how can i change this in services.msc

    Or can i register the service in cmd and run


    Author Comment


    i manged to change that fakearg bit in the registry.. but that didnt help ...

    i dont know if this info is useful..

    in the registry i found the following dependency for the service under consideration...

    whats this.. by the way this application used to run ok when it was running on Windows Server 2000.. Now it doesnt run on Server 2003..

    Is there any relationship....
    lanmanworkstation is related to authentication?.. is it supported on server 2003?


    Author Comment

    Also the program uses  the follwoing DLLs ...
    The same files used in W2K are used in 2003..


    Is there an incompatibility here?

    Author Comment

    hi guys,

    we got this working by using unc paths instead of mapped drives..

    This is only a workaround at the moment...

    Is there a way to solve this..

    it is so strange that MS has restricted Mapped drives for Services


    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
    Learn about cloud computing and its benefits for small business owners.
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now