# Unable to load Karamba

**URL:** <https://discourse.mcneel.com/t/unable-to-load-karamba/194406>\
**Category:** Karamba3D\
**Tags:** windows\
**Created:** [November 6, 2024, 2:16pm UTC](https://discourse.mcneel.com/t/unable-to-load-karamba/194406 "2024-11-06T14:16:51Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavAndLar](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davandlar/32/97756_2.png) [@DavAndLar](https://discourse.mcneel.com/u/DavAndLar)\
**Post date:** [November 6, 2024, 2:16pm UTC](https://discourse.mcneel.com/t/unable-to-load-karamba/194406/1 "2024-11-06T14:16:51Z")

</div>

Dear @karamba3d team,  
when I open Grasshopper I get the following error message in the command prompt:

> Path: C:\Users%…%\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Karamba3D\3.1.40918\Karamba.gha  
> Exception System.IO.FileNotFoundException:  
> Message: Could not load file or assembly ‘System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.

I have tried to solve the problem on my own, and I think I know that it occurs because I have SOFiSTiK and their Rhino/GH interface installed. I’ve tried to uninstall it, just to see if that helps, however, it didn’t solve the problem. But I guess there might be some .dll file lingering somewhere also after the uninstallation.

I run Rhino 8 with Karamba 3.1.4

Thanks for your help,  
David

---

<div class="post-metadata">

**Author:** ![matttam](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/matttam/32/472725_2.png) [@matttam](https://discourse.mcneel.com/u/matttam)\
**Post date:** [November 8, 2024, 7:08am UTC](https://discourse.mcneel.com/t/unable-to-load-karamba/194406/2 "2024-11-08T07:08:21Z")

</div>

Hi, please see [4.1.4: Runtime Errors | Karamba3D v3](https://manual.karamba3d.com/troubleshooting/4.3.-miscellaneous-problems/4.1.4-runtime-errors#grasshopper-loading-errors-in-connection-with-karamba3d-plug-in)

---

<div class="post-metadata">

**Author:** ![DavAndLar](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davandlar/32/97756_2.png) [@DavAndLar](https://discourse.mcneel.com/u/DavAndLar)\
**Post date:** [November 8, 2024, 8:40pm UTC](https://discourse.mcneel.com/t/unable-to-load-karamba/194406/3 "2024-11-08T20:40:57Z")

</div>

Hi, I’ve tried this but it still doesn’t help…

---

<div class="post-metadata">

**Author:** ![matttam](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/matttam/32/472725_2.png) [@matttam](https://discourse.mcneel.com/u/matttam)\
**Post date:** [November 10, 2024, 12:20pm UTC](https://discourse.mcneel.com/t/unable-to-load-karamba/194406/4 "2024-11-10T12:20:39Z")

</div>

try dragging the karamba.gha file onto your GH canvas and see what error shows up

---

<div class="post-metadata">

**Author:** ![DavAndLar](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davandlar/32/97756_2.png) [@DavAndLar](https://discourse.mcneel.com/u/DavAndLar)\
**Post date:** [November 11, 2024, 8:46am UTC](https://discourse.mcneel.com/t/unable-to-load-karamba/194406/5 "2024-11-11T08:46:19Z")

</div>

Grasshopper doesn’t even react and in the command prompt in Rhino I get the exact same error message as before

> Path: C:\Users%…%\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Karamba3D\3.1.40918\Karamba.gha  
> Exception System.IO.FileNotFoundException:  
> Message: Could not load file or assembly ‘System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.

---

<div class="post-metadata">

**Author:** ![cp1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/cp1/32/472725_2.png) [@cp1](https://discourse.mcneel.com/u/cp1)\
**Post date:** [November 13, 2024, 8:29am UTC](https://discourse.mcneel.com/t/unable-to-load-karamba/194406/6 "2024-11-13T08:29:54Z")

</div>

Hello @DavAndLar,

do you have Rhino8 running in .NETCore mode? You can check this by typing ‘SetDotNetRuntime’ in the Rhino command window. The YAK package for version 3.1.40918 is for .NETCore only. The next YAK installer for Karamba3D version will be for NETCore and .NETFramework.

Did you already try to use the msi-installer instead of YAK? For this to work you need to uninstall Karamba3D via the Rhino Package manager.

– Clemens

---

<div class="post-metadata">

**Author:** ![DavAndLar](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davandlar/32/97756_2.png) [@DavAndLar](https://discourse.mcneel.com/u/DavAndLar)\
**Post date:** [November 13, 2024, 8:47am UTC](https://discourse.mcneel.com/t/unable-to-load-karamba/194406/7 "2024-11-13T08:47:03Z")

</div>

Hi @cp1  
it says that I’m currently running “in .NET Framework 4.8.9277.0”. Should I then change to NETCore? And if so, how do I do that?

---

<div class="post-metadata">

**Author:** ![wim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/wim/32/747482_2.png) [@wim](https://discourse.mcneel.com/u/wim)\
**Post date:** [November 13, 2024, 1:17pm UTC](https://discourse.mcneel.com/t/unable-to-load-karamba/194406/8 "2024-11-13T13:17:24Z")

</div>

Hi -

> [@DavAndLar](#):
>
> And if so, how do I do that?

If you are running Rhino 8 in .NET Framework 4.8, you must have changed that yourself at some point.  
At any rate, running `SetDotNetRuntime` and picking the `Runtime=NETCore` option` puts that back to the default. Unless you have modified the Rhino icon on the desktop, this will stick between sessions.  
-wim

---

<div class="post-metadata">

**Author:** ![DavAndLar](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davandlar/32/97756_2.png) [@DavAndLar](https://discourse.mcneel.com/u/DavAndLar)\
**Post date:** [November 13, 2024, 7:08pm UTC](https://discourse.mcneel.com/t/unable-to-load-karamba/194406/9 "2024-11-13T19:08:37Z")

</div>

I thought so too, but after selecting `Runtime=NETCore v8` and restarting Rhino, it still says that I’m running `.Net Framework`. What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![wim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/wim/32/747482_2.png) [@wim](https://discourse.mcneel.com/u/wim)\
**Post date:** [November 13, 2024, 7:31pm UTC](https://discourse.mcneel.com/t/unable-to-load-karamba/194406/10 "2024-11-13T19:31:11Z")

</div>

> [@DavAndLar](#):
>
> restarting Rhino

How do you start Rhino?  
(and why do you set it to v8?)  
-wim

---

<div class="post-metadata">

**Author:** ![tuomas.lehtonen](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/tuomas.lehtonen/32/608413_2.png) [@tuomas.lehtonen](https://discourse.mcneel.com/u/tuomas.lehtonen)\
**Post date:** [November 13, 2024, 7:47pm UTC](https://discourse.mcneel.com/t/unable-to-load-karamba/194406/11 "2024-11-13T19:47:16Z")

</div>

I can take a guess. The selection layout on the command line is not as clear as one would hope. You have to select the Framework-keyword I guess, not the Core since that is for the .NET version (7 or 8). I am not on a computer at the moment, but I also struggled with this a bit.

---

<div class="post-metadata">

**Author:** ![DavAndLar](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davandlar/32/97756_2.png) [@DavAndLar](https://discourse.mcneel.com/u/DavAndLar)\
**Post date:** [November 14, 2024, 2:45pm UTC](https://discourse.mcneel.com/t/unable-to-load-karamba/194406/12 "2024-11-14T14:45:29Z")

</div>

That solved the problem, thanks @cp1 for your help and thanks @tuomas.lehtonen you too, that was indeed a bit confusing.
