Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends,

Here i have written the code for Windows Service that i have developed the Service in 32-bit computer its working fine.Now iam trying to install the Same Windows Service setup in 64-Bit computer.So the SetUp is not Installing the Error is Object Referrence is not an instance of an Object.May be the error is from the Assembly version problem.So iam not getting where iam doing wrong.if any body knows regarding this please share the Information.



Regards,

AnilKumar.D
Posted
Updated 9-Aug-12 21:16pm
v2

1 solution

On windows core 6.0 and above you can have even x86 drivers in an x64 OS, but with .net assamblies it is a little bit complicated. First read this: http://www.dottodotnet.com/2010/04/compiling-net-for-specific-target.html[^]. You can use a dependency walker[^] to check if there are assambies referenced that cannot be loaded due to unconforming platform target.

The best way is to set your solution's release target to x64 and be sure to install third-party the x64 or AnyCPU version of the third party components to the target machine.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900