自己写的一个服务启动的时候出问题了,请帮下忙啊
jdhsd 2006-01-22 04:57:05 自己写的一个服务启动的时候出问题了
在事件查看器里面显示错误
错误详细信息为以下内容
请问该怎么解决啊
谢谢
无法启动服务。System.IO.FileNotFoundException: 找不到文件或程序集名称“Interop.REGTool5”,或找不到它的一个依赖项。
文件名: “Interop.REGTool5”
at SamwooRecord.Mdlmain.ReadReg(Int64 KeyRoot, String KeyName, String ValueName)
at SamwooRecord.Mdlmain.GetFTPInfo()
at SamwooRecord.SamwooRecord.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
=== Pre-bind state information ===
LOG: DisplayName = Interop.REGTool5, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = c:\program files\samwoo\samwoorecordsetup\
LOG: Initial PrivatePath = NULL
Calling assembly : SamwooRecord, Version=1.0.2213.29804, Culture=neutral, PublicKeyToken=null.
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: Interop.REGTool5, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL file:///c:/program files/samwoo/samwoorecordsetup/Interop.REGTool5.DLL.
LOG: Attempting download of new URL file:///c:/program files/samwoo/samwoorecordsetup/Interop.REGTool5/Interop.REGTool5.DLL.
LOG: Attempting download of new URL file:///c:/program files/samwoo/samwoorecordsetup/Interop.REGTool5.EXE.
LOG: Attempting download of new URL file:///c:/program files/samwoo/samwoorecordsetup/Interop.REGTool5/Interop.REGTool5.EXE.