C/Front OCX Error Codes

emilygraham
Member Posts: 5
Hi,
I have written a small program which uses the C/Front OCX to synchronize data between a Domino application and Navision. This program has been working fine for months but for some reason started erroring out a couple of weeks ago. Until the Navision administrator gets back to me to let me know what, if anything, was changed on the day it stopped working, I'm trying to see if I can narrow down what the problem might be.
The program is failing on a FindRec call, and using the LastError function I can see that the error number is 1246481 but have no idea how to find out what this means. Can anyone tell me how I can translate this number into the much more useful 'Error xxx in Module xx' error message? Like I said, this code was working fine up until a couple of weeks ago - I've not changed anything in my code so finding out what the error actually means should hopefully enable me to track down what's changed on the Navision side of things.
Thanks,
Emily Graham.
I have written a small program which uses the C/Front OCX to synchronize data between a Domino application and Navision. This program has been working fine for months but for some reason started erroring out a couple of weeks ago. Until the Navision administrator gets back to me to let me know what, if anything, was changed on the day it stopped working, I'm trying to see if I can narrow down what the problem might be.
The program is failing on a FindRec call, and using the LastError function I can see that the error number is 1246481 but have no idea how to find out what this means. Can anyone tell me how I can translate this number into the much more useful 'Error xxx in Module xx' error message? Like I said, this code was working fine up until a couple of weeks ago - I've not changed anything in my code so finding out what the error actually means should hopefully enable me to track down what's changed on the Navision side of things.
Thanks,
Emily Graham.
0
Comments
-
I had such a problem when using the FindeRec and the Table was empty. Altoutgh I allowed empty records C/Front failed. So now I use an "If RecCount > 0" before the FindRec function.0
-
pduck wrote:I had such a problem when using the FindeRec and the Table was empty. Altoutgh I allowed empty records C/Front failed. So now I use an "If RecCount > 0" before the FindRec function.
Thanks for the advice. I tried putting in a RecCount but the code now fails on that line instead, with the same error - 1246481. Is there any way I can find out what this error code means?
Emily.0 -
emilygraham wrote:[...]
The program is failing on a FindRec call, and using the LastError function I can see that the error number is 1246481 but have no idea how to find out what this means.
[...]
Internal Error 1297 in Module 19
#Err_DB_ModifyDenied
Sorry, but I have no more informations about this error.
I hope this could help you.Timo Lässer
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]0 -
Great - thanks for that. Maybe they've changed the access of the username I'm logging in with.
Can you tell me how you found out that error code 1246481 means Error 1297 in module 19? It would really help me with any future problems if I knew how to find this out rather than having to ask other people all the time!
Emily.0 -
Well, it turns out that someone had changed the access of the username that was being used and this is what caused the problem!
Thanks to the two of you who posted responses. Again, if anyone can tell me how to get from 1246481 to error 1297 in module 19 (or how to work out what any of the other codes relate to) i'd be very grateful!
Thanks again,
Emily.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions