Click here to Skip to main content
15,884,425 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
I have developed a application on VS 2005.., Its working fine. But when I copy the program from my PC to other PC remotely, Its not running, showing as " Debug Assertion Failed ".., How to fix This one ? help me on that .....
Posted
Updated 22-Dec-13 18:31pm
v2
Comments
bbirajdar 19-Dec-13 1:03am    
delete the .pdb files in the bin folder
Baakki 20-Dec-13 1:02am    
Hi,

Thank u for the comment..., But I could no see folder on my project. Can u pls tell me where it be
H.Brydon 29-Dec-13 11:23am    
The debug assertion will (likely) tell you what line is failing. Look at that line in the code.
Baakki 30-Dec-13 6:48am    
It's falling on some system generated .cpp file... how can I find the error while it's not pointing appln code ?? If I command(disable) that line , again Its falling on some other line.

1 solution

This is slightly ambiguous... but I'll give it a shot...

If you mean transferring your exe:
0.If you're getting a debug assertion, you're copying the debug executable, which you probably don't want to do.
1.To redistributate your program, you should build the "release" version.
2.Include dlls that are included as part of your program. If you used MFC, you likely also need to use the redistributable package that installs required dlls. Just search for the redistributable installer (usually it's included in one of the Visual Studio folders or you can download it from MSDN).
 
Share this answer
 
Comments
Baakki 30-Dec-13 6:41am    
Hi,
I have downloaded some redistributable packages from net and installed ..., but still the debug assertion is coming....
Baakki 30-Dec-13 6:42am    
Can u pls explain the point 1
Albert Holguin 30-Dec-13 10:02am    
VS allows you to build in two different configurations, debug or release. Debug is simply for debugging and shouldn't be deployed onto other machines.
Baakki 30-Dec-13 7:18am    
Debug Assertion Failed !
Program...
File:\rtm\vctools\vs7libs\ship\atlmfc\src\mfc\occcont.cpp
Line:950

this is the assertion which is coming when I run the program.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900