App wont work on a Vista 64bit machine

  • Thread starter Thread starter trant
  • Start date Start date
T

trant

Hello,

Someone using an application I developed using .NET 2008 / 3.5 framework is
failing to launch.

Is there something I need to specifically set on my build to enable it to
work in that environment? I left everything at default.

Another thing is I used Xheo CodeVeil 1.0 to encrypt my assembly to protect
it's source. Could this be causing the problem on his machine?

It runs fine on any 32 bit machine I have available to try it on and no one
else I sent this to is complaining...

Any ideas on how to diagnose this and/or resolve it?
 
trant said:
Hello,

Someone using an application I developed using .NET 2008 / 3.5 framework is
failing to launch.

How, specifically, does it "fail at launch"? Are you sure that that
person has .NET 3.5 installed on his computer?
Is there something I need to specifically set on my build to enable it to
work in that environment? I left everything at default.

The defaults should be "Any CPU", "Debug" build, and "Target .NET 3.5".
You might double-check those settings, at a minimum so that you can
state specifically what your build settings are, rather than just saying
"I left everything at default".
Another thing is I used Xheo CodeVeil 1.0 to encrypt my assembly to protect
it's source. Could this be causing the problem on his machine?

It certainly could. Code obfuscation software does very little to
protect your own code, while at the same time having the not-uncommon
tendency to cause code that would work fine normally to break.
It runs fine on any 32 bit machine I have available to try it on and no one
else I sent this to is complaining...

Any ideas on how to diagnose this and/or resolve it?

Stop using the obfuscator, and make sure your user has the correct
version of .NET installed. If that doesn't fix the problem, you need to
gather as much information about the failure as you can. Preferably you
should figure out a way to reproduce the problem yourself, so that you
can do some actual investigation. In my experience, it's very unusual
to be able to productively diagnose a random "failure to launch" problem
without having a reproducible case in hand.

Pete
 
Go to the app properties; on the Build tab, change Platform target from Any
CPU to x86, rebuild your app!

This is especially crucial if you're developing on a 64bit machine and need
connectivity to Office productivity suites like Excel or Access...
Good luck!

-tDog
 
trant said:
Hello,

Someone using an application I developed using .NET 2008 / 3.5 framework is
failing to launch.

Is there something I need to specifically set on my build to enable it to
work in that environment? I left everything at default.

Another thing is I used Xheo CodeVeil 1.0 to encrypt my assembly to protect
it's source. Could this be causing the problem on his machine?

It runs fine on any 32 bit machine I have available to try it on and no one
else I sent this to is complaining...

Any ideas on how to diagnose this and/or resolve it?

It appears from their site, that CodeVeil is up to version 3.2. You
should check with them. At a minimum, I would set up a machine (VM or
real) running 64 bit and test it yourself both ways. You cannot assume
that something works on 64 bit without testing in your shop.
 
Back
Top