用 VC2005/CLR/Windows Service 工程写的一个服务,安装时失败,安装日志如下,请问该如何解决?
Installing assembly 'F:\Develop\Service\ppsvc\release\ppsvc.exe'.
Affected parameters are:
logtoconsole =
assemblypath = F:\Develop\Service\ppsvc\release\ppsvc.exe
logfile = F:\Develop\Service\ppsvc\release\ppsvc.InstallLog
Unable to create an instance of the ppsvc.ProjectInstaller installer type.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
The inner exception System.NullReferenceException was thrown with the following error message: Object reference not set to an instance of an object..
Rolling back assembly 'F:\Develop\Service\ppsvc\release\ppsvc.exe'.
Affected parameters are:
logtoconsole =
assemblypath = F:\Develop\Service\ppsvc\release\ppsvc.exe
logfile = F:\Develop\Service\ppsvc\release\ppsvc.InstallLog
Unable to create an instance of the ppsvc.ProjectInstaller installer type.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
The inner exception System.NullReferenceException was thrown with the following error message: Object reference not set to an instance of an object..
Installing assembly 'F:\Develop\Service\ppsvc\release\ppsvc.exe'.
Affected parameters are:
logtoconsole =
assemblypath = F:\Develop\Service\ppsvc\release\ppsvc.exe
logfile = F:\Develop\Service\ppsvc\release\ppsvc.InstallLog
Unable to create an instance of the ppsvc.ProjectInstaller installer type.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
The inner exception System.NullReferenceException was thrown with the following error message: Object reference not set to an instance of an object..
Rolling back assembly 'F:\Develop\Service\ppsvc\release\ppsvc.exe'.
Affected parameters are:
logtoconsole =
assemblypath = F:\Develop\Service\ppsvc\release\ppsvc.exe
logfile = F:\Develop\Service\ppsvc\release\ppsvc.InstallLog
Unable to create an instance of the ppsvc.ProjectInstaller installer type.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
The inner exception System.NullReferenceException was thrown with the following error message: Object reference not set to an instance of an object..
解决方案 »
- 我用m_lstMain.SetItemState(0,LVIS_SELECTED,LVIS_SELECTED);怎么也选不中CListCtrl的行呢?
- 关于 对话框添加菜单栏的问题
- 在OpenGL模型矩阵中绘制平面图形
- 求获得上层目录的最好方法
- 本人用MFC编程,如何做后台运行程序,此程序不需要窗口支持。
- 我想在程序的其他地方得到一个无模式对话框的句柄,有什么好办法??
- 看看这个人:zxhong (红) 他是什么?
- 请大家看看这段代码为什么不对?
- 请问怎样从截获的数据包中取出目标IP地址?最好能有源程序,谢谢
- 哪里有<<The c++ programming language>>电子书下载?
- DCT压缩问题
- Vista下DirectSoundCapture8创建DirectSoundCaptureBuffer8有问题
Unable to create an instance of the ppsvc.ProjectInstaller installer type.
这句到底时什么意思?