启动服务时出问题,服务不能启动,请各位帮帮忙看看啊

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 的帮助和支持
...全文
65 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

16,555

社区成员

发帖
与我相关
我的任务
社区描述
VB技术相关讨论,主要为经典vb,即VB6.0
社区管理员
  • VB.NET
  • 水哥阿乐
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧