Solved

Invalid Descriptor...

Posted on 2004-07-31
9
1,443 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

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

Suggested Solutions

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
A short article about problems I had with the new location API and permissions in Marshmallow
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 …

740 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