Solved

Issues with application being minimized for 10 + minutes - Can errors occur upon maximization?

Posted on 2008-10-01
4
230 Views
Last Modified: 2012-05-05
I have a VB.NET 2005 application using SQL Express.

I have ONE customer who has a 2.9gh P4 PC w/512K memory.  He maintains about 4 applications which includes PCMiler, Outlook 2003 and a couple of web pages with Internet Explorer 6.

If he is in mal or surfing for any length of time and then maximizes my application, it seems slow to refresh te maximization and after he performs 2-3 functions quickly where he pulls up a record and then updates it, he gets an error regarding a [field_?? not found].  This occurs on several different fields but the code for save works flawlessly otherwise.  And, besides, the field in question is not the first field in the update stored procedure or refresh of the text fields after update.

Is anyone aware of a problem with this or has experiences something like this??

Thanks!
Phil
0
Comment
Question by:TSFLLC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 11

Expert Comment

by:melmers
ID: 22621549
I can only think that it is a connection timeout thing. so on your code do you check the connection status every time before you make db operation ? can you reproduce the problem on your development machine ?
0
 

Author Comment

by:TSFLLC
ID: 22641735
melmers,

No I don't check the connection state.  I've never had an issue with connectivity....yet.

can you reproduce the problem on your development machine ?  >>  That's my #1 problem.  I can't seem to reproduce.  Yesterday while at their location and using my laptop I was able to reproduce it.  I was able to narrow it down but not exactly identify.

Brought their database home with me, restored it, began to make the same changes....and cannot reproduce the error once again.  But I have a strong idea about where the problem is and I think I need to rethink the setup of my code and make some modifications to it.

Thanks!
Phil
0
 
LVL 11

Expert Comment

by:melmers
ID: 22642147
look at a timout in your connection when you use odbc or something else. do you use connection pooling ?
0
 

Accepted Solution

by:
TSFLLC earned 0 total points
ID: 22788017
Sorry for the delay melmers.  I made some minor code modifications to two Windows Forms and appear to have resolved the issue.  It appeared to be a conflict with a global variable setting where a dataset was getting stepped on by the previously generated dataset without a .dispose and/or .clear.

I appreciate the effort though.  I'm going to have this posting removed.

Thanks
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question