设为首页收藏本站
搜索
查看: 1946|回复: 1
打印 上一主题 下一主题

后台运行出错

[复制链接]
跳转到指定楼层
1#
shaoguan3 发表于 2011-4-2 16:09:38 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参阅此消息的结尾。
************** 异常文本 **************
System.IO.IOException: 该进程无法访问文件“C:\广东省人事工资管理系统(下级版)\CassiniEx\Logs\2011-04-02.log”,因为该文件正由另一进程使用。
   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path, Boolean append)
   at CassiniEx.Logging.Logger.getTextWriter()
   at CassiniEx.Logging.Logger.logMessage(String severity, String message, Exception e)
   at CassiniEx.Logging.Logger.Error(String format, Object[] args)
   at CassiniEx.CassiniExWebServer.Start()
   at CassiniEx.CassiniExWebServer.CassiniExWebServer_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** 已加载的程序集 **************
mscorlib
    程序集版本: 1.0.5000.0
    Win32 版本: 1.1.4322.2470
    基本代码: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
CassiniExWebServer
    程序集版本: 0.94.402.0
    Win32 版本: 0.94.402.0
    基本代码: file:///C:/广东省人事工资管理系统(下级版)/CassiniEx/CassiniExWebServer.exe
----------------------------------------
System.Windows.Forms
    程序集版本: 1.0.5000.0
    Win32 版本: 1.1.4322.2032
    基本代码: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
    程序集版本: 1.0.5000.0
    Win32 版本: 1.1.4322.2470
    基本代码: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
    程序集版本: 1.0.5000.0
    Win32 版本: 1.1.4322.2032
    基本代码: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Accessibility
    程序集版本: 1.0.5000.0
    Win32 版本: 1.1.4322.573
    基本代码: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
CassiniEx
    程序集版本: 0.94.402.0
    Win32 版本: 0.94.402.0
    基本代码: file:///c:/windows/assembly/gac/cassiniex/0.94.402.0__8143ab431a9e47de/cassiniex.dll
----------------------------------------
RegexAssembly3_0
    程序集版本: 0.0.0.0
    Win32 版本: 无法使用
    基本代码:
----------------------------------------
System.Web
    程序集版本: 1.0.5000.0
    Win32 版本: 1.1.4322.2470
    基本代码: file:///c:/windows/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
mscorlib.resources
    程序集版本: 1.0.5000.0
    Win32 版本: 1.1.4322.573
    基本代码: file:///c:/windows/assembly/gac/mscorlib.resources/1.0.5000.0_zh-chs_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
    程序集版本: 1.0.5000.0
    Win32 版本: 1.1.4322.573
    基本代码: file:///c:/windows/assembly/gac/system.windows.forms.resources/1.0.5000.0_zh-chs_b77a5c561934e089/system.windows.forms.resources.dll
----------------------------------------
************** JIT 调试 **************
计算机的配置文件(machine.config)的
system.windows.forms 节中必须设置 jitDebugging 值。
编译应用程序时还必须启用\r\n调试。\r\n\r\n例如: \r\n\r\n<configuration>\r\n    <system.windows.forms jitDebugging="true" />\r\n</configuration>\r\n\r\n启用 JIT 调试后,任何未处理的异常\r\n都将被发送到此计算机上注册的 JIT 调试器,\r\n而不是由此对话框处理。\r\n


现在结转不了!
2#
xiaowkyu 发表于 2011-4-6 08:40:14 | 只看该作者
您好,您已经启动后台服务了,再次打开就会有如下错误
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|flysoft Computer Ltd ( 粤ICP备05071605号 )  

GMT+8, 2025-7-7 22:56 , Processed in 0.155935 second(s), 17 queries .

Powered by Discuz! X3.2

© 2001-2013 Design S!|平潭

快速回复 返回顶部 返回列表