Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Debug Assertion Failed! - Failed Export

Posted on 2004-08-27
5
Medium Priority
?
268 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 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

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
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 how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

718 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