为什么我无法在另一台机器上安装Windows服务? [英] Why I am unable to install windows service on another machine?

查看:54
本文介绍了为什么我无法在另一台机器上安装Windows服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在另一台机器上安装Windows服务?



我的Windows服务在Windows XP操作系统的本地机器上工作正常。服务帐户是LocalSystem。我试图通过复制所需的文件将其安装到另一台装有Windows 7操作系统的计算机上。点网框架文件安装在机器上。



以管理员身份执行安装批处理文件我得到以下异常

可以没有加载文件或程序集.....系统找不到指定的文件。

I am unable to install windows service on another machine?

I have windows service which is working fine in my local machine with Windows XP OS. The service account is LocalSystem.I tried to install the same to another machine with Windows 7 OS by copying the needed files. The dot net framework files are installed in the machine.

On executing the Installation batch file as administrator I am getting the below exception
Could not load file or assembly.....The system cannot find the file specified.

推荐答案

多次遇到这个问题。这是VS版本的问题。我遇到了VS2015的问题

用VS 2010添加解决方案poroject然后用VS 2015打开它会解决你的问题。
many times as I faced this issue.It is problem of VS version.I faced issue with VS2015
add solution poroject with VS 2010 then open the same with VS 2015 It will resolve your problem.


这篇关于为什么我无法在另一台机器上安装Windows服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆