Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Debug Assertion Failed! - Failed Export

Posted on 2004-08-27
5
Medium Priority
?
271 Views
Last Modified: 2008-02-26
Overview:
SQL Server 2000
Windows 2000 Advanced Server
Problem:
We have a bespoke Sales Order System using SQL (called Bison).
We raise quotes for customers, which get converted into Sales Orders then to Invoices.  We print the invoices and the status in Bison gets changed to "printed" we then run a routine Export Customer Transactions which dumps out a txt file of all invoices and changes the flag to "exported", we use the txt file to import into Sage Line 50.  
Our last export did not change the flag from "printed" and the txt file was created but missed off the last 40 invoices, perhaps because it had a Debug Assertion Error mid-way through.
What we saw:
Debug Assertion Failed!
Program: c:\bison\debug\MaintainAccounts.exe
File e:\projects\bison\source\Accounts\AccountsIO\H_SageLine50_ops.cpp
Line: 451
(press retry to debug the application)

On pressing retry we got the same error in lines 471,1456 and 518
Then the following error:
e:\projects\bison\source\Accounts\AccountsIO\H_AccountsMaintenance.cpp
Line:138

The person who wrote this application is no longer at the company! and I am only Admin experience with this.  I would appreciate any help to try and find out how to go about resolving this, and/or setting the invoices manually to "exported" to see if the next time I run the "export" i get the same error?
Many thanks in advance.

0
Comment
Question by:patchlevelx
5 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 1000 total points
ID: 11911548
To resolve the problem, you will best find some C++ developer, going through the code with the error indicatations, and rebuilding the application as needed!

To update the rows manually, you have to locate the table(s) and column(s) of the database, and then formulate the UPDATE statement. What you will first of all need is the information about how to identify which rows to update (WHERE clause), using the data of the exported file. You will have to "explain" what data is in the file, and which of the data is "primary key".

You might create a staging table, and load the text file to that table. Then, you will be able to update the flag of the actual table quite easily.

Hope this helps to get you on the track, if you have any problems, post here!
CHeers



0
 
LVL 6

Assisted Solution

by:mcp111
mcp111 earned 1000 total points
ID: 12045884
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question