Debug Assertion Failed!

Posted on 2007-10-21
Last Modified: 2008-01-09
I suddenly received this message while opening a webpage. It doesn't happen everytime but every day.

" Debug Assertion Failed!
Program C:\Program Files\Internet Explorer\iexplore.exe
File: c:\program files\microsoft visual 2003\vc7\atlmfc\include\atlwin.h
Line: 815
Expression: ::IsWindow(m_hWnd)
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts
(Please retry to debug the application)"
Question by:stanzanet
    LVL 86

    Expert Comment

    Which DLL is this happening in? To find out more, press "Retry".

    Author Comment

    sorry i dont understant ur comment,
    i dont know if u r asking or telling me to Retry, and also i dont know what and where to retry.
    sorry hein!
    LVL 2

    Expert Comment

    The reason you get that error is because there was a script error in the page and created an IE error. The error can be because of poor scripting or because you are blocking scripts on the Internet Explorer. You also have Visual Studio installed and it is setup as the default debugger.

    Open the page on a different computer and see if it gives you a script error, then reset IE settings in your computer, if you still get the error then it is a Webpage error. As far as the error message, you can simply ignore it or you can change the VS settings to disable debugging.
    LVL 86

    Expert Comment

    >>sorry i dont understant ur comment,

    "(Please retry to debug the application)" should explain what I meant. Even just a DrWatson log will be helpful.
    LVL 28

    Expert Comment

    The code inside IE (written in C++) where the assertion happens is the following:

          BOOL SetWindowText(LPCTSTR lpszString) throw()
                return ::SetWindowText(m_hWnd, lpszString);

    The ATLASSERT() command contains the command that is expected to yield true value, but it yields false value. Here the ::IsWindow(m_hWnd) is a test whether the window accessed via the m_hWnd handle exists. It does not exists in your case. The problem is that it is not possible to set the text of the window that does not exist.

    Setting the text of the window may mean different things depending on of what kind the window is. If it is a "application window" or some dialog (with title), then it is the text of the title. If it is a button, then it is the text of the button. It is difficult to say somethig more without knowing the exact situation and without debugging.

    P.S. I am surprised that IE is distributed in the Debug.

    Author Comment

    ok let me get this problem again and i will send u a link to see the picture.

    Author Comment

     here is the link of the error message that i get. clik on this link and u will see a picture. and tell me as soon possible,

    Author Comment

    and when i clik on ''ignore'', then i get the message.
    and when i click on ''Abandonner'' then all the explorer windows close and i have to restart the explorer to navigate on website.
    LVL 86

    Expert Comment

    Well, 'Retry' would be of interest, the other two won't really help ;o)

    To outline what I am suspecting: Such an 'ASSERT()' only occurs in debug builds of software and not in release builds that are shipped. So I assume a faulty extension DLL being the cuplprit (probably even malware). To find out more about that DLL (especially its name), you need to press "Retry" to gather as much information as possible.

    Author Comment


    Author Comment

    i dont know  how to solve the problem of DLL and i even i dont know what is that.
    u said to ''Retry'', when i clik on Retry then all the explorer windows close and it doesn't solve the problem.
    LVL 86

    Expert Comment

    OK, that helps. First of all, 'securenet.dll' is not a MS product. A quick search reveals that this is classified as spyware. I'd first try to get 'HijackThis' ( and have ot clean your PC. If that does not work. try renameing 'securenet.dll' to e.g. 'securenet.dll.removed'

    Seems that these [beep]holes who write malware are plain incompetent coders...

    Author Comment

    Ok! i use Hijackthis and cleans securenet.dll. but i think it is still there, look at this!
    Logfile of Trend Micro HijackThis v2.0.2
    Scan saved at 16:53:44, on 2007-10-22
    Platform: Windows Vista  (WinNT 6.00.1904)
    MSIE: Internet Explorer v7.00 (7.00.6000.16546)
    Boot mode: Normal

    Running processes:
    D:\Program Files\Common Files\Symantec Shared\ccApp.exe
    D:\Program Files\MSN Messenger\msnmsgr.exe
    D:\Program Files\uTorrent\utorrent.exe
    D:\Program Files\Windows Live\Mail\wlmail.exe
    D:\Program Files\Internet Explorer\IEUser.exe
    D:\Program Files\Internet Explorer\iexplore.exe
    D:\Program Files\HijackThis\HijackThis.exe

    R0 - HKCU\Software\Microsoft\Internet Explorer\Main,Start Page =
    R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Default_Page_URL =
    R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Default_Search_URL =
    R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Search Page =
    R0 - HKLM\Software\Microsoft\Internet Explorer\Main,Start Page =
    R0 - HKLM\Software\Microsoft\Internet Explorer\Search,SearchAssistant =
    R0 - HKLM\Software\Microsoft\Internet Explorer\Search,CustomizeSearch =
    R0 - HKCU\Software\Microsoft\Internet Explorer\Main,Local Page = \blank.htm
    R0 - HKLM\Software\Microsoft\Internet Explorer\Main,Local Page =
    O1 - Hosts: ::1 localhost
    O2 - BHO: (no name) - {1E8A6170-7264-4D0F-BEAE-D42A53123C75} - D:\Program Files\Common Files\Symantec Shared\coShared\Browser\1.5\NppBho.dll
    O2 - BHO: Spybot-S&D IE Protection - {53707962-6F74-2D53-2644-206D7942484F} - D:\PROGRA~1\SPYBOT~1\SDHelper.dll
    O2 - BHO: SSVHelper Class - {761497BB-D6F0-462C-B6EB-D4DAF1D92D43} - D:\Program Files\Java\jre1.6.0_02\bin\ssv.dll
    O3 - Toolbar: Show Norton Toolbar - {90222687-F593-4738-B738-FBEE9C7B26DF} - D:\Program Files\Common Files\Symantec Shared\coShared\Browser\1.5\UIBHO.dll
    O4 - HKLM\..\Run: [ccApp] "D:\Program Files\Common Files\Symantec Shared\ccApp.exe"
    O4 - HKLM\..\Run: [Symantec PIF AlertEng] "D:\Program Files\Common Files\Symantec Shared\PIF\{B8E1DD85-8582-4c61-B58F-2F227FCA9A08}\PIFSvc.exe" /a /m "D:\Program Files\Common Files\Symantec Shared\PIF\{B8E1DD85-8582-4c61-B58F-2F227FCA9A08}\AlertEng.dll"
    O4 - HKLM\..\Run: [Persistence] D:\Windows\system32\igfxpers.exe
    O4 - HKUS\S-1-5-19\..\Run: [Sidebar] %ProgramFiles%\Windows Sidebar\Sidebar.exe /detectMem (User 'LOCAL SERVICE')
    O4 - HKUS\S-1-5-19\..\Run: [WindowsWelcomeCenter] rundll32.exe oobefldr.dll,ShowWelcomeCenter (User 'LOCAL SERVICE')
    O4 - HKUS\S-1-5-20\..\Run: [Sidebar] %ProgramFiles%\Windows Sidebar\Sidebar.exe /detectMem (User 'NETWORK SERVICE')
    O9 - Extra button: (no name) - {DFB852A3-47F8-48C4-A200-58CAB36FD2A2} - D:\PROGRA~1\SPYBOT~1\SDHelper.dll
    O9 - Extra 'Tools' menuitem: Spybot - Search & Destroy Configuration - {DFB852A3-47F8-48C4-A200-58CAB36FD2A2} - D:\PROGRA~1\SPYBOT~1\SDHelper.dll
    O10 - Unknown file in Winsock LSP: d:\windows\system32\securenet.dll
    O10 - Unknown file in Winsock LSP: d:\windows\system32\securenet.dll
    O10 - Unknown file in Winsock LSP: d:\windows\system32\securenet.dll
    O13 - Gopher Prefix:
    O16 - DPF: {02BF25D5-8C17-4B23-BC80-D3488ABDDC6B} -
    O17 - HKLM\System\CCS\Services\Tcpip\..\{D2CF6D8C-F274-4334-81D8-F7B643742896}: NameServer =
    O22 - SharedTaskScheduler: Windows DreamScene - {E31004D1-A431-41B8-826F-E902F9D95C81} - D:\Windows\System32\DreamScene.dll
    O23 - Service: Symantec Event Manager (ccEvtMgr) - Symantec Corporation - D:\Program Files\Common Files\Symantec Shared\ccSvcHst.exe
    O23 - Service: Symantec Settings Manager (ccSetMgr) - Symantec Corporation - D:\Program Files\Common Files\Symantec Shared\ccSvcHst.exe
    O23 - Service: Symantec Lic NetConnect service (CLTNetCnService) - Symantec Corporation - D:\Program Files\Common Files\Symantec Shared\ccSvcHst.exe
    O23 - Service: COM Host (comHost) - Symantec Corporation - D:\Program Files\Common Files\Symantec Shared\VAScanner\comHost.exe
    O23 - Service: Symantec IS Password Validation (ISPwdSvc) - Symantec Corporation - D:\Program Files\Norton Internet Security\isPwdSvc.exe
    O23 - Service: LiveUpdate - Symantec Corporation - D:\PROGRA~1\Symantec\LIVEUP~1\LUCOMS~1.EXE
    O23 - Service: LiveUpdate Notice Service Ex (LiveUpdate Notice Ex) - Symantec Corporation - D:\Program Files\Common Files\Symantec Shared\ccSvcHst.exe
    O23 - Service: LiveUpdate Notice Service - Symantec Corporation - D:\Program Files\Common Files\Symantec Shared\PIF\{B8E1DD85-8582-4c61-B58F-2F227FCA9A08}\PIFSvc.exe
    O23 - Service: NMIndexingService - Nero AG - D:\Program Files\Common Files\Ahead\Lib\NMIndexingService.exe
    O23 - Service: Planificateur LiveUpdate automatique - Symantec Corporation - D:\Program Files\Symantec\LiveUpdate\ALUSchedulerSvc.exe
    O23 - Service: SBSD Security Center Service (SBSDWSCService) - Safer Networking Ltd. - D:\Program Files\Spybot - Search & Destroy\SDWinSec.exe
    O23 - Service: Symantec Core LC - Unknown owner - D:\Program Files\Common Files\Symantec Shared\CCPD-LC\symlcsvc.exe
    O23 - Service: Symantec AppCore Service (SymAppCore) - Symantec Corporation - D:\Program Files\Common Files\Symantec Shared\AppCore\AppSvc32.exe
    O23 - Service: Windows Live Setup Service (WLSetupSvc) - Unknown owner - D:\Program Files\Windows Live\installer\WLSetupSvc.exe

    End of file - 5689 bytes

    Author Comment

    LVL 86

    Expert Comment

    Try to past that into the analyzer at and follow the instructions: "Check your hard disc drive with Spybot S&D from or LSPFix from This entry should not be fixed! Your best bet to repair it is to try the LSPFix from"
    LVL 86

    Accepted Solution

    Select 'securenet.dll' and add it to the "remove" list. It for sure is the module that causes the error, and you want to get rid of it.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
    Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
    The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
    This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

    759 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

    11 Experts available now in Live!

    Get 1:1 Help Now