Current location: Hot Scripts Forums » Programming Languages » Visual Basic » SQL infinite loop problem with VB application


SQL infinite loop problem with VB application

Reply
  #1 (permalink)  
Old 05-06-04, 01:32 PM
Syed Syed is offline
New Member
 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
SQL infinite loop problem with VB application

One of our client’s DBA is experiencing an occasional SQL infinite loop problem that him and two of our VB programmers couldn’t figure out. Details are below; any help will be deeply appreciated if you have any clue. If you need more details I can provide that too.

Our client is running an IVR (Interactive Voice Response) application designed in VB6 by a leading IVR company. VB code connects to their SQL 6.5 server using the SQLOLEDB from VB application server, and inserts or updates record via a stored procedure in parent and child tables. This application works for few weeks and then SQL database goes into an infinite record insertion loop and inserts thousands of identical records only in child table until a major crash occurs. Client thinks the problem is in VB application not on SQL side. Please Help!

Thanks in advance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 05-06-04, 07:19 PM
kebo kebo is offline
Newbie Coder
 
Join Date: Apr 2004
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Syed
One of our client’s DBA is experiencing an occasional SQL infinite loop problem that him and two of our VB programmers couldn’t figure out. Details are below; any help will be deeply appreciated if you have any clue. If you need more details I can provide that too.

Our client is running an IVR (Interactive Voice Response) application designed in VB6 by a leading IVR company. VB code connects to their SQL 6.5 server using the SQLOLEDB from VB application server, and inserts or updates record via a stored procedure in parent and child tables. This application works for few weeks and then SQL database goes into an infinite record insertion loop and inserts thousands of identical records only in child table until a major crash occurs. Client thinks the problem is in VB application not on SQL side. Please Help!

Thanks in advance
With out your code trying to debug your problem could wind up creating an infinite loop.
kevin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 05-07-04, 11:19 AM
nyquil nyquil is offline
Newbie Coder
 
Join Date: May 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
I have to agree with kevin , w/o code, no real idea, only generalizations.

If I were tracing this, I'd check the stored procedure calls from the vb app. Set up a logging mechanism to account for each call. Also set up a specific user on the database, if not already, and have the vb app the only process to use that login to make it easier to decipher db logs.

Post any code relating to where the stored proc is called and the proc itself and we will see what else can be determined.

hope that gives a starting point
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks

« variable | Help!! »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
call a VB form from a java application kcatalin_ro Everything Java 2 12-06-10 11:35 PM
how to use SQL in VB seioh Visual Basic 1 04-06-04 03:04 AM
Problem Dealing with Null Valuers in SQL Query hai_anilreddy Visual Basic 3 02-08-04 09:39 AM
Help with ASP & FORMS blessedrub ASP 0 01-23-04 11:22 AM
change my field in this example sal21 ASP 3 07-14-03 03:49 AM


All times are GMT -5. The time now is 01:42 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.