הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
Question
Monday, April 25, 2016 10:53 PM
Hello Team,
We have an issue with console application (VB) in Windows 10 environment. this has been working fine in all different operating systems such as VISTA, WIN 7, Windows Server 2003, 2008,2012. but in Windows 10 it throws "has stopped working" with the error code logged in event viewer as follows.
Exception Code: 0xe0434f4d
Faulting application name: GOPCLI~1.EXE, version: 11.0.0.0, time stamp: 0x526e5342
Faulting module name: KERNELBASE.dll, version: 10.0.11099.1000, time stamp: 0x56918c12
Exception code: 0xe0434f4d
Fault offset: 0x000c6418
Faulting process id: 0x1d3c
Faulting application start time: 0x01d170c325e8bdb2
Faulting application path: C:\PROGRA~2\Chevron\GILTOO~1\GILOP\GOPCLI~1.EXE
Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
Report Id: c4d94bd6-8515-419c-8efc-45e2a8e7d9b3
Faulting package full name:
Faulting package-relative application ID:
The console application is running with DOT NET Framework 2.0.
This EXE is executed/invoked by a web application using the code looks like the following
var shell = new ActiveXObject("WScript.shell");
var strParam="CLEANUP MANUAL "
shell.run("\"" + strFile + "\" " + strParams);
then the console application will execute by it self, by with in this application we do invoke the same application as a different instance. but the first instance which is invoked by Web application throws the above exception. and the following exception is thrown.
Request your help on this issue. Kindly let me know if you need any additional information.
All replies (7)
Tuesday, April 26, 2016 12:12 AM ✅Answered | 1 vote
We have an issue with console application (VB) in Windows 10 environment. this has been working fine in all different operating systems such as VISTA, WIN 7, Windows Server 2003, 2008,2012. but in Windows 10 it throws "has stopped working" with the error code logged in event viewer as follows.
Exception Code: 0xe0434f4d
You can search on that error code. It seems to be associated either with a security issue, either user permissions or running on a network share. However, considering the age of the application it is also possible that Framework 2 is not installed properly. See: http://www.groovypost.com/howto/enable-net-framework-2-windows-8/
Friday, April 29, 2016 2:11 AM ✅Answered | 1 vote
Hello Team,
We have an issue with console application (VB) in Windows 10 environment. this has been working fine in all different operating systems such as VISTA, WIN 7, Windows Server 2003, 2008,2012. but in Windows 10 it throws "has stopped working" with the error code logged in event viewer as follows.
The console application is running with DOT NET Framework 2.0.
Well I did find a link below, with image, regarding .Net Framework 2.0 and Windows 10. Apparently there is a Windows Feature to turn on .Net Framework 3.5 which then includes .Net Frameworks 3.0 and 2.0. So perhaps your .Net compiled 2.0 Console App can't run on Win10 without that being enabled. I believe that Win8(x) requires this also as I saw another thread about that with Win8(x).
Or do you know for certain that .Net Framework 2.0 is running on the Win10 system?
Also is there a reason you can't compile the console app to .Net 4.0 or 4.5.2 or 4.6.1 and try it then?
.NET Framework 2.0 issue on Windows 10 64bit
La vida loca
Tuesday, May 3, 2016 4:29 AM ✅Answered
What I really love about Windows Error Messages is this, gathered from a few minutes of searching.
Error 0xe0434f4d means a remote computer runs an instance of the SQL Server 2005 but it fails to initialize.
Error 0xe0434f4d means that the process is still running but failing.
Error 0xe0434f4d is a System.IO.FileNotFoundException exception when you are browsing a .Net Framework 2.0 ASP.NET Web application.
Error 0xe0434f4d can occur for possibly two main reasons.
The first one is when the System Attendant Service is not properly running
The second when you don’t have the permission to run the update.
Other causes are when the .NET Framework 2.0 security does not allow sqlplanlaunch access to run from a shared network.
Tuesday, April 26, 2016 2:51 AM
Can you elaborate on how the web application launches this process? I assume you refer to a back-end process launched on the webserver by the web application, as opposed to the browser attempting to run this exe on the client (if it had been previously downloaded/installed). If it is indeed on the backend, where does the console application reside in relation to the web application? Is it in a subfolder within the web application directory?
My initial guess would be a security issue, as Acamar points to. A web application that can run external processes is a potential security risk if those processes are not properly secured.
Reed Kimble - "When you do things right, people won't be sure you've done anything at all"
Thursday, April 28, 2016 8:52 PM
Hello Reed, I have updated the main thread with the exception details logged in eventvwr.
we do invoke console application from web application in the client machine with client script as mentioned below.
var shell = new ActiveXObject("WScript.shell");
var strParam="CLEANUP MANUAL "
shell.run("\"" + strFile + "\" " + strParams);
Please let me know fi you need any additional information.
Monday, May 9, 2016 9:19 PM
Hi,I'm certain that Dot Net Framework 2.0 is perfectly working on this machine.
I can not compile this application with 4.0 because I don't have the target machines with 4.0 framework installed. my target machines are still with 2.0.
Kindly let me know if you need any additional information.
Monday, May 9, 2016 10:23 PM
Hi,I'm certain that Dot Net Framework 2.0 is perfectly working on this machine.
I can not compile this application with 4.0 because I don't have the target machines with 4.0 framework installed. my target machines are still with 2.0.
Kindly let me know if you need any additional information.
Is the windows feature on the Win10 system turned on for using .Net 3.5 or less which allows the use of .Net 2.0? I don't know how you can be certain without checking and you never advised that you checked.
Also have you checked event viewer (or whatever Win10 uses) on Win10 system to see what any events with regard to the app crashing may have occured?
If the Win10 machine is yours then try installing VS 2015 Community which is free on it. Place a copy of your console app project on the Win10 system. If necessary create a new project in VS 2015 community as a console project set to .Net Framework 2.0. Copy the code from your console apps projects appropriate vb file and paste it into the projects vb file displayed in VS 2015. I'm not sure VS 2015 could "upgrade" your console app project since it is I suppose from VS 2008 or 2010 perhaps. Then you can debug your app on Win10.
La vida loca