神马 发表于 2024-5-29 07:57:42

10User Service 未能在60s内启动

本帖最后由 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:R3 ,C9 ,Page=页面1
- 21:27:55 `MouseL`:Window:活字格 (10.0.2.0)->TextBox:LocationTextBox
- 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

Joe.xu 发表于 2024-5-29 07:57:43

这个配置是全局的,不是针对于某一版本,楼主可以修改试一下,一般不会对已经正常的造成影响,如果还未解决,可以获取一下设计器错误日志上传,说下出错的大概时间,我们结合分析一下
一看就会,超有用活字格技能:四十五,错误日志收集功能
https://gcdn.grapecity.com.cn/showtopic-52854-1-1.html
(出处: 葡萄城开发者社区)

豪~豪 发表于 2024-5-29 08:41:13

正确安装方法应该先给老版本活字格安装文件夹重命名在安装

神马 发表于 2024-5-29 08:54:57

现在如何解决?两个版本都要用

Joe.xu 发表于 2024-5-29 09:07:53

您好,想要安装多个版本的话,我们的方案是这样

看完必恍然大悟的活字格内幕:四十、如何让多个版本的设计器共存
https://gcdn.grapecity.com.cn/showtopic-68945-1-1.html
(出处: 葡萄城开发者社区)


也可以看一下这个帖子,修改一下配置试试

9.0.102 user service未能在60s内启动
https://gcdn.grapecity.com.cn/showtopic-198075-1-1.html
(出处: 葡萄城开发者社区)





神马 发表于 2024-5-29 10:59:01

我是在笔记本电脑上安装多个版本测试,是直接安装的,两个版本运行正常,然后在台式机上安装新的版本,幸好低版本运行正常,10.0版,打开文件能正常,运行报错。不想改动低版本的设置,担心出问题

神马 发表于 2024-5-30 09:08:15

把win7系统换win11了,重装系统后,先 活字格8,再安装活字格10,问题解决了,两个版本运行正常,非常感谢!

Joe.xu 发表于 2024-5-30 10:27:18

不客气哈,感谢您对活字格的支持。
后面有问题,欢迎继续发新帖交流:loveliness:
页: [1]
查看完整版本: 10User Service 未能在60s内启动