Foxtable(狐表)用户栏目专家坐堂 → [求助]Word报表


  共有4638人关注过本帖树形打印复制链接

主题:[求助]Word报表

帅哥哟,离线,有人找我吗?
xinghuo
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:幼狐 帖子:51 积分:633 威望:0 精华:0 注册:2011/3/27 15:11:00
[求助]Word报表  发帖心情 Post By:2022/11/5 9:14:00 [只看该作者]

受保护文档模板编辑,错误信息:



有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.Runtime.InteropServices.COMException (0x800A1897): Office 检测到此文件存在一个问题。为帮助保护您的计算机,不能打开此文件。
 (K:\开发\定稿\...\Reports\1.食品生产监督检查表.doc)
   在 Microsoft.Office.Interop.Word.Documents.Open(Object& FileName, Object& ConfirmConversions, Object& ReadOnly, Object& AddToRecentFiles, Object& PasswordDocument, Object& PasswordTemplate, Object& Revert, Object& WritePasswordDocument, Object& WritePasswordTemplate, Object& Format, Object& Encoding, Object& Visible, Object& OpenAndRepair, Object& DocumentDirection, Object& NoEncodingDialog, Object& XMLTransform)
   在 Foxtable.WordReport.O0_0.__00o_0.(Table A_0, Object A_1, Object A_2)
   在 Foxtable.WordReport..ctor(Table Table, Object Template, Object Report)
   在 Foxtable.O0。。。 。o。 。。.Oo0OoO__o000.O.(Object A_0, EventArgs A_1)
   在 System.Windows.Forms.Control.OnClick(EventArgs e)
   在 System.Windows.Forms.Button.OnClick(EventArgs e)
   在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   在 C1.Win.C1Input.C1Button.OnMouseUp(MouseEventArgs mevent)
   在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
   在 System.Windows.Forms.Button.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** 已加载的程序集 **************
mscorlib
    程序集版本:4.0.0.0
    Win32 版本:4.8.4515.0 built by: NET48REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Foxtable
    程序集版本:2022.8.18.1
    Win32 版本:2022.08.18.01
    基本代码:file:///C:/foxtable/Professional/foxtable.exe
----------------------------------------
Foxtable.Lib
    程序集版本:2022.7.13.1
    Win32 版本:2022.07.13.1
    基本代码:file:///C:/foxtable/Professional/Foxtable.Lib.DLL
----------------------------------------
ActiproSoftware.Text.WinForms
    程序集版本:22.1.3.0
    Win32 版本:22.1.3.0
    基本代码:file:///C:/foxtable/Professional/ActiproSoftware.Text.WinForms.DLL
----------------------------------------
System
    程序集版本:4.0.0.0
    Win32 版本:4.8.4536.0 built by: NET48REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ActiproSoftware.Shared.WinForms
    程序集版本:22.1.3.0
    Win32 版本:22.1.3.0
    基本代码:file:///C:/foxtable/Professional/ActiproSoftware.Shared.WinForms.DLL
----------------------------------------
Microsoft.VisualBasic
    程序集版本:10.0.0.0
    Win32 版本:14.8.4084.0 built by: NET48REL1
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
    程序集版本:4.0.0.0
    Win32 版本:4.8.4550.0 built by: NET48REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    程序集版本:4.0.0.0
    Win32 版本:4.8.4390.0 built by: NET48REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
C1.Win.C1Ribbon.4
    程序集版本:4.0.20191.359
    Win32 版本:4.0.20191.359
    基本代码:file:///C:/foxtable/Professional/C1.Win.C1Ribbon.4.DLL
----------------------------------------
System.Configuration
    程序集版本:4.0.0.0
    Win32 版本:4.8.4190.0 built by: NET48REL1LAST_B
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    程序集版本:4.0.0.0
    Win32 版本:4.8.4579.0 built by: NET48REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    程序集版本:4.0.0.0
    Win32 版本:4.8.4084.0 built by: NET48REL1
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    程序集版本:4.0.0.0
    Win32 版本:4.8.4084.0 built by: NET48REL1
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
ActiproSoftware.Text.Addons.DotNet.WinForms
    程序集版本:22.1.3.0
    Win32 版本:22.1.3.0
    基本代码:file:///C:/foxtable/Professional/ActiproSoftware.Text.Addons.DotNet.WinForms.DLL
----------------------------------------
System.Data
    程序集版本:4.0.0.0
    Win32 版本:4.8.4536.0 built by: NET48REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
ActiproSoftware.SyntaxEditor.Addons.DotNet.WinForms
    程序集版本:22.1.3.0
    Win32 版本:22.1.3.0
    基本代码:file:///C:/foxtable/Professional/ActiproSoftware.SyntaxEditor.Addons.DotNet.WinForms.DLL
----------------------------------------
ActiproSoftware.SyntaxEditor.WinForms
    程序集版本:22.1.3.0
    Win32 版本:22.1.3.0
    基本代码:file:///C:/foxtable/Professional/ActiproSoftware.SyntaxEditor.WinForms.DLL
----------------------------------------
ActiproSoftware.Text.LLParser.WinForms
    程序集版本:22.1.3.0
    Win32 版本:22.1.3.0
    基本代码:file:///C:/foxtable/Professional/ActiproSoftware.Text.LLParser.WinForms.DLL
----------------------------------------
Interop.JinDI_SmsComLib
    程序集版本:1.0.0.0
    Win32 版本:1.0.0.0
    基本代码:file:///C:/foxtable/Professional/Interop.JinDI_SmsComLib.DLL
----------------------------------------
C1.Win.C1Command.4
    程序集版本:4.0.20191.359
    Win32 版本:4.0.20191.359
    基本代码:file:///C:/foxtable/Professional/C1.Win.C1Command.4.DLL
----------------------------------------
System.Numerics
    程序集版本:4.0.0.0
    Win32 版本:4.8.4084.0 built by: NET48REL1
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data.resources
    程序集版本:4.0.0.0
    Win32 版本:4.8.4084.0 built by: NET48REL1
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Data.resources.dll
----------------------------------------
System.Transactions
    程序集版本:4.0.0.0
    Win32 版本:4.8.4084.0 built by: NET48REL1
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    程序集版本:4.0.0.0
    Win32 版本:4.8.4084.0 built by: NET48REL1
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    程序集版本:0.0.0.0
    Win32 版本:4.8.4515.0 built by: NET48REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.Management
    程序集版本:4.0.0.0
    Win32 版本:4.8.4435.0 built by: NET48REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
C1.Win.C1Themes.4
    程序集版本:4.0.20183.338
    Win32 版本:4.0.20183.338
    基本代码:file:///C:/foxtable/Professional/C1.Win.C1Themes.4.DLL
----------------------------------------
C1.Win.4
    程序集版本:4.0.20191.359
    Win32 版本:4.0.20191.359
    基本代码:file:///C:/foxtable/Professional/C1.Win.4.DLL
----------------------------------------
mscorlib.resources
    程序集版本:4.0.0.0
    Win32 版本:4.8.4084.0 built by: NET48REL1
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
C1.C1Zip.4
    程序集版本:4.0.20183.338
    Win32 版本:4.0.20183.338
    基本代码:file:///C:/foxtable/Professional/C1.C1Zip.4.DLL
----------------------------------------
System.Xml.Linq
    程序集版本:4.0.0.0
    Win32 版本:4.8.4084.0 built by: NET48REL1
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Web
    程序集版本:4.0.0.0
    Win32 版本:4.8.4494.0 built by: NET48REL1LAST_B
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
C1.Win.C1FlexGrid.4
    程序集版本:4.0.20191.359
    Win32 版本:4.0.20191.359
    基本代码:file:///C:/foxtable/Professional/C1.Win.C1FlexGrid.4.DLL
----------------------------------------
C1.Win.C1Input.4
    程序集版本:4.0.20191.359
    Win32 版本:4.0.20191.359
    基本代码:file:///C:/foxtable/Professional/C1.Win.C1Input.4.DLL
----------------------------------------
食品监督检查.Project
    程序集版本:0.0.0.0
    Win32 版本:2022.08.18.01
    基本代码:file:///C:/foxtable/Professional/foxtable.exe
----------------------------------------
食品监督检查.DataTable.A6uyjUiOzHQ6y5dYp
    程序集版本:0.0.0.0
    Win32 版本:2022.08.18.01
    基本代码:file:///C:/foxtable/Professional/foxtable.exe
----------------------------------------
食品监督检查.DataTable.AXCO1qdjTiZb82Ay8
    程序集版本:0.0.0.0
    Win32 版本:2022.08.18.01
    基本代码:file:///C:/foxtable/Professional/foxtable.exe
----------------------------------------
Interop.MSScriptControl
    程序集版本:1.0.0.0
    Win32 版本:1.0.0.0
    基本代码:file:///C:/foxtable/Professional/Interop.MSScriptControl.DLL
----------------------------------------
食品监督检查.Ribbon
    程序集版本:0.0.0.0
    Win32 版本:2022.08.18.01
    基本代码:file:///C:/foxtable/Professional/foxtable.exe
----------------------------------------
TSF
    程序集版本:1.0.0.0
    Win32 版本:1.0.0.0
    基本代码:file:///C:/foxtable/Professional/TSF.DLL
----------------------------------------
Foxtable.Ribbon
    程序集版本:0.0.0.0
    Win32 版本:2022.08.18.01
    基本代码:file:///C:/foxtable/Professional/foxtable.exe
----------------------------------------
Microsoft.Office.Interop.Word
    程序集版本:15.0.0.0
    Win32 版本:15.0.4420.1017
    基本代码:file:///C:/foxtable/Professional/Microsoft.Office.Interop.Word.DLL
----------------------------------------
office
    程序集版本:15.0.0.0
    Win32 版本:15.0.4420.1017
    基本代码:file:///C:/foxtable/Professional/office.DLL
----------------------------------------
System.Windows.Forms.resources
    程序集版本:4.0.0.0
    Win32 版本:4.8.4084.0 built by: NET48REL1
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
CustomMarshalers
    程序集版本:4.0.0.0
    Win32 版本:4.8.4084.0 built by: NET48REL1
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_32/CustomMarshalers/v4.0_4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
Microsoft.Office.Interop.Word
    程序集版本:14.0.0.0
    Win32 版本:14.0.4762.1000
    基本代码:file:///C:/Windows/assembly/GAC_MSIL/Microsoft.Office.Interop.Word/14.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Word.dll
----------------------------------------
office
    程序集版本:14.0.0.0
    Win32 版本:14.0.4760.1000
    基本代码:file:///C:/Windows/assembly/GAC_MSIL/office/14.0.0.0__71e9bce111e9429c/office.dll
----------------------------------------
Neodynamic.WinControls.BarcodeProfessional
    程序集版本:10.0.2000.0
    Win32 版本:10.0.2018.508
    基本代码:file:///C:/foxtable/Professional/Neodynamic.WinControls.BarcodeProfessional.DLL
----------------------------------------
System.resources
    程序集版本:4.0.0.0
    Win32 版本:4.8.4084.0 built by: NET48REL1
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.resources.dll
----------------------------------------

************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。

例如:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

启用 JIT 调试后,任何未经处理的异常
都将被发送到在此计算机上注册的 JIT 调试程序,
而不是由此对话框处理。



 回到顶部
帅哥,在线噢!
有点蓝
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:106675 积分:542564 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2022/11/5 9:28:00 [只看该作者]

1、不要使用加密软件加密Foxtable文件
2、必须有权限读写文件
3、如果文档加了密码,去掉密码再使用

 回到顶部
帅哥哟,离线,有人找我吗?
xinghuo
  3楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:幼狐 帖子:51 积分:633 威望:0 精华:0 注册:2011/3/27 15:11:00
  发帖心情 Post By:2022/11/5 11:41:00 [只看该作者]

System.Runtime.InteropServices.COMException (0x800A1897): Office 检测到此文件存在一个问题。为帮助保护您的计算机,不能打开此文件。
 (K:\开发\定稿\...\Reports\1_食品生产监督检查表.doc)
   在 Microsoft.Office.Interop.Word.Documents.Open(Object& FileName, Object& ConfirmConversions, Object& ReadOnly, Object& AddToRecentFiles, Object& PasswordDocument, Object& PasswordTemplate, Object& Revert, Object& WritePasswordDocument, Object& WritePasswordTemplate, Object& Format, Object& Encoding, Object& Visible, Object& OpenAndRepair, Object& DocumentDirection, Object& NoEncodingDialog, Object& XMLTransform)
   在 Foxtable.WordReport.O0_0.__00o_0.(Table A_0, Object A_1, Object A_2)
   在 Foxtable.WordReport..ctor(Table Table, Object Template, Object Report)
   在 Foxtable.Word.Report.Build()
   在 Foxtable.ooo0O0.o0o_.o_.(Object A_0, EventArgs A_1)
   在 C1.Win.C1Ribbon.RibbonButton.OnClick(EventArgs e)
   在 C1.Win.C1Ribbon.RibbonButton.j()
   在 C1.Win.C1Ribbon.a2.m()
   在 C1.Win.C1Ribbon.a2.aw()
   在 C1.Win.C1Ribbon.c.c()
   在 C1.Win.C1Ribbon.c.a(MouseEventArgs A_0)
   在 C1.Framework.XView.OnMouseUp(MouseEventArgs e)
   在 C1.Win.C1Ribbon.c2.c.c(MouseEventArgs A_0)
   在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 C1.Framework.ScrollableControl.WndProc(Message& m)
   在 C1.Win.C1Ribbon.c2.c.WndProc(Message& m)   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
受保护文档,密码倒是没有,允许编辑后,还是不行。

 回到顶部
帅哥,在线噢!
有点蓝
  4楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:106675 积分:542564 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2022/11/5 11:43:00 [只看该作者]

把文件复制到本机打开试试,比如放到C盘

office好像在共享,或者映射盘里打开就会有这种情况


 回到顶部