Question
Shuurgan
CN
Last activity: 8 Dec 2024 19:39 EST
Unable to open the automation program
I upgraded the current program from WIN10 version 19.1 to WIN11 version 22.1, and tried to open the program on version 22.1, but this error message appeared. I have upgraded several programs before and there was no such problem, and these programs have been running smoothly on 19.1, and I have never seen this error. How can I solve it? Thank you.
BAO
-
Reply
-
Kandregula Prakash Suggu Kishore Reddy Kevin R -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
@BAOX17175074JapanUtils must be a custom assembly you have created (or if you specifically did not create are at least are using in your project). For 22.1, you must place all custom assemblies and their dependencies (if not already in .Net or registered with their installation locations) in the %AppData%\Pegasystems\PublicAssemblies folder. They can technically be placed in the installation directory as well, but that usually requires admin rights and is unnecessary. Once you place the assemblies in the folder, restart Studio and open your project again and it should be able to locate them.
Shuurgan
CN
@ThomasSasnett Hi,Thomas.I have re-set it according to the solution you gave, but the same error of not being able to open automation still occurs. But the difference is that this time I can click Run to run the program, and the program will list the controls with problems below. If the normal settings cannot solve the problem, is there any additional settings?Thank you.
Pegasystems Inc.
US
@BAOX17175074 Were you able to locate your DLL "JapanUtils". Is this something you need to use? As for the errors with the log controller, that may just be an issue with that method specifically as it no longer exists in 22. You can replace it with the LoggingOn method from the Toolbox.
Shuurgan
CN
@ThomasSasnett Thank you, it can be executed. However, it is still this program. As shown in the picture, it will download an app from the system, but when this app is opened, the ERROR message shown in the picture will appear. What's going on?Thank you. BAO
Pegasystems Inc.
US
@BAOX17175074 I cannot say without seeing your RuntimeLog. I suspect you are missing something from your 19.1 project. There is no reason why I can see why it would produce an error with missing files (or errors with existing components) unless you are missing some DLLs and/or their associated DLLs. In 19.1, you may have attached these to the deployment package, or you may have placed them in the installation folder. The associated DLLs may have also been registered such that they are locatable from wherever they are installed to. I would start by looking at your RuntimeLog and locating this error in it. See if the stack trace can let you know what can't be found. You can open a support request if you'd like some assistance with your solution from one of our support personnel.
Shuurgan
CN
@ThomasSasnett Hello,Thomas.After solving the opening problem of this program, I found that I could not recognize this application after upgrading from version 19.1 to version 22.1. Is there any way to solve it? Thank you. (I cannot proceed to the next step after opening the main interface of the application)
Pegasystems Inc.
US
@BAOX17175074 Would you please clarify? What do you mean by "I could not recognize this application"?
Shuurgan
CN
@ThomasSasnett This is a ROBOT that downloads an application from a web page, then opens and runs it. However, I can open the application after downloading it, but it cannot be detected and I cannot proceed to the next step. BAO
Pegasystems Inc.
US
@BAOX17175074 Do you mean that your controls are not being matched? If so, does it match during interrogation?
Shuurgan
CN
@ThomasSasnett This is a program that is directly upgraded from version 19.1 to version 22.1. There is no problem running version 19.1, but in version 22.1 it cannot recognize programs other than web pages. BAO
Pegasystems Inc.
US
@BAOX17175074 So the issue is that you cannot interrogate any Windows application (only web applications)?