# SDKERR\_MODULE\_LOAD\_FAILED during Initialization C# Wrapper

**URL:** <https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794>\
**Category:** Windows\
**Created:** [June 19, 2020, 6:23am UTC](https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794 "2020-06-19T06:23:27Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickrwann](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nickrwann/32/10719_2.png) [@nickrwann](https://devforum.zoom.us/u/nickrwann)\
**Post date:** [June 19, 2020, 6:23am UTC](https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794/1 "2020-06-19T06:23:27Z")

</div>

**Description**  
I’m following the github code to initialize the SDK:

ZOOM\_SDK\_DOTNET\_WRAP.InitParam param = new ZOOM\_SDK\_DOTNET\_WRAP.InitParam();  
param.web\_domain = “[https://zoom.us](https://zoom.us)”;  
ZOOM\_SDK\_DOTNET\_WRAP.SDKError err = ZOOM\_SDK\_DOTNET\_WRAP.CZoomSDKeDotNetWrap.Instance.Initialize(param);  
Console.WriteLine(err);  
if (ZOOM\_SDK\_DOTNET\_WRAP.SDKError.SDKERR\_SUCCESS == err)  
{  
Console.WriteLine(“success”);  
}  
else//error handle.todo  
{  
Console.WriteLine(“error”);  
}

But I’m still getting "SDKERR\_MODULE\_LOAD\_FAILED… any help?

**Which version?**  
The latest, I just downloaded today.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [June 20, 2020, 12:27am UTC](https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794/2 "2020-06-20T00:27:51Z")

</div>

Hi @nickrwann,

Thanks for the post. Is this happening with our demo app? Are you building with release + x86 mode? Please suggest the steps to reproduce this with our demo app.

Thanks!

---

<div class="post-metadata">

**Author:** ![nickrwann](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nickrwann/32/10719_2.png) [@nickrwann](https://devforum.zoom.us/u/nickrwann)\
**Post date:** [June 21, 2020, 3:09am UTC](https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794/3 "2020-06-21T03:09:31Z")

</div>

Yes. This is using the x86 c# wrapper demo and my own. I downloaded the SDK and c# wrapper files. Places the h and bin fines in the c# wrapper as instructed, changed it to build, and ran the demo. I’m printing the result to initiating the wrapper and it fails.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [June 24, 2020, 5:44am UTC](https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794/4 "2020-06-24T05:44:10Z")

</div>

Hi @nickrwann,

Thanks for the reply. Could you verify and see if the compiled exe files are in the same root directory of the dll files in /bin file?

I have just downloaded the demo app from here: [https://github.com/zoom/zoom-c-sharp-wrapper](https://github.com/zoom/zoom-c-sharp-wrapper) and I am able to build and run the demo app.

Please have a try. Thx.

---

<div class="post-metadata">

**Author:** ![nickrwann](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nickrwann/32/10719_2.png) [@nickrwann](https://devforum.zoom.us/u/nickrwann)\
**Post date:** [June 24, 2020, 5:27pm UTC](https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794/5 "2020-06-24T17:27:46Z")

</div>

Did you enter credentials? The GUI will start up with the files. That’s just XAML. But if you print the results from initializing the SDK, they return with an error.

---

<div class="post-metadata">

**Author:** ![nickrwann](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nickrwann/32/10719_2.png) [@nickrwann](https://devforum.zoom.us/u/nickrwann)\
**Post date:** [June 25, 2020, 2:50am UTC](https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794/6 "2020-06-25T02:50:48Z")

</div>

Also, I have a x64 processor. Would that prevent me from using this?

---

<div class="post-metadata">

**Author:** ![hsirmaa](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hsirmaa/32/7856_2.png) [@hsirmaa](https://devforum.zoom.us/u/hsirmaa)\
**Post date:** [June 25, 2020, 1:48pm UTC](https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794/7 "2020-06-25T13:48:06Z")

</div>

I have same problem i followed build instructions and getting same error. XAML just shows up if i enter credentials it just hides and does nothing. If i check the error while initializing it returns

> SDKERR\_MODULE\_LOAD\_FAILED  
> Sdk loading failed

```
            //init sdk
        {
            ZOOM_SDK_DOTNET_WRAP.InitParam param = new ZOOM_SDK_DOTNET_WRAP.InitParam();
            param.web_domain = "https://zoom.us";
            ZOOM_SDK_DOTNET_WRAP.SDKError err = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.Initialize(param);
            if (ZOOM_SDK_DOTNET_WRAP.SDKError.SDKERR_SUCCESS == err)
            {
                Console.WriteLine("SDK loaded");
            }
            else//error handle.todo
            {
                Console.WriteLine(err);
                Console.WriteLine("Sdk loading failed");
            }
        }

```

Im trying on VS2019

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [June 27, 2020, 1:47am UTC](https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794/9 "2020-06-27T01:47:30Z")

</div>

Hi,

Here are the steps to run the demo app:

1. Download the SDK and the demo app from: [https://github.com/zoom/zoom-c-sharp-wrapper](https://github.com/zoom/zoom-c-sharp-wrapper)
2. Open the zoom\_sdk\_demo folder, and use Visual Studio to open the zoom\_sdk\_demo.csproj file. No need to move any files or folder
3. Change the solution configuration to: Release + Any CPU like the following:  
 ![D2A204E1-CA54-497F-A9DF-93C9352E7790](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/5a9f988d07279091896c8fc7737f4aacdd46e715.png)  
**Note: If you are using Debug mode, you will run into the SDKERR\_MODULE\_LOAD\_FAILED error**
4. Build and run the demo app.

Please have a try.

Thanks!

---

<div class="post-metadata">

**Author:** ![nickrwann](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nickrwann/32/10719_2.png) [@nickrwann](https://devforum.zoom.us/u/nickrwann)\
**Post date:** [June 28, 2020, 8:56pm UTC](https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794/10 "2020-06-28T20:56:06Z")

</div>

Thanks - that worked. I think it was because I was replacing the C# Wrapper files like the walk-through on the main website says to do.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [July 3, 2020, 5:59am UTC](https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794/11 "2020-07-03T05:59:56Z")

</div>

Glad to hear that it is working. Thanks for the suggestion. I will forward the feedback to the doc team and we will enhance the documentation.

---

<div class="post-metadata">

**Author:** ![brook.ballard](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/brook.ballard/32/27140_2.png) [@brook.ballard](https://devforum.zoom.us/u/brook.ballard)\
**Post date:** [June 8, 2021, 1:59pm UTC](https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794/12 "2021-06-08T13:59:09Z")

</div>

I am running into the same issue - please see my detailed post here: [Cannot rebuild C# Wrapper - Desktop Client SDK / Windows - Zoom Developer Forum](https://devforum.zoom.us/t/cannot-rebuild-c-wrapper/52005)

The wrapper works fine out of the box, but if I rebuild the DLL it returns this MODULE\_LOAD\_FAILED error.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [June 8, 2021, 8:36pm UTC](https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794/13 "2021-06-08T20:36:35Z")

</div>

Hey @brook.ballard,

Can you check out my comment on that thread?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![testing](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/testing/32/38852_2.png) [@testing](https://devforum.zoom.us/u/testing)\
**Post date:** [June 27, 2022, 12:14pm UTC](https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794/15 "2022-06-27T12:14:59Z")

</div>

I am getting same error [SDKERR\_MODULE\_LOAD\_FAILED].I am attaching the screenshot please help for the implementation.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/e/4ed396cded7315cb5d38bf9f0d4c482713872123.png)

---

<div class="post-metadata">

**Author:** ![testing](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/testing/32/38852_2.png) [@testing](https://devforum.zoom.us/u/testing)\
**Post date:** [June 30, 2022, 6:56pm UTC](https://devforum.zoom.us/t/sdkerr-module-load-failed-during-initialization-c-wrapper/21794/16 "2022-06-30T18:56:38Z")

</div>

Hello Team,

Please help the needful if is possible and I am getting the error authentication and zoom sdk initialization.
