CLR2.0 Deployment

  • Thread starter Thread starter elziko
  • Start date Start date
E

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
 
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?
 
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.
 
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!
 
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
 
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.
 
Back
Top