Solved

Invalid Descriptor...

Posted on 2004-07-31
9
1,420 Views
Last Modified: 2012-06-21
i'm trying to debug an application... there are server, client and location based system.. it's actually a shopping guide system.. the probelm i'm having now is that when i try to register a new account in the client side.. it gaves me an Invalid Descriptor error.. wat does this error mean? izziit something wrong with my database? can anyone tell me how to solve this problem?
0
Comment
Question by:mwcmp
  • 4
  • 4
9 Comments
 
LVL 45

Expert Comment

by:sunnycoder
ID: 11690883
>it gaves me an Invalid Descriptor error..
The error means that you are refering to a file handle or a socket that is invalid ... most common cause would be to try to read a file/socket before opening it or after closing it

Check the line which shows the error to determine if the file or socket handle that you are using is indeed valid
0
 

Author Comment

by:mwcmp
ID: 11700735
the problem is.. this program is not written by me, its a system that I'm are told to debug.
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 11700770
anycase you have to debug so yuo have to read the source code and find and fix the bug ... there is no way around that process !!!!!!
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Author Comment

by:mwcmp
ID: 11700813
when I go into debug mode, It get into a file that that's not written by us. How can I debug that file in that case?
0
 

Author Comment

by:mwcmp
ID: 11700824
adding...
afterwhich, it goes into a file taht contains information of all the memory and references.. and I can never get out..
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 11700866
what language? what OS ?

look for the source line which generates the error .... find all descriptors in that line .... trace those descriptors back to find which one of them in invalid
0
 

Author Comment

by:mwcmp
ID: 11700915
language : C++
OS : NT2000

what do you mean by descriptor here?
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 11700920
file descriptor or socket descriptor
0
 

Accepted Solution

by:
ephillips2 earned 500 total points
ID: 11715994
If the error message is "Invalid Descriptor Index", then the problem could relate to MSC CRecordset (ODBC).  You'll need the source code to fix it.
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB6 Compile Compatibility Issue 4 102
Java Loop 6 62
Advice in Xamarin 21 80
Is there any way to convert exponential value to number in sql server 5 40
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is about my first experience with programming Arduino.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

803 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