cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Dependency problem with dotnet Datalayer Dlls

KalbJoshua
New Poster

Dependency problem with dotnet Datalayer Dlls

When i use the dotnet run command, the Project can be executed. But when i want to debug i get this Errormessage:

System.DllNotFoundException: "Unable to load DLL 'runtimes\win-x64\native\comm_datalayer.dll' or one of its dependencies:The specified module was not found. (0x8007007E)"

Thats weird, cause this DLL is in the right Folder.

3 REPLIES 3
nickH
Occasional Contributor

Re: Dependency problem with dotnet Datalayer Dlls

Hello, 

Please keep in mind that our supported and recommended development environment is a ubuntu 20 environment (see Setup Overview). I would recommend you to use the ctrlX WORKS integrated App Build Environment (see Docs). All the dependencies you need are automatically installed here or can be installed easily with the install scripts. This feature is integrated into ctrlX WORKS since Version 1.14. 

However if you want to debug the .Net samples in VisualStudio, all libraries which are referenced by 'comm_datalayer.dll' must be present on your windows system. If any required library is not installed on windows the library 'comm_datalayer.dll' could not be loaded and an exception like you got is thrown. 

There are some tools which can determine the dependency which are not present (e.g. dumpbin). One dependency which is missing a lot is the OpenSSL library Win64 OpenSSL v1.1.1. This library can be downloaded and installed for windows from the internet. I would suggest you to install this library at your windows system and try to debug again. 

Best regards, 

Nick  

KalbJoshua
New Poster

Re: Dependency problem with dotnet Datalayer Dlls

Thanks for the Answer, i try it. 

Which Version did you mean? The newest Version that i can get is 1.12.9 of ctrlX Works.

nickH
Occasional Contributor

Re: Dependency problem with dotnet Datalayer Dlls

The version 1.12.9 is a patch for the long term service version 1.12. This long term service version we release once a year. All other versions, for example 1.10 or 1.14 (or even 1.16), were and will be prototypes only. So, they are no longer supported as soon as a later version is released.

These versions are available on a special path in the collaboration room (ctrlX_CORE_APPS_Releases/<V.Number>). If you want to download a prototype version you got to request the access to this path. This can be done with an e-mail request (see FAQ for ctrlX WORKS).

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist