Solved

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

Posted on 2008-10-01
4
229 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
  • 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

828 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