Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 00:53

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Programm crasht.

Discussion on Programm crasht. within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1


 
tschulian's Avatar
 
elite*gold: 294
Join Date: Sep 2013
Posts: 1,410
Received Thanks: 635
Exclamation Programm crasht.

Guten Morgen,
eines meiner Programm verabschiedet sich sporadisch mit folgendem Fehlercode:

Good Morning,
one of my programs craches with the following errorcode:

Code:
Problem signature:
  Problem Event Name:	CLR20r3
  Problem Signature 01:	test.exe
  Problem Signature 02:	1.0.0.0
  Problem Signature 03:	5591bc4d
  Problem Signature 04:	System.Data
  Problem Signature 05:	4.0.30319.17929
  Problem Signature 06:	4ffa5c76
  Problem Signature 07:	2275
  Problem Signature 08:	5e
  Problem Signature 09:	System.Data.SqlClient.Sql
  OS Version:	6.1.7601.2.1.0.256.48
  Locale ID:	1033
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

tschulian is offline  
Old 07/03/2015, 13:37   #2


 
Requi's Avatar
 
elite*gold: 3570
The Black Market: 244/0/0
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252
Entweder lässt du jede Unhandled Exception detailiert loggen, mit dem AppDomain.Current.UnhandledException Event.
Oder du packst um die Funktion eine try catch Anweisung.

msdn Einträge:



Requi is offline  
Thanks
1 User
Old 07/03/2015, 13:46   #3


 
tschulian's Avatar
 
elite*gold: 294
Join Date: Sep 2013
Posts: 1,410
Received Thanks: 635
Das habe ich auch schon gefunden, leider weiß ich eben aufgrund wenig C# Kentnisse wie ich das einbauen kann das alle unhandled exceptions gelogged werden...
tschulian is offline  
Old 07/03/2015, 13:52   #4


 
Requi's Avatar
 
elite*gold: 3570
The Black Market: 244/0/0
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252
Code:
AppDomain.Current.UnhandledException += new EventHandler(LogException);

private void LogException(object sender, EventArgs e)
{
var exception = (Exception)e.ExceptionObject;
//exception hat jetzt alle nötigen daten die du brauchst.
}
war ausm kopf geschrieben falls fehler vorhanden sind.
Requi is offline  
Old 07/03/2015, 14:25   #5


 
tschulian's Avatar
 
elite*gold: 294
Join Date: Sep 2013
Posts: 1,410
Received Thanks: 635
Quote:
Originally Posted by Requi View Post
Code:
AppDomain.Current.UnhandledException += new EventHandler(LogException);

private void LogException(object sender, EventArgs e)
{
var exception = (Exception)e.ExceptionObject;
//exception hat jetzt alle nötigen daten die du brauchst.
}
war ausm kopf geschrieben falls fehler vorhanden sind.
OKay und diese variable muss jetzt noch in ein Textdokument geschrieben werde.
tschulian is offline  
Old 07/03/2015, 14:47   #6


 
Requi's Avatar
 
elite*gold: 3570
The Black Market: 244/0/0
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252
Ich denke du wirst selbst googlen können, wie man in eine Datei schreibt und was das Object der Exception für Member hat.
Requi is offline  
Reply


Similar Threads Similar Threads
[Batch] start programm, wait, close programm and redo after 60sec ?!
08/06/2013 - General Coding - 1 Replies
Hallo ich versuche gerade mit Batch das im Titel genannte zu erreichen. Soweit bin ich schon: @echo off cls :start START "Mozilla Firefox" /wait "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
Winsock send Hook crasht Programm?
07/14/2013 - C/C++ - 18 Replies
Hey, Habe vorhin ein Hook zusammengeschraubt womit ich mir bisschen die Pakete von Netzwerk Programmen anschauen wollte. In Counterstrike funktioniert das ganze ohne große Probleme, bei Firefox oder WoW schmiert es aber mit ner Acces Violation ab.. hab ich da irgendwas übersehen im Code? Versuch schon seit gut ner Stunde rum, bekomms aber nicht gebacken.. mittlerweile schaut der Code auch schon bissel wüsst aus vom rumprobieren.. :rolleyes: #include <windows.h> #include <iostream>...
[Suche] Programm das ermittelst welche ports von einem programm verwendet werden
04/06/2012 - Off Topic - 3 Replies
Hallo, ich versuche immer einen apache server auf meinen pc laufen zu lassen mit xampp nur ich kann das apache nicht starten ka warum ich denke der port wird von irgend einem anderen programm verwändet. skype alles beendet aber geht immernochnicht und jetzt suche ich ein gutes programm mit dem ich herausfinden kann welche ports von welchem programm belegt werden Wäre toll wenn mir hier einer ein Programm nennen kann MFG Benni



All times are GMT +1. The time now is 00:54.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.