Click here to Skip to main content
15,902,636 members
Home / Discussions / C#
   

C#

 
GeneralRe: Tracking Data Changes Pin
Gerry Schmitz16-Dec-19 12:06
mveGerry Schmitz16-Dec-19 12:06 
QuestionHow do you make a unit test of an empty linked list? Pin
Melissa Anthonia13-Dec-19 7:56
Melissa Anthonia13-Dec-19 7:56 
AnswerRe: How do you make a unit test of an empty linked list? Pin
Melissa Anthonia13-Dec-19 9:13
Melissa Anthonia13-Dec-19 9:13 
GeneralRe: How do you make a unit test of an empty linked list? Pin
Gerry Schmitz13-Dec-19 12:49
mveGerry Schmitz13-Dec-19 12:49 
GeneralRe: How do you make a unit test of an empty linked list? Pin
Melissa Anthonia13-Dec-19 13:45
Melissa Anthonia13-Dec-19 13:45 
AnswerRe: How do you make a unit test of an empty linked list? Pin
Melissa Anthonia14-Dec-19 3:14
Melissa Anthonia14-Dec-19 3:14 
Questiondesign a printdocument control with a text and boxes like filling form Pin
bimalachira13-Dec-19 7:06
bimalachira13-Dec-19 7:06 
AnswerRe: design a printdocument control with a text and boxes like filling form Pin
OriginalGriff13-Dec-19 8:03
mveOriginalGriff13-Dec-19 8:03 
Questionc# memory crash Pin
Member 1449096413-Dec-19 5:26
Member 1449096413-Dec-19 5:26 
AnswerRe: c# memory crash Pin
OriginalGriff13-Dec-19 5:42
mveOriginalGriff13-Dec-19 5:42 
GeneralRe: c# memory crash Pin
Member 1449096413-Dec-19 5:57
Member 1449096413-Dec-19 5:57 
AnswerRe: c# memory crash Pin
OriginalGriff13-Dec-19 6:03
mveOriginalGriff13-Dec-19 6:03 
GeneralRe: c# memory crash Pin
Eddy Vluggen13-Dec-19 6:04
professionalEddy Vluggen13-Dec-19 6:04 
GeneralRe: c# memory crash Pin
OriginalGriff13-Dec-19 6:12
mveOriginalGriff13-Dec-19 6:12 
GeneralRe: c# memory crash Pin
Eddy Vluggen13-Dec-19 6:13
professionalEddy Vluggen13-Dec-19 6:13 
GeneralRe: c# memory crash Pin
Eddy Vluggen13-Dec-19 6:13
professionalEddy Vluggen13-Dec-19 6:13 
GeneralRe: c# memory crash Pin
Member 1449096413-Dec-19 6:21
Member 1449096413-Dec-19 6:21 
GeneralRe: c# memory crash Pin
Eddy Vluggen13-Dec-19 6:24
professionalEddy Vluggen13-Dec-19 6:24 
GeneralRe: c# memory crash Pin
Richard Deeming13-Dec-19 6:31
mveRichard Deeming13-Dec-19 6:31 
GeneralRe: c# memory crash Pin
Eddy Vluggen13-Dec-19 7:12
professionalEddy Vluggen13-Dec-19 7:12 
GeneralRe: c# memory crash Pin
Member 1449096413-Dec-19 6:42
Member 1449096413-Dec-19 6:42 
GeneralRe: c# memory crash Pin
Eddy Vluggen13-Dec-19 7:11
professionalEddy Vluggen13-Dec-19 7:11 
AnswerRe: c# memory crash Pin
Luc Pattyn13-Dec-19 11:59
sitebuilderLuc Pattyn13-Dec-19 11:59 
GeneralRe: c# memory crash Pin
Member 1449096413-Dec-19 14:17
Member 1449096413-Dec-19 14:17 
GeneralRe: c# memory crash Pin
Luc Pattyn13-Dec-19 15:35
sitebuilderLuc Pattyn13-Dec-19 15:35 
Hi,

if you want effective help, please start providing accurate information, and answers to all questions asked. Answers should be literal, not approximate! I will number my questions to make it easy for you to answer them. I am not promising a solution here, I am inviting you to provide enough information for someone to come up with substantiated suggestions rather than wild guesses as to what is going on.

1. If not present yet, put try/catch around the failing code, and make it show the following information:
1a. the entire exception, using its ToString() method;
1b. the error code (MySqlException has a number of properties!);
1c. the inner exception, again with ToString().
Put all of these in your next message!

2. Show your exact connection string or strings (replace password by asterisks). MySQL is known to be picky!

3. Where did you get your mysql DLL's (exact URL) ? what is their version number?

4. Sketch the history of database connects and disconnects up to the moment the failure occurs.

5. Have you modified any of the MySQL configuration parameters, things such as MaxUserPort and many others?

6. Have you specified timeout values that might be critically low?

7. Did you try calling Square(2)? What was its result when compiled with x86 and with x64.

8. What is your operating system? is it Windows10? is it 64-bit?

9. what is your development system? is it Visual Studio? which version?

10. What is the purpose of your app?

11. What is the purpose of your C++ function, the one that seems to sabotage further database accesses?

12. Is there anywhere in your code a try/catch block where the catch block is empty? i.e. are you swallowing exceptions, hence ignoring problematic situations, which is bound to make it extremely hard to understand what goes wrong??

13. are there any TCP actions involved, other than the MySQL accesses?

14. is there anything strange or peculiar happening before the MySqlException occurs, something you considered irrelevant and forgot to mention so far...?


That is it for now...

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.