启动服务时出问题,服务不能启动,请各位帮帮忙看看啊
jdhsd 2006-02-21 02:37:11 启动服务时出问题,服务不能启动
具体信息为下面的内容.
对于GetBackupTime()函数我测试过,是没有问题的
请各位帮帮忙看看啊,谢谢
无法启动服务。System.InvalidCastException: 从字符串“”到类型“Double”的强制转换无效。 ---> System.FormatException: 输入字符串的格式不正确。
at Microsoft.VisualBasic.CompilerServices.DoubleType.Parse(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.DoubleType.FromString(String Value, NumberFormatInfo NumberFormat)
--- 内部异常堆栈跟踪的结尾 ---
at Microsoft.VisualBasic.CompilerServices.DoubleType.FromString(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.DoubleType.FromString(String Value)
at SamwooRecord.Mdlmain.GetBackupTime()
at SamwooRecord.SamwooRecord.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持