hexagon logo

Error 127

Got one CMM that I cannot run a program one, The database is on a network, I've got the code below in the program to delete the XSTATS11.TMP file. I can run this program on two other CMMs with DataPage and everything runs fine, stats dump, no errors. But on this one CMM I get the error 127 - says database file does not exist. Should I delete and reinistall DataPage on this one CMM?

FILE_THERE =FILE/EXISTS,C:\ ----PCDMISW\XSTATS11.TMP
            IF/FILE_THERE == 1
            FILE/DELETE,C:\PCDMISW\XSTATS11.TMP
            END_IF/
  • IT appears as though PCDMIS is steered to the wrong directory by the code you have listed, that shouldn't cause the problem, I don't think, but you should fix it. It should be looking in C:\PSDMISW_37MR3. After you do that if the problem persists, find the file XSTATS11.TMP in the C:\PSDMISW_37MR3 directory and rename it to say, XSTATS11A.TMP. When datapage re-opens it will create a new file. That should fix the problem.

    Also, never saw the code you have listed in any program. Anyways, try the above, it should work.
  • Ensure all the programs on the problem machine have the correct path for your database, one bad path referance will cause an error 127. After all program database paths are verified open the database folder and deleate any .dbl and .taf files. Next open the PCDMISW root directory and deleate the XSTATS11.tmp file. This should get you back up and running. All of these files will be recreated and trying to edit them is imposible with out a proper editor, there will be data lose the runs contained in these files
  • **BE ADVISED**

    PCDMIS 2010mr2 is the first truly Windows 7 compliant version. As such the XSTATS11.tmp file is in a different location. Deleting it in the normal WAI/PCDMIS folder WILL NOT WORK.

    It is now located in the following location:

    C:\Documents and Settings\All Users\Application Data\WAI\PC-DMIS\2010 MR2


    Here is where it needs to be deleted to fix the -127 Database Error if you are using PCDMIS 2010mr2.
  • I am sorry... but moving a standard system file seems pretty stupid.

    ==========
    droided it....