Hey,
i'm having problem finishing upgrade of 3.01 client db to 4.00. When processing SplitValueEntries, in Step 2 of upgrade process, navision crashes with message "Error 131 - An attempt was made to move file pointer before beginning of file.", or something like that.
Has anyone seen anything like that and knows a solution for it?
(upgrade is being done on sql db)
0
Comments
If the textfile gets too big (more than 2^31 - 1), you get the error.
The reason is that the file-pointer is an integer and if it gets to 2^31 or higher it is interpreted as a negative number.
Check out where the process is writing into the textfile and what he is writing. If you don't need the info, you can put in comment the file.WRITE-command.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I ask this because Navision writes temporary tables in memory and if the memory is not enough, it writes to the disk. If the temptable gets bigger than 2 GB, Navision generates this error. (I just tested this.)
Possible solutions:
Use another temptable that is smaller
or instead of using a temptable, use a (NEW) real table in the DB. This last solution will increase the time necessary to process a lot.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Ok, i'll try to change it to temporary table, and see if it fixes the problem..
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!