1:安装自己的Windows Serverces时遇到如下的错误信息
Exception occurred while initializing the installation:
System.BadImageFormatException: Could not load file or assembly 'file:///F:\repro\ServiceRefreshBugList\ServiceRefreshBugList\bin\Debug\ServiceRefreshBugList.exe' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded..
遇到这类问题一般是程序的编译版本和InstallUtil.exe工具的版本不对,比如程序是4.0的则对应的InstallUtil.exe工具的版本也应该对应到Framework文件夹下对应的版本
2:自己的Server安装好后用serverces.msc里面可以看到自己名字的serverces,手动start
Tools---Attachen process时找不到自己的Process,此时应该给最下面的两个选择好框勾上,如下
3:TF30063: You are not authorized to access http://xxxx
权限不够,尝试以下方法:
NetworkCredential