- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-08-21 07:53 AM
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.
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
------------------------------
Answered! Go to Answer.
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-09-21 10:01 AM
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
------------------------------
Andrew Le
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-08-21 08:22 AM
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
------------------------------
Principal Product Specialist - Decipher
SS&C Blue Prism
UK based
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-08-21 08:23 AM
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
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-08-21 08:41 AM
thankyou for your reply.
We have looked at the .dll files and confirm it is working.
the VBO is Microsoft -> EWS Object
@Hosni Hussain
------------------------------
Andrew Le
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-08-21 08:45 AM
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
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-08-21 10:15 AM
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.
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
------------------------------
Principal Product Specialist - Decipher
SS&C Blue Prism
UK based
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-08-21 11:53 AM
I'll give this a go and let you know.
------------------------------
Andrew Le
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-08-21 08:54 AM
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.
------------------------------
Hosni Hussain
Automation Enthusiast
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-08-21 09:06 PM
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
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-08-21 10:12 AM
We ran it on the same machine.
Regards,
Hosni Hussain
------------------------------
Hosni Hussain
Automation Enthusiast
------------------------------
