473,385 Members | 1,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Diagnostic Information Collation

I have a problem with my application crashing on-site.. (It just disappears
with no errors!).

I suspect that I am running out of some sort of resource during the time
that the application is running.

To assist in tracing what is going on, I want to trace and log the resources
that my application is using (such as amount of memory, threads etc). I
have a central place in my code that I can log all this information, but I
have two questions :

1. What information should I be logging ?
2. How do I get this information (WMI?? Win32 calls?? somewhere in
the diagnostic class?)

Thanks in advance for any ideas.

Regards
Simon

--
Simon Verona
Nov 2 '06 #1
3 1010
You may have already seen this as it's on the start page of visual
studio, but this link addresses some of these issues. Not sure if it
will solve any of your problems but it should give you some ideas on
how to proceed.

Thanks,

Seth Rowe
Simon Verona wrote:
I have a problem with my application crashing on-site.. (It just disappears
with no errors!).

I suspect that I am running out of some sort of resource during the time
that the application is running.

To assist in tracing what is going on, I want to trace and log the resources
that my application is using (such as amount of memory, threads etc). I
have a central place in my code that I can log all this information, but I
have two questions :

1. What information should I be logging ?
2. How do I get this information (WMI?? Win32 calls?? somewhere in
the diagnostic class?)

Thanks in advance for any ideas.

Regards
Simon

--
Simon Verona
Nov 2 '06 #2
You may have already seen this as it's on the start page of visual
studio, but this link addresses some of these issues. Not sure if it
will solve any of your problems but it should give you some ideas on
how to proceed.

http://msdn.microsoft.com/msdnmag/is...t/default.aspx

Thanks,

Seth Rowe
Simon Verona wrote:
I have a problem with my application crashing on-site.. (It just disappears
with no errors!).

I suspect that I am running out of some sort of resource during the time
that the application is running.

To assist in tracing what is going on, I want to trace and log the resources
that my application is using (such as amount of memory, threads etc). I
have a central place in my code that I can log all this information, but I
have two questions :

1. What information should I be logging ?
2. How do I get this information (WMI?? Win32 calls?? somewhere in
the diagnostic class?)

Thanks in advance for any ideas.

Regards
Simon

--
Simon Verona
Nov 2 '06 #3
Thats a good article, and I'll be reading it in depth.

However, at a quick scan, it doesn't have anything that I can use to "log"
from within the application itself. I want to be able to log all the
details I need and then read through the log file after an application
crash.

The problem is that I can't really duplicate the problem in the lab, but
lots of customers report it, So, I want log files from real users...

Regards
Simon

--
Simon Verona

"rowe_newsgroups" <ro********@yahoo.comwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
You may have already seen this as it's on the start page of visual
studio, but this link addresses some of these issues. Not sure if it
will solve any of your problems but it should give you some ideas on
how to proceed.

http://msdn.microsoft.com/msdnmag/is...t/default.aspx

Thanks,

Seth Rowe
Simon Verona wrote:
>I have a problem with my application crashing on-site.. (It just
disappears
with no errors!).

I suspect that I am running out of some sort of resource during the time
that the application is running.

To assist in tracing what is going on, I want to trace and log the
resources
that my application is using (such as amount of memory, threads etc). I
have a central place in my code that I can log all this information, but
I
have two questions :

1. What information should I be logging ?
2. How do I get this information (WMI?? Win32 calls?? somewhere
in
the diagnostic class?)

Thanks in advance for any ideas.

Regards
Simon

--
Simon Verona

Nov 2 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: amos | last post by:
hi i have a db with hebrew collation. i now want it to be cyrillic collation. converting the db collation - wont help. i tried exporting data to a blank DB created with cyrillic collation -...
2
by: Marco | last post by:
I need to migrate an application from SQL 7.0 to SQL 2000. I know that they use different collations, and this causes problems when 7.0 applications are moved to 2000. I would like to find a...
3
by: Matik | last post by:
Hello, I think I'd might have a small collation problem. Configuration: Two SQL Srv 2000 SP3 (running on clusters). Booth servers configured with SQL_Latin1_General_CP1_CI_AS collation. ...
0
by: Alper Barkmaz | last post by:
Hi All; We have a database which is designed in Turkish collation. Widely, its designed for that language and there is no way to turn it back. But, remote database had been installed in...
7
by: Ryan | last post by:
I've stumbled across the above error and am a little stuck. I've just installed SQL2000 (sp3) on my PC and restored a database from our Live server. On a simple Update statement on a #temp table,...
3
by: David Greenberg | last post by:
Hi When we installed SqlServer2000 we left the default collation name (Sql_Latin1_General_CPI_CI_AS). The user defined databases we created afterwards were defined with a different collation name...
2
by: =?utf-8?B?UMSBdmVscyBNaWhhaWxvdnM=?= | last post by:
Hello, I have a problem. I've linked MySql server to MsSql, in MySql I have a table with Latvian data(character set is ucs2, ucs2_general_ci) and the problem is that when I use openquery to read...
3
by: aj | last post by:
A few collation questions on SQL Server 2005 SP2, which I'll call SQLS. The default collation for SQLS is apparently SQL_Latin1_General_CP1_CI_AS. I wish to use a variation of this,...
5
by: santosh | last post by:
We are given the definition of a "diagnostic message" in 3.10 of the Standard. To quote: 3.10 1 diagnostic message message belonging to an implementation-defined subset of the implementation's...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.