NetTalk Central

Author Topic: Exception error C0000005 on entering a form  (Read 4034 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Exception error C0000005 on entering a form
« on: February 08, 2016, 04:48:06 AM »
I have just got this error in a fairly complex Net web form. I haven't modified the form in about a month or so but I have modified tables that the form uses although other procedures using the tables don't appear to be affected.
From what I can establish on the Internet the error is related to writing to an invalid memory address possibly caused by dividing by 0 or some similar error.
Since I didn't change the procedure I am not sure what would cause this.
What process should I follow to track down the problem.
Although this is in a Nettalk application it doesn't appear to be a Nettalk problem so I am going to post in the Clarion user group as well.
I upgraded to Clarion 12055 and, as is normal, wonder if this could have any effect.
« Last Edit: February 08, 2016, 05:04:01 AM by terryd »
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Exception error C0000005 on entering a form
« Reply #1 on: February 08, 2016, 05:05:25 AM »
Very scary
Reverted to 10.0.11975 and the problem disappeared. I can go into the form as normal.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

JPMacDonald

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • Email
Re: Exception error C0000005 on entering a form
« Reply #2 on: February 10, 2016, 09:20:03 AM »
Hi Terry,

Any chance you are using MSSQL and/or self-declared TurboSQL tables in your application?

I've had similar issues with C10 upgrades after 11822. Although I have not put it into production, copying the ClaMSS.dll from 11822 into the application folder seems to make the issue go away.

Regards

Parker

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Exception error C0000005 on entering a form
« Reply #3 on: February 10, 2016, 10:03:06 PM »
Yes I am using MSSQL in the application. I have noted the issues outlined by Robert Paresi in the Softvelocity newsgroup which seem to be the same issue. I only got this error (so far) in one procedure but reverting to 11975 seems to have resolved the issue.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186