使用windows服务开发的定时任务,在win7上都运行良好,在windows server 2008上运行报错,报错信息如下

 

错误应用程序名称: GCWindowsService.exe,版本: 1.0.0.0,时间戳: 0x58c60614
错误模块名称: KERNELBASE.dll,版本: 6.2.9200.16864,时间戳: 0x531d34d8
异常代码: 0xe0434352
错误偏移量: 0x0000000000047b8c
错误进程 ID: 0x9658
错误应用程序启动时间: 0x01d29ba334d20a00
错误应用程序路径: E:\GCServier\Debug\GCWindowsService.exe
错误模块路径: C:\Windows\system32\KERNELBASE.dll
报告 ID: 72adac05-0796-11e7-9418-acf86304b677
错误程序包全名:
错误程序包相对应用程序 ID:

排查原因: 1 在C:\Windows\system32 下存在KERNELBASE.dll

             2 在服务debug安装路径下,将KERNELBASE.dll拷贝进去即可运行

 

相关文章:

  • 2021-06-29
  • 2022-12-23
  • 2021-05-31
  • 2021-04-15
  • 2021-11-09
  • 2021-12-10
  • 2021-09-29
猜你喜欢
  • 2022-01-20
  • 2021-07-27
  • 2022-01-03
  • 2022-12-23
  • 2022-12-23
  • 2021-06-24
相关资源
相似解决方案