• Not Answered

Error Number: -2147352571(80020005) Type Mismatch

Restarted an operator workstation and now have this error. What could be causing this. 
...

6 Replies

  • Hello

    I suppose this is a VB error ?
    It could significate that you try to assign a value to a variable (or a variable to a variable), but the type of received value is not compatible (for example to try to assign an array to a long variable).

    Do you know the code that generate this error ?
  • In reply to Jack_France:

    Don’t know. This is happing on the startup of DV Operate. It stops at 14% and gives this error.
  • In reply to Phillip Stephens:

    Ok
    When Operate starts, it read and execute the Station preferences (files originated from User_Ref.grf in the Standard folder)
    Perhaps have you modify one of it recently ?
    Have a look to the date/time of the file associated with your station.
    To be sure of the syntax used within this kind of file, in the VB editor (script), use the "Debug" menu and the first line "Compile Project...".
    If this line is grayed, add a space at the end of a line of code (to simulate a change in code), it will be enable for execute.
    By this way you will be able to find this kind of error (if varaibles are correctly declared).

  • In reply to Jack_France:

    After reflection, the format of this error looks more like C ++ than VB.
    Rather, this problem could be caused by a DLL incompatibility.
    Have you installed software that would have implemented its own version of a DLL?
    If so, it would be better to reinstall the DeltaV software.
    I don't think that a ReRun could solve this kind of problem, but you could try it.

  • Did you see if User_ref is trying to open a schedule (.evs) file that isn't in the Graphics-iFix\PDB folder?

    Kathy Pate

    Toray Carbon Fibers America

    Decatur, AL 35601

    kathy.pate@toraycma.com

  • In reply to kathrynpate:

    The symptoms you mentioned - hanging up at 14%, etc., I have seen when I have a typographical error in one of the Operate startup preference files. Look for either Usersettings.grf or <WORKSTATION>_Settings.grf in the Standard directory, with <WORKSTATION> replaced by the name of the workstation (usually in all capital letters and must match the workstation name in case). The user_ref.grf file is the template for the usersettings.grf or workstation specific file.
    Jack_France provided the best and easiest way to find the typo error using the "Debug" menu and the "Compile Project...".