Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-01
4
Medium Priority
?
234 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

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

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

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…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

916 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