No Project exists with the specified file name

While calling the ListLabel.Print method, the following error was received,

CMLL15 : 09:07:26.467 00003d60/01 2 [mscorwks.dll] INF: loading project file ‘G:\Standard.lbl’/00000000 (FileAttributes=0xffffffff, LoadType=normal, r/o)
CMLL15 : 09:07:26.467 00003d60/01 3 @NOTIF.(code= 60, param=0X08A7C578, user=00000000)
CMLL15 : 09:07:26.473 00003d60/01 4 -> 00000000
CMLL15 : 09:07:26.550 00003d60/00 5 [RPCRT4.dll] Error -22 during load
CMLL15 : 09:07:26.550 00003d60/00 6 [RPCRT4.dll] Project load aborted, error -22 occurred
CMLL15 : 09:07:26.551 00003d60/00 7 =-22 (No project exists with the specified file name.)
CMLL15 : 09:07:26.552 00003d60/00 8 LlGetErrortext(-22,0X0D110960,16384)
CMLL15 : 09:07:26.552 00003d60/00 9 =0 (OK) -> ‘No project exists with the specified file name.’

I have no problems to access this file on the network using my credential. Why the control cannot load this project? This was working fine before.

Hello Anthony,

thank you for your post.

Could you try to backup your project file to a different directory, delete the original project file and paste it again in the path your application is looking for it?

If this doesn’t show any positive effects you could try to analyze it in detail with the help of the Microsoft Process Monitor which can be downloaded from Process Monitor - Sysinternals | Microsoft Learn - this will allow you to detect any problems regarding rights management or maybe a locked file, …

Otherwise we can offer you to have a closer look if you open up a support case via our support portal at My acccount: Login, user registration, product registration. Please copy any pertinent information from this thread into the case description. Thanks in advance.

Best regards,

Patrick Preuschoff
Technical Support
combit GmbH

Thanks for the help here.

I downloaded Microsoft System Internals and tried to debug our problem again. Now, I can see the behavior of program running from VS2015 is different from running application like a normal user do.

The application running inside VS2015 was trying to CreateFile, a corresponding lbp file for the lbl file in my temp folder while the normal application never did this. Why?