Solved

Debug Assertion Failed! - Failed Export

Posted on 2004-08-27
5
258 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 142

Accepted Solution

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

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
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…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.

743 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now