Solved

Debug Assertion Failed! - Failed Export

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

739 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