找回密码
 立即注册

QQ登录

只需一步,快速开始

cjqhhh

初级会员

44

主题

121

帖子

425

积分

初级会员

积分
425
cjqhhh
初级会员   /  发表于:2023-5-26 14:35  /   查看:798  /  回复:3
20金币
本帖最后由 cjqhhh 于 2023-5-30 15:21 编辑

服务器版本升级以后,原来部署的应用,用新的活字格设计器打开后发布显示错误。一个应用显示错误500,一个应用显示未知错误
(错误代码:## Overview
- Version: 8.0.104.0
- Exception: `System.IO.IOException`
- DateTime: 2023/5/26 10:21:35
- Email: 2200754838@qq.com
- Tags: #CN

## Exception
```json
{
  "ClassName": "System.IO.IOException",
  "Message": "流太长。",
  "Data": {
    "$type": "System.Collections.ListDictionaryInternal, mscorlib",
    "System.Object": null
  },
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   在 System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   在 System.IO.Stream.InternalCopyTo(Stream destination, Int32 bufferSize)
   在 System.IO.Compression.ZipFileExtensions.DoCreateEntryFromFile(ZipArchive destination, String sourceFileName, String entryName, Nullable`1 compressionLevel)
   在 CommonUtilities.CompressHelper.a(ZipArchive A_0, String A_1, String A_2, CompressionLevel A_3)
   在 CommonUtilities.CompressHelper.a(String A_0, Dictionary`2 A_1, Dictionary`2 A_2, ZipArchive A_3, CompressionLevel A_4)
   在 CommonUtilities.CompressHelper.ZipFolder(String filePath, String folder, Func`3 filter, CompressionLevel level)
   在 CommonUtilities.CompressHelper.CompressDirectory(String inFolder, String outFolder, Int32 volumeSize, CompressionLevel level)
   在 Forguncy.Model.p.a(Boolean A_0)
   在 Forguncy.Model.p.a(String A_0, String A_1, String A_2, String A_3, Boolean A_4, OverrideDataBaseOption A_5, Boolean A_6, Boolean A_7, Boolean A_8, PermissionOverrideOption A_9, Int32 A_10, Int32 A_11, Int32 A_12, Boolean A_13, Boolean A_14, Boolean A_15, TaskInfo A_16, Boolean A_17, String A_18)
   在 Forguncy.Views.RibbonView.ak.f()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 Forguncy.Views.RibbonView.ak.f()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Forguncy.Views.RibbonView.j.a.d()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": "8
Write
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.IO.MemoryStream
Void Write(Byte[], Int32, Int32)",
  "HResult": -2146232800,
  "Source": "mscorlib",
  "WatsonBuckets": null
}
```

## EventLog
- 10:13:09 `MouseL`:Window:发布设置->Button:发布
- 10:13:05 `TextInput`:******
- 10:13:04 `MouseL`:Window:发布设置
- 10:13:02 `MouseL`:Window:发布设置->CheckBox:OverrideDatabase->覆盖服务器数据库
- 10:13:02 `MouseL`:Window:发布设置
- 10:12:56 `MouseL`:Window:下载链接页面.fgcc - 活字格->RibbonView->RibbonGroupBox:发布->Image:/PublishToServer.png
- 10:12:55 `MouseL`:Window:下载链接页面.fgcc - 活字格->RibbonView->RibbonTabItem->ContentControl:发布->发布

## ActionList)


附件: 您需要 登录 才可以下载或查看,没有帐号?立即注册

3 个回复

倒序浏览
Joe.xu讲师达人认证 悬赏达人认证 活字格认证
超级版主   /  发表于:2023-5-26 16:39:30
沙发
您是升级到哪个版本呢,都是发布的时候报错吗,

可以获取一下服务器的错误日志我们看下

一看就会,超有用活字格技能:四十五,错误日志收集功能
https://gcdn.grapecity.com.cn/showtopic-52854-1-1.html
(出处: 葡萄城产品技术社区)


回复 使用道具 举报
cjqhhh
初级会员   /  发表于:2023-5-26 17:37:14
板凳
Joe.xu 发表于 2023-5-26 16:39
您是升级到哪个版本呢,都是发布的时候报错吗,

可以获取一下服务器的错误日志我们看下

重新安装了一下软件可以上传发布应用了,但是都显示错误500,然后服务器添加用户报错显示interal  server  error
回复 使用道具 举报
Joe.xu讲师达人认证 悬赏达人认证 活字格认证
超级版主   /  发表于:2023-5-26 18:06:55
地板
您好,这个问题可能需要远程您看一下,如果您是已购用户,可以联系对应的商务同事,如果是未购客户先填一下我们这边的1V1申请:https://www.grapecity.com.cn/applyonline
通过申请后会有专门的人联系您,给您提供一个月免费的快速支持通道
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部