本帖最后由 Joe.xu 于 2024-5-29 09:09 编辑
活字格之前安装的8.0版,没有卸载,直接安装10.0版,能够正常打开文件,运行报错。新建项目,运行一样报错。
报错代码:
## Overview
- Version: 10.0.2.0
- Exception: `System.Exception`
- DateTime: 2024/5/28 21:28:55
- Email: 280726953@qq.com
- Tags: #CN
## Exception
```json
{
"ClassName": "System.Exception",
"Message": "User Service 未能在60s内启动",
"Data": {
"$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
"System.Object": null
},
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at dv.CheckAliveDesignerUserServiceAsync(Int32 checkAliveTimeoutSeconds)
at dv.yz(String a, Int32 b, Nullable`1 c, String d)
at dv.StartAsync(String siteName, Int32 port, Nullable`1 parentProcessId, String url)
at dw.StartServerAsync(String siteName, Int32 port)
at dt.vf(CancellationToken a)
at Forguncy.Views.RibbonView.PrepareTasksBeforeRunAsync()
at Forguncy.Views.RibbonView.BrowserHomeExecutedWithProgressbarAsync(IBrowser browser, TaskInfo taskInfo)
at Forguncy.Views.RibbonView.<>c__DisplayClass412_0.<<BrowserHomeExecutedWithProgressbarAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at WPFBase.Common.TaskInfoHelper.CreateAThreadCrossedAutoClosedWindowAsync(TaskInfo taskInfo, Window owner, Func`1 action)
at Forguncy.Views.RibbonView.BrowserHomeExecutedWithProgressbarAsync(IBrowser browser, TaskInfo taskInfo)
at Forguncy.Views.RibbonView.BrowserHome_Click(Object sender, RoutedEventArgs routedEventArgs)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233088,
"Source": "Forguncy",
"WatsonBuckets": null
}
```
## EventLog
- 21:27:58 `MouseL`:Window:活字格 (10.0.2.0)->RibbonView->RibbonGroupBox:在浏览器中打开->ToggleButton:开始->Image:/Start_32.png
- 21:27:56 `MouseL`:Window:活字格 (10.0.2.0)->Spread[45,60]:R3 ,C9 ,Page=页面1
- 21:27:55 `MouseL`:Window:活字格 (10.0.2.0)->TextBoxocationTextBox
- 21:27:54 `MouseL`:Window:活字格 (10.0.2.0)->Image:/Blank.png
- 21:27:53 `MouseL`:Window:活字格 (10.0.2.0)
- 21:27:51 `MouseL`:Window:活字格 (10.0.2.0)->×
- 21:27:49 `MouseL`:Window:WelcomeScreen->Button:关闭->关闭
## ActionList
|