搜索
热搜: 活动 交友 discuz
查看: 937|回复: 2
收起左侧

[已提交] →→→→→→→→→→→程序无法启动,报错

[复制链接]
  • TA的每日心情
    擦汗
    2014-1-8 21:55
  • 签到天数: 1 天

    [LV.1]初来乍到

    发表于 2014-1-8 21:56:53 | 显示全部楼层 |阅读模式
    本帖最后由 低调的猪子 于 2014-1-8 22:04 编辑

    windows2003
    [Visual Basic .NET] 纯文本查看 复制代码
    错误信息
    -----------------------------------------------------
    System.InvalidOperationException: Form that is already visible cannot be displayed as a modal dialog box. Set the form's visible property to false before calling showDialog.
       at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
       at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
       at ..[,](Action`2 ,  ,  ) in #2c:line 720
       at ...(String , Boolean ) in #7c:line 16777215
       at ...(Object , ThreadExceptionEventArgs ) in #7c:line 16777215
       at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
       at System.Windows.Forms.Control.WndProcException(Exception e)
       at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
       at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
       at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
       at System.Windows.Forms.Control.set_Visible(Boolean value)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at ..() in #i:line 149
    
    
    环境信息
    -----------------------------------------------------
    操作系统版本:Microsoft Windows NT 5.2.3790 Service Pack 2
    程序运行目录:D:\12306订票助手.NET
    
    
    模块信息
    -----------------------------------------------------
    [001]. mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll
    [002]. 12306订票助手, Version=2.6.0.870, Culture=neutral, PublicKeyToken=063375134da4cdc3 , D:\12306订票助手.NET\12306订票助手.exe
    [003]. System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
    [004]. System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
    [005]. System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
    [006]. System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
    [007]. System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
    [008]. System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
    [009]. SimpleUpdater, Version=2.3.4.5, Culture=neutral, PublicKeyToken=8bf54bd6729f490c , D:\12306订票助手.NET\SimpleUpdater.dll






    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?入住

    x

    该用户从未签到

    发表于 2014-1-8 22:06:51 | 显示全部楼层
    我也是出现线程错误

    错误信息
    -----------------------------------------------------
    System.IO.IOException: The process cannot access the file 'C:\Documents and Settings\zhaoliang\Application Data\iFish\12306TOBA\Users\U6D656767696537\userconfig.json' because it is being used by another process.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
       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, Encoding encoding)
       at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding)
       at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
       at ..(Object , String , Boolean , Boolean ) in #wc:line 49
       at ..() in #3d:line 91
       at ..(String , Int32 ) in #3d:line 62
       at ..() in #1:line 248
       at ..(Object , EventArgs ) in #1:line 16777215
       at System.Windows.Forms.Timer.OnTick(EventArgs e)
       at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    环境信息
    -----------------------------------------------------
    操作系统版本:Microsoft Windows NT 5.1.2600 Service Pack 2
    程序运行目录:C:\Documents and Settings\zhaoliang\桌面\12306订票助手.NET_2.5.0.812\12306订票助手.NET


    模块信息
    -----------------------------------------------------
    [001]. mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll
    [002]. 12306订票助手, Version=2.6.0.870, Culture=neutral, PublicKeyToken=063375134da4cdc3 , C:\Documents and Settings\zhaoliang\桌面\12306订票助手.NET_2.5.0.812\12306订票助手.NET\12306订票助手.exe
    [003]. System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
    [004]. System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
    [005]. System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
    [006]. System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
    [007]. System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
    [008]. System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
    [009]. Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed , C:\Documents and Settings\zhaoliang\桌面\12306订票助手.NET_2.5.0.812\12306订票助手.NET\Newtonsoft.Json.dll
    [010]. System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll
    [011]. System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
    [012]. System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll
    [013]. System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
    [014]. BetterListViewExpress, Version=3.8.2.0, Culture=neutral, PublicKeyToken=e6c91a3add447be2 , C:\Documents and Settings\zhaoliang\桌面\12306订票助手.NET_2.5.0.812\12306订票助手.NET\BetterListViewExpress.dll
    [015]. SimpleUpdater, Version=2.3.4.5, Culture=neutral, PublicKeyToken=8bf54bd6729f490c , C:\Documents and Settings\zhaoliang\桌面\12306订票助手.NET_2.5.0.812\12306订票助手.NET\SimpleUpdater.dll
    [016]. ?, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null ,  不可用信息 (动态程序集)
    [017]. qbssod03, Version=2.3.4.5, Culture=neutral, PublicKeyToken=null ,
    [018]. Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a , C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll
    [019]. System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a , C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll



    该用户从未签到

    发表于 2014-1-9 00:14:45 | 显示全部楼层
    是这样的啊,,如何搞定啊

    您需要登录后才可以回帖 登录 | 入住

    本版积分规则

    申请友链| Archiver| 手机版| 鱼·后花园

    GMT+8, 2024-9-28 02:55 , Processed in 0.054642 second(s), 19 queries , Redis On.

    Powered by Discuz! X3.4

    © 2005-2024 鱼·后花园

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