Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1514
  • Last Modified:

Invalid Descriptor...

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
mwcmp
Asked:
mwcmp
  • 4
  • 4
1 Solution
 
sunnycoderCommented:
>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
 
mwcmpAuthor Commented:
the problem is.. this program is not written by me, its a system that I'm are told to debug.
0
 
sunnycoderCommented:
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
Technology Partners: 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!

 
mwcmpAuthor Commented:
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
 
mwcmpAuthor Commented:
adding...
afterwhich, it goes into a file taht contains information of all the memory and references.. and I can never get out..
0
 
sunnycoderCommented:
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
 
mwcmpAuthor Commented:
language : C++
OS : NT2000

what do you mean by descriptor here?
0
 
sunnycoderCommented:
file descriptor or socket descriptor
0
 
ephillips2Commented:
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

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!

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now