Solved

Debug Assertion Failed! - Failed Export

Posted on 2004-08-27
5
264 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 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 250 total points
ID: 12045884
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

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
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

630 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