Solved

Invalid Descriptor...

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

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
noX challenge 17 91
create an incrementing variable name AutoHotKey 5 77
Is it possible to programatically fill out a fillable ADOBE PDF form? 9 77
Advice in Xamarin 21 56
RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
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 …

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now