部署和卸载服务
这个网址记录了所有得连接字符串,呵呵,好网站,收藏 http://www.connectionstrings.com/
说一下如何部署和卸载服务:
安装:installutil path\yourproject.exe
卸载:installutil /u path\yourproject.exe,当然要在installutil的当前路径下才能执行这个命令的!
installutil的路径 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
记录点自己的东西:旁人不用看!
配置AutoReport.config文件到system32目录下,内容:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="BLL.SSO.SSOWS" value="http://localhost/SSOApp/SSOWS.asmx"/>
<add key="AutoTransferConsoleLogPath" value ="D:\wy\jsUnicom\myservice"/>
<add key="AutoTransferConsoleLogName" value ="AutoReport.log"/>
<add key="FullLog" value ="true"/>
<add key="tranInfo" value="'httpname=http://10.12.1.31/UnicomDssWeb/MainAspx/WebServicesAnalysis.aspx|toName=WebServicesAnalysis.htm|truepath=D:\wy\jsUnicom\服务程序\website\';'httpname=http://10.12.1.31/UnicomDssWeb/MainAspx/JsUnicomKPI.aspx|toName=JsUnicomKPI.htm|truepath=D:\wy\jsUnicom\服务程序\website'"/>
</appSettings>
</configuration>
AutoTransferConsoleLogPath :日志路径
AutoTransferConsoleLogName:日志名
FullLog:写日志是否写全信息
tranInfo:转换信息 (把那个aspx 转换到 哪里生成 html)
说一下如何部署和卸载服务:
安装:installutil path\yourproject.exe
卸载:installutil /u path\yourproject.exe,当然要在installutil的当前路径下才能执行这个命令的!
installutil的路径 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
记录点自己的东西:旁人不用看!
配置AutoReport.config文件到system32目录下,内容:
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
AutoTransferConsoleLogPath :日志路径
AutoTransferConsoleLogName:日志名
FullLog:写日志是否写全信息
tranInfo:转换信息 (把那个aspx 转换到 哪里生成 html)