Click here to Skip to main content
16,020,345 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Sir,

I have a really wierd problem and have been stuck for days.
I have a project created with VS Express 2013 on my Win7 64-bit notebook.

All the functions work well in my project except the FW update function. The FW update function works well with VS Express 2013 but fails when I run the .exe file under the debug folder. It will show “xxx has stopped working” at the end of the update procedure.

I get three error log files from C:\users\......

1. WERCE38.tmp.WERInternalMetadata.xml
XML
<?xml version="1.0" encoding="UTF-16"?>
<WERReportMetadata>
    <OSVersionInformation>
        <WindowsNTVersion>6.1</WindowsNTVersion>
        <Build>7601 Service Pack 1</Build>
        <Product>(0x1): Windows 7 Ultimate</Product>
        <Edition>Ultimate</Edition>
        <BuildString>7601.18798.amd64fre.win7sp1_gdr.150316-1654</BuildString>
        <Revision>1130</Revision>
        <Flavor>Multiprocessor Free</Flavor>
        <Architecture>X64</Architecture>
        <LCID>1028</LCID>
    </OSVersionInformation>
    <ProblemSignatures>
        <EventType>CLR20r3</EventType>
        <Parameter0>EA Power Control.exe</Parameter0>
        <Parameter1>1.0.0.0</Parameter1>
        <Parameter2>554b2236</Parameter2>
        <Parameter3>mscorlib</Parameter3>
        <Parameter4>4.0.30319.34209</Parameter4>
        <Parameter5>534894cc</Parameter5>
        <Parameter6>137b</Parameter6>
        <Parameter7>13</Parameter7>
        <Parameter8>System.ObjectDisposedException</Parameter8>
    </ProblemSignatures>
    <DynamicSignatures>
        <Parameter1>6.1.7601.2.1.0.256.1</Parameter1>
        <Parameter2>1028</Parameter2>
        <Parameter22>0a9e</Parameter22>
        <Parameter23>0a9e372d3b4ad19135b953a78882e789</Parameter23>
        <Parameter24>0a9e</Parameter24>
        <Parameter25>0a9e372d3b4ad19135b953a78882e789</Parameter25>
    </DynamicSignatures>
    <SystemInformation>
        <MID>061F2CDA-D9D3-49C1-BB68-95575E25AA54</MID>
        <SystemManufacturer>ASUSTeK COMPUTER INC.</SystemManufacturer>
        <SystemProductName>X550VB</SystemProductName>
        <BIOSVersion>X550VB.213</BIOSVersion>
    </SystemInformation>
</WERReportMetadata>


2. WERE61C.tmp.appcompat.txt
3. WERE63C.tmp.mdmp

More information:
My application will close the serial port in the end of the update. In the output window of VS Express 2013, I can see a close serial port exception dump by myself, but the program keeps running. Is that the root cause?

Why does application have stopped working error with .exe file but run well with Visual Studio?

Really appreciate your advice and help!!

Eric
Posted
Updated 8-May-15 1:41am
v2
Comments
Sinisa Hajnal 8-May-15 7:44am    
I would say yes, closing the port and the cause because of this part:
System.ObjectDisposedException

Why it would continue running is a whole different story. Find the source of the exception, catch it, resolve it with log, message box or something and keep running.

1 solution

Hello, Sinisa,

Really appreciate your feedback. I will try to fix the exception error.
Have a nice day!

Eric
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900