# Canton startup error on Windows 11 - Running bootstrap script failed

**URL:** <https://forum.canton.network/t/canton-startup-error-on-windows-11-running-bootstrap-script-failed/6508>\
**Category:** App Development\
**Created:** [May 4, 2023, 6:24am UTC](https://forum.canton.network/t/canton-startup-error-on-windows-11-running-bootstrap-script-failed/6508 "2023-05-04T06:24:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![el\_daml01](https://avatars.discourse-cdn.com/v4/letter/e/db5fbb/32.png) [@el\_daml01](https://forum.canton.network/u/el_daml01)\
**Post date:** [May 4, 2023, 6:24am UTC](https://forum.canton.network/t/canton-startup-error-on-windows-11-running-bootstrap-script-failed/6508/1 "2023-05-04T06:24:27Z")

</div>

Hi,

I recently tried to run Canton on Windows 11 and below error . Is there any way to fix that or workaround ?  
I have installed DAML SDK version 2.6.3 on my Windows 11 notebook.

D:\DAML\Canton\canton-open-source-2.6.3\>bin\canton -c examples\04-create-daml-app\canton.conf --bootstrap examples\04-create-daml-app\init.canton

Compiling (synthetic)/ammonite/predef/ArgsPredef.sc  
Compiling D:\DAML\Canton\canton-open-source-2.6.3(console)  
**ERROR c.d.c.ConsoleInteractiveRunner - Running bootstrap script failed with an exception (‘other’ has different root)!**  
**‘other’ has different root**

D:\DAML\Canton\canton-open-source-2.6.3\>

D:\DAML\Canton\canton-open-source-2.6.3\>dir  
Volume in drive D is Data  
Volume Serial Number is 24DB-B3DD

Directory of D:\DAML\Canton\canton-open-source-2.6.3

24/04/2023 15:01 .  
23/04/2023 23:06 …  
20/04/2023 22:47 bin  
20/04/2023 22:47 1,626 canton-json.lnav.json  
20/04/2023 22:47 3,542 canton.lnav.json  
03/05/2023 19:36 create-daml-app  
20/04/2023 22:47 daml  
20/04/2023 22:47 dars  
20/04/2023 22:47 demo  
20/04/2023 22:47 deployment  
20/04/2023 22:47 examples  
20/04/2023 22:47 lib  
20/04/2023 22:47 22,932 LICENSE.txt  
24/04/2023 15:01 log  
20/04/2023 22:47 protobuf  
20/04/2023 22:47 1,340 README.md  
20/04/2023 22:47 1,720 RELEASE-NOTES.md  
20/04/2023 22:47 59 start-demo-win.cmd  
20/04/2023 22:47 1,723 start-demo.command  
20/04/2023 22:47 59,466 third-party-licenses.html  
8 File(s) 92,408 bytes  
12 Dir(s) 753,113,436,160 bytes free

---

<div class="post-metadata">

**Author:** ![Ben\_M](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/ben_m/32/3080_2.png) [@Ben\_M](https://forum.canton.network/u/Ben_M)\
**Post date:** [May 7, 2023, 10:02pm UTC](https://forum.canton.network/t/canton-startup-error-on-windows-11-running-bootstrap-script-failed/6508/2 "2023-05-07T22:02:58Z")

</div>

Hi @el_daml01,

You are likely actually missing the actual Create Daml APP (create-daml-app) from your filepath.

I am using Ubuntu Linux, but I was able to get this example working correctly using the Linux version of your command:

`bin/canton -c examples/04-create-daml-app/canton.conf --bootstrap examples/04-create-daml-app/init.canton`

Process:

> **\# Run the Canton Examples command**
>
> ben\_m ~/opt/canton-open-source-2.6.3 $ bin/canton -c examples/04-create-daml-app/canton.conf --bootstrap examples/04-create-daml-app/init.canton  
> Compiling (synthetic)/ammonite/predef/ArgsPredef.sc  
> Compiling /home/ben\_m/opt/canton-open-source-2.6.3/(console)  
> Compiling /home/ben\_m/opt/canton-open-source-2.6.3/Main.sc  
> ERROR c.d.c.ConsoleInteractiveRunner - Running bootstrap script failed with an exception (please setup the create-daml-app example in the current working directly under /home/ben\_m/opt/canton-open-source-2.6.3/create-daml-app)!  
> please setup the create-daml-app example in the current working directly under /home/ben\_m/opt/canton-open-source-2.6.3/create-daml-app

> **\# Create the new Daml app**
>
> ben\_m ~/opt/canton-open-source-2.6.3 $ daml new --template create-daml-app create-daml-app  
> Created a new project in “create-daml-app” based on the template “create-daml-app”.

> **\# Rerun the Canton Examples command**
>
> ben\_m ~/opt/canton-open-source-2.6.3 $ bin/canton -c examples/04-create-daml-app/canton.conf --bootstrap examples/04-create-daml-app/init.canton  
> Compiling /home/ben\_m/opt/canton-open-source-2.6.3/Main.sc  
> ERROR c.d.c.ConsoleInteractiveRunner - Running bootstrap script failed with an exception (please run daml build in the create-daml-app folder to build the dar file /home/ben\_m/opt/canton-open-source-2.6.3/create-daml-app/.daml/dist/create-daml-app-0.1.0.dar)!  
> please run daml build in the create-daml-app folder to build the dar file /home/ben\_m/opt/canton-open-source-2.6.3/create-daml-app/.daml/dist/create-daml-app-0.1.0.dar

> **\# Build the new Daml app**
>
> ben\_m ~/opt/canton-open-source-2.6.3 $ cd create-daml-app/  
> ben\_m ~/opt/canton-open-source-2.6.3/create-daml-app $ daml build
> 
> 2023-05-07 21:47:34.44 [INFO] [build]  
> Compiling create-daml-app to a DAR.
> 
> 2023-05-07 21:47:35.06 [INFO] [build]  
> Created .daml/dist/create-daml-app-0.1.0.dar

> **\# Change back to the Canton Open Source main directory**
>
> ben\_m ~/opt/canton-open-source-2.6.3/create-daml-app $ cd …

> **\# Rerun the Canton Examples command**
>
> ben\_m ~/opt/canton-open-source-2.6.3 $ bin/canton -c examples/04-create-daml-app/canton.conf --bootstrap examples/04-create-daml-app/init.canton  
> Compiling /home/ben\_m/opt/canton-open-source-2.6.3/Main.sc  
> **CANTON**
> 
> Welcome to Canton!  
> Type `help` to get started. `exit` to leave.
> 
> @

I tested this process on Canton Enterprise v2.6.2, v2.6.3 and Canton Open Source v2.6.3.

Hope this helps, Ben.
