# Project Load Failed : Cannot access ....atp5

**URL:** <https://www.finalbuilder.com/forums/t/project-load-failed-cannot-access-atp5/6439>\
**Category:** Bugs\
**Created:** [March 5, 2019, 5:55am UTC](https://www.finalbuilder.com/forums/t/project-load-failed-cannot-access-atp5/6439 "2019-03-05T05:55:47Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![tdnooij](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tdnooij/32/89_2.png) [@tdnooij](https://www.finalbuilder.com/forums/u/tdnooij)\
**Post date:** [March 5, 2019, 5:55am UTC](https://www.finalbuilder.com/forums/t/project-load-failed-cannot-access-atp5/6439/1 "2019-03-05T05:55:48Z")

</div>

We have an Automise 5 project that calls an action list in another Automise project in parallel async groups. This has worked perfectly on multiple servers, but suddenly we are getting errors: Project Load Failed : Cannot access library.atp5. Any reason why this is happening?

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [March 5, 2019, 6:12am UTC](https://www.finalbuilder.com/forums/t/project-load-failed-cannot-access-atp5/6439/2 "2019-03-05T06:12:57Z")

</div>

Does the file exist?  
Is the path to the file correct?  
Can you load library.atp5 in the Automise IDE?

That would be the first things to check.

How are you calling, using the Include Project action or directly executing atcmd?

---

<div class="post-metadata">

**Author:** ![tdnooij](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tdnooij/32/89_2.png) [@tdnooij](https://www.finalbuilder.com/forums/u/tdnooij)\
**Post date:** [March 5, 2019, 6:28am UTC](https://www.finalbuilder.com/forums/t/project-load-failed-cannot-access-atp5/6439/3 "2019-03-05T06:28:59Z")

</div>

Yes, I can open the file directly and the path exists. Also, the same action is called from other threads successfully. Here are some parts from the logging:

![image](https://www.finalbuilder.com/forums/uploads/default/original/2X/e/e2dc9c90da4a868b11b5c90a0f8f8393ff3b1430.png)

and this is the action that fails:

 ![image](https://www.finalbuilder.com/forums/uploads/default/original/2X/7/7609fd08eb5dc7d0279a1733be2342f48fc7f2b5.png)

I am calling the project using the Include Project action. We run the 5.0.1015 build.

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [March 5, 2019, 6:48am UTC](https://www.finalbuilder.com/forums/t/project-load-failed-cannot-access-atp5/6439/4 "2019-03-05T06:48:53Z")

</div>

Is the library.atp file a large project, wondering if it takes more than a second to load?

You could try to increase the thread start delay to 2s and see if that helps.

In the mean time I’ll try to reproduce this here, it’s a common scenario that many customers (both Automise and FinalBuilder) use so I’m surprised we haven’t seen this before.

---

<div class="post-metadata">

**Author:** ![tdnooij](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tdnooij/32/89_2.png) [@tdnooij](https://www.finalbuilder.com/forums/u/tdnooij)\
**Post date:** [March 5, 2019, 6:54am UTC](https://www.finalbuilder.com/forums/t/project-load-failed-cannot-access-atp5/6439/5 "2019-03-05T06:54:00Z")

</div>

I will try with a 2 second delay. I need to wait until tonight because this is a production server and I cannot start the script at this moment.

So it should be possible to call the same project from two asynch threads at the same time? That one thread is still processing the action list from that project (and blocks it) while the other is trying to call the same project and fails?

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [March 5, 2019, 7:07am UTC](https://www.finalbuilder.com/forums/t/project-load-failed-cannot-access-atp5/6439/6 "2019-03-05T07:07:36Z")

</div>

Yes, it should be possible, there is is a mutex in place for the filename to avoid overwrites. We will try to reproduce this here and also see if we can improve the error message so we can tell exactly where it’s failing.

---

<div class="post-metadata">

**Author:** ![tdnooij](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tdnooij/32/89_2.png) [@tdnooij](https://www.finalbuilder.com/forums/u/tdnooij)\
**Post date:** [March 5, 2019, 11:05pm UTC](https://www.finalbuilder.com/forums/t/project-load-failed-cannot-access-atp5/6439/7 "2019-03-05T23:05:49Z")

</div>

We executed the script with the 2 second delay, and now it is functioning correctly. The script itself is executing backup processes and zip-actions, so this will slow down the server it is executing on. Could this be the cause? The thing is that we run the same script on 20 other servers without problems and also ran on this server for a while without problems.

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [March 5, 2019, 11:35pm UTC](https://www.finalbuilder.com/forums/t/project-load-failed-cannot-access-atp5/6439/8 "2019-03-05T23:35:57Z")

</div>

I haven’t been able to reproduce this here so far. My guess is there is some sort of timing aspect to the cause. Are you able to send your project files (the main one and the library) to support - that way we can try to setup the exact same scenario under the debugger and see what’s going on.

---

<div class="post-metadata">

**Author:** ![tdnooij](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tdnooij/32/89_2.png) [@tdnooij](https://www.finalbuilder.com/forums/u/tdnooij)\
**Post date:** [March 6, 2019, 6:31am UTC](https://www.finalbuilder.com/forums/t/project-load-failed-cannot-access-atp5/6439/9 "2019-03-06T06:31:31Z")

</div>

Can we send this private?

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [March 6, 2019, 6:41am UTC](https://www.finalbuilder.com/forums/t/project-load-failed-cannot-access-atp5/6439/10 "2019-03-06T06:41:21Z")

</div>

yes, send it to support @ [finalbuilder.com](http://finalbuilder.com)

---

<div class="post-metadata">

**Author:** ![tdnooij](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tdnooij/32/89_2.png) [@tdnooij](https://www.finalbuilder.com/forums/u/tdnooij)\
**Post date:** [March 6, 2019, 7:29pm UTC](https://www.finalbuilder.com/forums/t/project-load-failed-cannot-access-atp5/6439/11 "2019-03-06T19:29:14Z")

</div>

Tonight the problem occurred again. We are happy to replace the automise with a version that gives you more debugging info.
