New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running app on Win2003 #849
Comments
Info update:
|
I had the same issue installing VC++ 2012 runtimes, solved my problem... http://www.microsoft.com/en-us/download/details.aspx?id=30679 |
Unfortunately it's not about a missing VC++ runtime, the 2012 redist is even part of our installer. And from the docs for
|
warning, should be installed the VCx86 or VCx64 depends on which platform you have built the application.. |
@pipiscrew all here is just win32 only. More info:
|
various : could be caused by Microsoft EMET, check the Application Event Log - http://stackoverflow.com/a/17564514 more at http://stackoverflow.com/search?q=0xc0000409 btw on which OS have you built the executable, with what 'platform target', with what configuration (debug/release) ? |
File load exceptions usually have InnerExceptions and sometimes those have InnerExceptions. Additionally, check out: https://msdn.microsoft.com/en-us/library/e74a18c4(v=VS.100).aspx Does the example project work on Win2k3 R2? Bill |
@rassilon it's win2k3 r2 we're having problems with, haven't tried any other versions of win2k3 yet. |
Strangely enough, after letting the system install the latest security updates, the Error events visible in the event viewer have changed a bit.
Error 2:
Continuing to research... |
Have you solved this? This maybe helpful https://groups.google.com/d/msg/cefsharp/J5gX7OKf7Rc/30YWt6nUF7oJ |
@amaitland |
@amaitland and @jornh I am also facing the same issue in running application on windows 2003. I am using CefSharp 37 version. In my case event log having error : First Error : Application: MyApp.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileLoadException Stack: at MyApp.Program.Main() Second Error : Faulting application MyApp.exe, version 1.0.0.0, stamp 5507c7af, faulting module kernel32.dll, version 5.2.3790.3959, stamp 45d70ad8, debug? 0, fault address 0x0000bee7. Using Dependency Walker I come to know that msjava.dll is not able to load(Not found). How can I solve this. |
I've never seen that error before, far as I'm aware |
To isolate the issue it would be helpful to confirm you get the same error when running one of |
Yes,running |
You'll likely have to rebuild from https://groups.google.com/forum/#!msg/cefsharp/J5gX7OKf7Rc/30YWt6nUF7oJ |
Ohh :( I don't have VS2013 as of now. I will try it later :( |
|
I have a concern, after changing Platform Toolset to |
Correct. There is a https://groups.google.com/forum/#!msg/cefsharp/J5gX7OKf7Rc/30YWt6nUF7oJ |
Anything more before we close this? |
I just happened to run into the same issue today - reopening. The OS in this case is Windows 2003 Server R2 (an older set of servers at one of our clients where we aim to deploy a CefSharp-based app shortly). The error I get is the following:
I have tested to apply the hint in #627 (disabling GPU support) both as command line parameter to the WPF example, and by recompiling the CefSharp example to include it - neither option helped. The error I am seeing in Dependency Walker is the following files missing:
The first one is from the Desktop Windows Manager, introduced in the Windows Vista-series of operating systems (i.e. Windows Server 2008 and newer, I assume). The latter ones are from the so-called Media Foundation, likely also missing on Windows XP and Server 2003. Unfortunately, the dependencies seems to be coming from libcef.dll in this case. Meaning: I suspect I will have to recompile all of CEF... 😢 If that even helps. Will have to google this a bit more. Anyone see any other suggested solutions? The easy fix would of course be to upgrade these servers, but for obvious reasons I cannot enforce that upon the customer in this case. So we really have to fix it, one way or the other. |
@perlun, which CefSharp version you are using? Kindly refer https://github.com/cefsharp/CefSharp#release-branches for for respected |
Thanks for an extremely fast reply! Using v37. Good points about the C++ redist, actually forgot about that now when testing the WPF example (it's bundled with our package in the "real" use case). Will ensure that these files are present now, and then go for rebuilding CefSharp using the XP settings as described here: https://groups.google.com/forum/#!searchin/cefsharp/xp/cefsharp/J5gX7OKf7Rc/EoB3h0UmfYYJ |
@perlun Yes, you may need help of this https://github.com/cefsharp/CefSharp/wiki/Output-files-description-table-(Redistribution) 👍 |
May not be strictly required. See #1007 (comment) |
Which part are you referring to, the VS2012 SP4 suggestion? |
Interesting @amaitland, you seem to be right:
The previous version I used is CefSharp v37.0.1. It was built a while ago using VS2012, probably by me (or maybe on AppVeyor). How do I proceed on building a v37.0.2 with VS2013? Should I publish it on the official channel or do you prefer a MyGet build for these kind of more "unofficial" builds? (Thanks a lot for your support btw.) |
Reports suggest that it works on
There's a tag for the release, so it will be an
As the https://github.com/cefsharp/CefSharp/blob/cefsharp/37/CefSharp.props I think f2da822#diff-f0e02e42e53ec40f5d3b8bed031ad09e will also be required.
Long as users are aware of the change in requirements I'm happy for a |
Thanks - I've done most of this now, will make a (self-merged) PR with it shortly. Also released v37.0.3, but unfortunately not including the Readme.txt though (hadn't seen your comments before doing the release). |
This fixes #849, by providing a "reasonably official" CefSharp build that works correctly on Windows Server 2003 R2. Windows XP is untested, please report if it works or not. Note: This changes the prerequisite from Visual C++ 2012 Redistributable to Visual C++ **2013** redistributable.
Trying to run our app on a Windows 2003 system, it doesn't start anymore and generates errors in the windows event log. The last release using CefSharp1 didn't have this problem.
The first one says
and the second one immediately after:
Anyone an idea what could have gone wrong here?
The text was updated successfully, but these errors were encountered: