亲爱的朋友, 在这里,我编写了Windows Service的代码,该代码已经在32位计算机上开发了该服务,并且可以正常工作.现在,我正在尝试在64位计算机上安装相同的Windows Service安装程序.引用不是对象的实例.可能是由于程序集版本问题引起的错误.因此iam不会在iam做错的地方.如果有人对此有所了解,请共享信息. 问候, AnilKumar.D
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
推荐答案在Windows Core 6.0及更高版本上,您甚至可以在x64操作系统中安装x86驱动程序,但是使用解析,这有点复杂.首先阅读以下内容: www.dottodotnet/2010/04/compiling-net-for-specific-target.html [ ^ ].您可以使用依赖步行者 [ ^ ],以检查是否存在由于平台目标不一致而无法加载的引用的Assambis. 最好的方法是将解决方案的发布目标设置为x64,并确保将第三方组件的x64或AnyCPU版本安装到目标计算机上. On windows core 6.0 and above you can have even x86 drivers in an x64 OS, but with assamblies it is a little bit complicated. First read this: www.dottodotnet/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.
更多推荐
如何将窗口服务从32位计算机转换为64位计算机
发布评论