Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fatal error C000005

Status
Not open for further replies.

corgette

Programmer
Mar 3, 2008
25
GB
Fatal error: Exception code - C000005@-7/02/08 10>01.33.
Called from fselect line 1755 {J:\dc\dcfunctions.prg dcfunctions.fxp}
Called from - ON... line 0 {}
Called from - dcmain line 342 {j:\dc\dcmain.prg dcmain.fxp}
Called from - dc09tax line 68 {j:\dc\dc09tax.prg j:\dc\dc09tax.exe}

This error was received from a user. The app was compiled with VFP-9 SP1.

They downloaded RegCure and ran it to no avail.

We tried deleting the foxuser files. Also no help.

The folder includes several years of similiar apps and all executables are throwing the same error.

Similiar apps in another folder are working fine.

This is all the info available to me a presently. Will try to get more.

Thanks for any help

 
Can you advise what those 3 lines actually say, perhaps with a few lines either side?

Lots of other questions spring to mind, but perhaps better to wait for more info from you.

Hope that helps,

Stewart
PS If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Stewart,
Thanks.


Called from - dc09tax line 68 {j:\dc\dc09tax.prg
The code is: DO DCMAIN IN DCMAIN

Called from - dcmain line 342 {j:\dc\dcmain.prg dcmain.fxp}
The code is: READ EVENTS

Called from - ON... line 0 {}
The code is: ??? IDON'T KNOW WHAT THIS MEANS.

Called from fselect line 1755 {J:\dc\dcfunctions.prg
The code is: DO FORM frmDCAccessclient


 
Does it happen on all PCs or just one specific PC?
Does it happen in the same place in the code every time?

What version of VFP? I used to see several C...5 errors/week reported by users, but have only seen 3 or 4 TOTAL since upgrading to VFP8 and later. 3 of those were connectivity-related. (Client didn't believe me until their flaky router died completely.)
 
danfreeman,

It happens on all workstations that run the app which is on a network. I've instucted them to try it from a local drive but have not heard back yet.

It happens at the same lines of code each time.

The app was compiled with VFP-9 SP1.
 
Corgette,

Is it possible that the version / service pack you used to compile the app is different from that of the runtime installed on the users' system?

For example, if you compiled under VFP 9 SP1, but the runtime is that of VFP 9 SP0, that might explain the error. (But it could also be one of a dozen other things.)

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
There are several parts to the puzzle. First off, the C000005 thing is an access violation of some sort. Something like memory overrun or disk write. It could be there are insufficient 'write' rights, or corrupt data.

The "ON... " part is VFP shorthand for saying the error is occurring during an "ON KEY LABEL...", "ON ERROR...", something like that.

But in the end, it is saying the error is originating from the "DO FORM frmDCAccessclient" line of code. So it looks like it's buried in the form somewhere.

I would recommend recompiling the app with debug info turned on. That should give you a better idea exactly where the error is happening. Since debug info isn't included in the app, you get:
"Called from - ON... line 0 {}
The code is: ??? "

VFP don't know where the error is happening since there is no code for it to refer to.



-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Thanks all,

Below is the good news recently received.

-------------------------------------------------
Hi, Michael-

Installing the software in a different folder helped. I created a new folder and put the software there, then ran the installation, and it's working well now. Very strange about this problem... Please let me know if you find out more about this.

--------------------------------------------------

I would still appreciate any input as to why this happened.
Just so I learn something new.

Thanks again.
 
Like I said, 'C000005 thing is an access violation of some sort'. Usually insufficient user rights in a folder somewhere, be it the app's folder, a data folder, even a swap folder VFP uses for temp files.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Craigber,,

Quite possible. But I'm inclined to believe it had something to do with "Rights". Since reinstalling in anither folder solved the problem.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top