Compiled XLS Padlock EXE closes when Windows file dialog opens (Save As / Insert Image)

lucho-0512

New member
Hello, I have a problem where when a user tries to save the file, as soon as the Windows file explorer dialog opens, the compiled .exe file created with XLS Padlock closes. The same thing happens when they try to insert images — when the Windows file explorer opens to select the image, the application closes as well. It seems the conflict occurs specifically when the Windows explorer dialog is opened. We disabled the antivirus and the issue still happens. It does not happen on my machine — it only happens to one of my clients. I saw in this forum that this issue has been reported since 2019. Is there any solution or recommended action to fix this?
 
I had the same problem with a customer in 2025 and it was at the end the NORTON anti-virus protection. Never understood why though.
 
Thanks for sharing this data point! We've seen similar file-dialog crashes pinned on Norton's behavioral/exploit protection intercepting the Excel process when the Windows common dialog is spawned from inside a protected EXE.

For anyone hitting this in the future, the usual fixes on the Norton side are:

  • Add the compiled EXE (and the XLS Padlock secured workbook folder) to Norton's exclusion/allow list, including the Auto-Protect, SONAR / Behavioral Protection, and Data Protector exclusions
  • Disable (or whitelist) Norton's "Exploit Prevention" / "Proactive Exploit Protection" for the EXE
  • Code-sign the EXE (see https://www.xlspadlock.com/doc/code-sign-your-exe-file-digital-signature) — a signed binary is much less likely to be flagged by heuristic/behavioral AV engines
Code signing + an AV exclusion is the combination that resolves this in most cases we've seen.
 
I have the same issue. When I try to save an XLSC file, Excel crashes. If I try to insert an image, no problem.
I disabled Norton 360, included XLS Padlock, the compiled EXE file, and Excel in the "Add Permissions" (whitelist) and recompiled the spreadsheet file and got the same issue. It happens even when I compile a fresh, empty spreadsheet with no information or VBA code.
I thought it was the XLS Padlock version (I have 2025.2), so I downloaded the 2026.1 trial version, but it didn't resolve the issue.
 
fsarre, your report is different from the one this thread started with, and the difference matters, so it is worth separating the two.

The original issue here was a crash on any Windows file dialog, Save As and Insert Image alike, and it was traced to Norton's behavioural protection. Yours is narrower: saving crashes, inserting an image does not. That single detail points away from the Windows file dialog itself and towards the secure save path. Two further things you describe support that: it reproduces on a fresh empty workbook with no data and no VBA, so nothing in your own file is involved, and it behaves identically on 2025.2 and 2026.1.

We have one other reproducible report of a save crash on a blank workbook, and 2026.1 does include a change aimed at what we believed was the trigger. The fact that your crash is unchanged between 2025.2 and 2026.1 tells us that change does not cover your case, so rather than guess, we need to pin down where exactly the save fails on your machine. Could you post the following:

  • When you save, does the "Save local workbook" dialog box actually appear before the crash? If it does: does the crash happen the instant it opens, while you browse folders, or only after you click Save? And does the dialog look like the modern Windows dialog (folder tree pane on the left) or like the classic, simpler one? That last detail tells us which internal path your build is taking, so please mention it either way.
  • The crash entry from the Windows Event Viewer: Windows Logs, then Application, look for Event ID 1000 ("Application Error") for EXCEL.EXE at the time of the crash, and paste the whole entry, especially the "Faulting module name" and the exception code. This is the single most useful piece of information you can give us.
  • After reproducing the crash with a 2026.1 build, press Win+R, type %APPDATA%\XLSPadlock and look inside the folder named after your application for a runtime.log file. If it exists, attach it even if it looks almost empty (its absence is also useful information, so tell us either way).
  • Rebuild the same blank workbook with the wizard option "Save changes automatically and load them without prompt next time" (Application Settings, save options) enabled, so that saving happens with no dialog at all. Does it still crash? This tells us whether the dialog is involved at all.
  • Try giving the save dialog a valid default file path from VBA before the user saves, pointed at a simple local folder that certainly exists and is writable (plain local drive, not OneDrive or a network path):
Code:
Public Sub SetSecureWorkbookFilename(Filename As String)
    Dim XLSPadlock As Object
    On Error Resume Next
    Set XLSPadlock = Application.COMAddIns("GXLS.GXLSPLock").Object
    If Not XLSPadlock Is Nothing Then
        XLSPadlock.SetDefaultSaveFilename Filename
    End If
End Sub

' e.g. Call SetSecureWorkbookFilename("C:\Temp\mysave.xlsc")
  • Your Windows version and build (Win+R, winver), and your Excel version, update channel and bitness, 32-bit or 64-bit (File, Account, About Excel).
  • Where is the compiled EXE when it crashes: Desktop, Documents, a OneDrive-synced folder, a network drive? Does it also crash when you copy it to a plain local folder such as C:\Test and run it from there?
  • When the crash happens, does Excel itself close (the Windows "Excel has stopped working" dialog), or does the compiled application close and leave Excel running?
One correction on the antivirus side, since it affects what your test actually proved. Turning Norton off through its interface does not unload its drivers and filter hooks, so a "disabled" Norton can still intercept the process; whitelisting has the same limitation, it changes scanning decisions, not whether the hooks are loaded. The only conclusive test is a temporary full uninstall, then reboot, then reproduce. Given your results so far we do not think Norton is the most likely cause, but please keep this in mind if we run out of other leads.

If you prefer, you can also open a support ticket and send us your project file and the compiled EXE. Reproducing with your exact configuration on our side is often faster than a long list of questions.
 
Thank you for your prompt response. By sequence:

Yes, the dialog box actually always appears for 5 to 10 seconds before the crash; during that time I can't select a folder or the box to name the file. Every option in the dialog box is frozen. The crash happens with no message. The dialog looks like the classic, simpler one with folders on the left and files on the right. The 2026.1 version displays a nicer one, but the issue behaves the same.

Windows does record an event ID 1000.
Faulting application name: excel.exe, version: 16.0.20131.20154, time stamp: 0x6a55133b
Faulting module name: AppVIsvSubsystems64.dll, version: 16.0.20131.20012, time stamp: 0x6a21335f
Exception code: 0xc0000005
Fault offset: 0x00000000000b3a4b
Faulting process id: 0x5F50
Faulting application start time: 0x1DD189C045AE796
Faulting application path: C:\Program Files\Microsoft Office\root\Office16\excel.exe
Faulting module path: C:\Program Files\Microsoft Office\root\Office16\AppVIsvSubsystems64.dll
Report Id: 7668360d-8ef5-43be-8664-998c38c81dea
Faulting package full name:
Faulting package-relative application ID:

The runtime.log file is absent.

Rebuilding the blank workbook with the option "Save changes automatically and load them without prompt next time" does not crash. Works well.

The default file path is "Documents" and I disconnected all Claude drives, thinking it could be hanging due to some timeout. Anyway, I included the VBA, rebuilt the file, and got the same results.

Windows version 11, version 25h2 (OS Build 26200.8894)

Excel Version Home and Student 2021

The compiled EXE is in the Documents folder. Everything is done in this folder to simplify. I don't have any network policy restrictions, as this is an isolated computer.

When the crash happens, the EXE file and Excel close with no warning. When I reopen any Excel sheet, it asks me if I want to open it in safe mode.

"One correction on the antivirus side, since it affects what your test actually proved. Turning Norton off through its interface does not unload its drivers and filter hooks, so a "disabled" Norton can still intercept the process; whitelisting has the same limitation; it changes scanning decisions, not whether the hooks are loaded. The only conclusive test is a temporary full uninstall, then reboot, then reproduce. Given your results so far, we do not think Norton is the most likely cause, but please keep this in mind if we run out of other leads."

Yes, I was aware of this, and I'm very much convinced that the issue is Norton interference. I took the empty compiled file to a friend's computer with a different antivirus, and it worked well.
Not only did I disable Norton, but I also disabled "Block vulnerable kernel drivers".

Since I will be selling my compiled spreadsheet next month, I need to find a workaround for this issue with Norton 360, or else, I will be very busy dealing with unhappy customers.

Thank you.
 
Back
Top