Unable to run the application at Windows Server 2012 R2 #4628
Closed
laxmi-lal-menaria
started this conversation in
General
Replies: 1 comment
-
See #4336 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an existing issue for this?
CefSharp Version
117.2.40.0
Operating System
Windows Server 2016
Architecture
x64
.Net Version
4.6.2
Implementation
WinForms
Reproduction Steps
Have created a basic application which load a weburl, it is working fine on development machine. When I have build with RELEASE option and pushed to production server without Visual Studio installed, it give me errors.
https://github.com/cefsharp/CefSharp/wiki/Output-files-description-table-%28Redistribution%29
I have checked and installed VS C++ 2019 Redistributable but still same DLL load issue.
Expected behavior
Not able to run.. dll load issue
2023-11-17 02:10:24,026 - A procedure imported by 'CefSharp.Core.Runtime.dll' could not be loaded.
2023-11-17 02:10:24,026 -
2023-11-17 02:10:24,042 - at CefSharp.Cef.get_IsInitialized()
at CefSharp.WinForms.ChromiumWebBrowser.InitializeFieldsAndCefIfRequired() in C:\projects\cefsharp\CefSharp.WinForms\ChromiumWebBrowser.cs:line 334
at CefSharp.WinForms.ChromiumWebBrowser.OnHandleCreated(EventArgs e) in C:\projects\cefsharp\CefSharp.WinForms\ChromiumWebBrowser.cs:line 599
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2023-11-17 02:10:34,761 - IBrowser instance is null. Browser has likely not finished initializing or is in the process of disposing.
2023-11-17 02:10:34,761 -
2023-11-17 02:10:34,948 - at CefSharp.WebBrowserExtensions.GetMainFrame(IChromiumWebBrowserBase browser) in C:\projects\cefsharp\CefSharp\WebBrowserExtensions.cs:line 76
Actual behavior
Should display webpage.
Regression?
test
Known Workarounds
Tried changing Framework from 4.6.2 to 4.8.
Does this problem also occur in the CEF Sample Application
Yes using WinForms command line args
Other information
when using same above getting "the procedure entry point discard virtual memory could not be located in dynamic link library"
Beta Was this translation helpful? Give feedback.
All reactions