cancel
Showing results for 
Search instead for 
Did you mean: 

Error Internal: Could not run the object because one of the code stages has a compile error, use Check for Errors for a list of problems

AndrewLe
Level 3
Hi Everyone,

I'm trying to run a process via Schedule, i keep on getting error message "Error Internal: Could not run the object because one of the code stages has a compile error, use Check for Errors for a list of problems".

I was abled to run the process via debug mode and have confirm that the VBO is also working.591.png
The version of blueprism i'm using is 6.1.0.992. 
Was wondering if anyone have had this issue before and if they have, how to resolve it?
@Hosni Hussain
------------------------------
Andrew Le
------------------------------
1 BEST ANSWER

Best Answers

AndrewLe
Level 3
I have found a resolution for issue;

The fix for issue was to remove the below 2 x dll from Business Object Properties - Code Options tab;
Microsoft.Exchange.WebServices.Auth.dll
Microsoft.Exchange.WebServices.dll

and leave behind only 
586.png

------------------------------
Andrew Le
------------------------------

View answer in original post

15 REPLIES 15

Ben.Lyons1
Staff
Staff
Hi Andrew,

The most common cause is a missing dll file on the machine trying to run the process.

Certain VBO's require a library (dll file) to help it understand the code stages. These need to be installed on each machine using them in the Blue Prism program folder.

So it might be that you can run it fine on your machine as you have the file, but the digital worker machine hasn't got it installed. E.g. Microsoft.Office.Interop.Outlook.dll

What VBO are you getting the error on?

Thanks

------------------------------
Ben Lyons
Product Consultant
Blue Prism
UK
------------------------------
Ben Lyons Senior Product Specialist - Decipher SS&C Blue Prism UK based

KaranSareen
Staff
Staff

Hello Andrew

Could you please have a look at the object in the studio and see if it has got any warning/ compilation error?

Also, are you successfully able to run the process in the Control Room (drag and drop on a RR) instead of the Schedule?

Try recreating the schedule and see if it has any effect on this



------------------------------
Karan Sareen
Solution Support Engineer
Blueprism
Australia/Sydney
------------------------------

hi Ben,

thankyou for your reply.

We have looked at the .dll files and confirm it is working.

the VBO is Microsoft -> EWS Object
552.png553.png@Hosni Hussain
@Hosni Hussain
​​

------------------------------
Andrew Le
------------------------------

Hi Karan,

I have checked in Studio, theres no warning/ compilation error.
I have tried to drag and drop to Resource PC but i have the same issue.


------------------------------
Andrew Le
------------------------------

Hi Andrew,

In the object, go to the Initialise page.

Then you will see tabs for Global Code (where you can double check global changes by clicking Compile) and the tab we need "Code Options". Here you will see what dll's are being used.

556.png
You will need to check these are all present on the respective machine that's failing to run. If there's no file path, the file will need to be stored in C:\Program Files\Blue Prism Limited\Blue Prism Automate.

Let me know how you get on.

Thanks

------------------------------
Ben Lyons
Product Consultant
Blue Prism
UK
------------------------------
Ben Lyons Senior Product Specialist - Decipher SS&C Blue Prism UK based

Thankyou so much Ben, really appreciate it
I'll give this a go and let you know.

------------------------------
Andrew Le
------------------------------

Hello @Ben.Lyons1,

Thank you for sharing an insight.

I verified the list of dlls within the Code Options and confirm that they are present at - 'C:\Program Files\Blue Prism Limited\Blue Prism Automate'.

To add, on the Digital Worker Machine, we tried to run the code in debug mode and we are able to run it end to end, however when we do a manual trigger (drag and drop) or through schedule it fails with the error shared by @Andrew Le.

564.png
565.png
​​​​

------------------------------
Hosni Hussain
Automation Enthusiast
------------------------------

Hi @Andrew Le,

Are you running the process in the same machine from control room where you performed debugging or in some different machine?

If different machine, might be you need to verify if the dll's are available in the target resource pc or not.​



------------------------------
Ritansh Jatwani Senior Consultant
Consultant
EY
Gurgaon
*If you find this post helpful mark it as best answer
------------------------------

Hello Ritansh,

We ran it on the same machine.

Regards,
Hosni Hussain​

------------------------------
Hosni Hussain
Automation Enthusiast
------------------------------