Home All Groups Group Topic Archive Search About
Author
7 Feb 2006 1:12 PM
elziko
I am trying to deploy a CLR 2.0 WinForms application. On a client machine
*without* the Framework 2.0 installed I get the following when I try to run
my application:

"The application failed to initialize properly (0xc0000135). Click on OK to
terminate the application."

....whereas I thought you get a more meaningful dialog telling you to
install the correct version of the framework.

When I do install the framework, I try to run the application again but
this time I get a dialog that says:

"My.Executable.exe has encountered a problem and needs to close. We are
sorry for the inconvenience."

....but gives me no option to debug or anything like that.

What do I need to look at next to try and figure out why this is happening?

TIA

Author
7 Feb 2006 3:18 PM
elziko
I have got a little further by copying the JIT2 folder from my machine to
the destination machine and then I am able to attach a debuger amnually.

However, when I do this I am just told that it "couldn't load symbols" for
several assemblies which is not surprising since I do not have the PDB
files. All of the mentioned assemblies are either part of the CLR or 3rd
party DLLs that I cannot get the PDBs for anyway.

Any ideas what may be causing these problems?
Author
7 Feb 2006 3:22 PM
Michael D. Ober
Are you by any chance still developing on a .NET 2.0 Beta system or one that
had the Beta on it.  If so, reformat/reinstall your development system and
try again.

Mike Ober.

Show quote
"elziko" <elz***@yahoo.co.uk> wrote in message
news:o12e04e98zdi$.1rbp8tle3zh44.dlg@40tude.net...
> I am trying to deploy a CLR 2.0 WinForms application. On a client machine
> *without* the Framework 2.0 installed I get the following when I try to
run
> my application:
>
> "The application failed to initialize properly (0xc0000135). Click on OK
to
> terminate the application."
>
> ...whereas I thought you get a more meaningful dialog telling you to
> install the correct version of the framework.
>
> When I do install the framework, I try to run the application again but
> this time I get a dialog that says:
>
> "My.Executable.exe has encountered a problem and needs to close. We are
> sorry for the inconvenience."
>
> ...but gives me no option to debug or anything like that.
>
> What do I need to look at next to try and figure out why this is
happening?
>
> TIA
>
Author
7 Feb 2006 5:00 PM
elziko
On Tue, 7 Feb 2006 08:22:49 -0700, Michael D. Ober wrote:

> Are you by any chance still developing on a .NET 2.0 Beta system or one that
> had the Beta on it.  If so, reformat/reinstall your development system and
> try again.

No, AFAIK this system has never had a beta on it. I have, however, managed
to get a tiny bit more information by running my application from within
the debugger rather than attaching the debugger after my program has been
started.

In addition to the symbols warnings I also get the following two lines
which mean very little to me:

Could not find 17d14f5c-a337-4978-8281-53493378c1071.vb
Located at 17d14f5c-a337-4978-8281-53493378c1071.vb:76.

Well maybe I'm getting closer but I'm still in need of help!
Author
7 Feb 2006 5:20 PM
Julie Lerman
I have seen this behavior with click once. No beta bits anywhere.

If the user goes right to the app.application to launch, without .net 2.0 on
the system, it asks what app should be used to open it up.

If I install .net 2.0, but not one of the other pre-reqs, it then has the
ability to explicitly say "hey you still need to install Crystal REports" or
whatever the pre-req is.

julie lerman

Show quote
"elziko" <elz***@yahoo.co.uk> wrote in message
news:zw96vlsp6wob.19479qvf48cug$.dlg@40tude.net...
> On Tue, 7 Feb 2006 08:22:49 -0700, Michael D. Ober wrote:
>
>> Are you by any chance still developing on a .NET 2.0 Beta system or one
>> that
>> had the Beta on it.  If so, reformat/reinstall your development system
>> and
>> try again.
>
> No, AFAIK this system has never had a beta on it. I have, however, managed
> to get a tiny bit more information by running my application from within
> the debugger rather than attaching the debugger after my program has been
> started.
>
> In addition to the symbols warnings I also get the following two lines
> which mean very little to me:
>
> Could not find 17d14f5c-a337-4978-8281-53493378c1071.vb
> Located at 17d14f5c-a337-4978-8281-53493378c1071.vb:76.
>
> Well maybe I'm getting closer but I'm still in need of help!
Author
8 Feb 2006 9:53 AM
elziko
On Tue, 7 Feb 2006 12:20:26 -0500, Julie Lerman wrote:

> If I install .net 2.0, but not one of the other pre-reqs, it then has the
> ability to explicitly say "hey you still need to install Crystal REports" or
> whatever the pre-req is.

It never gives me any information about what I haven't installed, it just
tells me:

"My.Executable.exe has encountered a problem and needs to close. We are
sorry for the inconvenience."

Even when I use the debugger the only information I can get is relating to:

Could not find 17d14f5c-a337-4978-8281-53493378c1071.vb
Located at 17d14f5c-a337-4978-8281-53493378c1071.vb:76.

I have never seen, nor heard off these VB files! If I was missing any
assemblies I would expect the debugger to say so.

AddThis Social Bookmark Button