Our team has developed a composite WPF application, MVVM architecture, targeting Framework 4.0, VS2012, VB.NET. We are using the Prism library. I have created an InstallShield Limited Edition Setup and Deployment Project for Windows install.
For test I’ve limited the install to target a Win7 64 OS. I have all the prerequisites covered. The application works perfectly in development and when launched by double-clicking the .exe in the bin folder. The setup installs the app in the programs directory
without error.
When the application is launched from the Start menu, the Window is displayed and after about 5 seconds I get the familiar ‘STOPPED WORKING’ dialog. Tried on development machine and VMware setup. Same result.
I’ve analyzed the memory dump and the dump created by ProcDump with the WinDbg tool and I’ve learned the issue is in the KERNALBASE!RaiseException procedure. Here is the full result:
0:000> .ecxrrax=000000007fa1c169 rbx=000000000012b2e8 rcx=000000000012ab80
rdx=0000000000000118 rsi=0000000000000001 rdi=0000000000000005
rip=000007fefda5940d rsp=000000000012b190 rbp=0000000003036568
r8=0000000000000000 r9=0000000000000000 r10=0000000000000000
r11=000000000012b1d0 r12=0000000000004000 r13=0000000002874ce0
r14=00000000e0434352 r15=0000000002874a98
iopl=0 nv up ei pl nz na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000206
KERNELBASE!RaiseException+0x3d:
000007fe`fda5940d 4881c4c8000000 add rsp,0C8h
Verbose mode ON.
There is plenty of chatter on KERNALBASE but nothing seems applicable here. Are there any ideas?