Solved

Invalid Descriptor...

Posted on 2004-07-31
9
1,426 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
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.

 

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Currency Conversion? 1 99
C# application error "Parameter Is Not Valid". 3 116
What are programming codes and how do they work? 7 103
batch file or script 4 27
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

830 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