Re: error starting application from explorer, but OK from VS



On 21 mai, 16:06, Michael Nemtsev <nemt...@xxxxxxx> wrote:
Hello timor.su...@xxxxxxxxx,

Have u tried to run both the debug and release version?
Any entries in event log?

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog:http://spaces.live.com/laflour
Team blog:http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo



Hi group,

I have a strange error.
I'm a beginner with dotnet 3.0, when i try to run an wpf application
from my windows explorer, the application crash.
For example, i've downloaded the demo project at this url :
http://www.codeproject.com/useritems/wpfdemo1.asp, that contains an
exe and the source code.

If I run the exe from my windows explorer, the application crash, but
If i rebuild the application with the source code and start it from
visual studio (ctrl+F5), the application runs well.

But If I run it again from windows explorer, crash again.

Another strange behavior, if i start the application from the command
windows (cmd.exe), the application runs well.

Why does it crash from explorer ?

I'm using windows xp, visual c# 2005 team suite and the framework.net
3.0

Thanks for your help,

S.- Masquer le texte des messages précédents -

- Afficher le texte des messages précédents -

Thanks for your answer michael,
as i said, in fact, the debug version is ok everywhere
the release version fails everywhere

it's not a problem of windows explorer ...

the event log tells me :

Faulting application workbench.exe, version 0.0.0.0, stamp 4458379d,
faulting module kernel32.dll, version 5.1.2600.2945, stamp 44ab9ae6,
debug? 0, fault address 0x00012a5b.

.



Relevant Pages

  • Issue with openssh 3.5p1-6
    ... My Linux server running Redhat 9 suddenly stopped accepting ssh connections!!! ... Server side debug output: ... debug: Creating listener ... Event Log: Writing new session log to file: putty.log ...
    (SSH)
  • Re: Problems w/ SSH2 on Debian + W2K Putty client
    ... > Include your server configuration file, as well as a complete debugging ... debug: Reading private host key from /etc/ssh2/hostkey ... sshd2: Connection from otherfoobar.mynet.net denied. ... Event Log: Writing new session log to file: ...
    (comp.security.ssh)
  • Re: Delphi 6 Compiler and Hyper Threading BUG?!
    ... Actually, i would just compile version with debug symbols, fire up OllyDbg, ... You could also look in the event log, ... > We have a big App on a new machine - and it crashes on startup ... > It would be sort of helpful if you described the platforms that you ...
    (alt.comp.lang.borland-delphi)
  • Re: VSTO Project crashes on startup
    ... gets logged in the Application event log. ... VSTO Word Template project. ... Yesterday I tried to start my VSTO project so I could debug something, ... I then created a brand new VSTO project with one message box in the _New ...
    (microsoft.public.vsnet.vstools.office)
  • Re: Multiple Problems
    ... Module Stamp 45b6910c ... Debug 0 ... iexplore.exe, version 7.0.6000.16414, faulting module flash9b.ocx, version ... iexplore.exe, version 7.0.6000.16414, hang module hungapp, version ...
    (microsoft.public.windowsxp.help_and_support)