以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  自动升级请问哪里错了  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=161859)

--  作者:hongye
--  发布时间:2021/4/1 12:24:00
--  自动升级请问哪里错了
Dim r As Row = Tables("表B").Current
Dim fh As String = r("第一列")
Dim fa As String = r("第二列")
Dim fp As String = r("第三列")
UpdatePath="ftp://" & fa & ":" & fp & "@" & fh & "/update"
If Syscmd.Project.Update(False,False) = False Then
    MessageBox.Show("ok")
    Forms("窗口1").Open
End If

图片点击可在新窗口打开查看此主题相关图片如下:01.jpg
图片点击可在新窗口打开查看

升级好后跳出错误,关闭再次打开就没有了

--  作者:有点蓝
--  发布时间:2021/4/1 14:25:00
--  
这个代码我测试没有问题。代码在什么事件,事件还有没有其它代码?
--  作者:hongye
--  发布时间:2021/4/1 14:51:00
--  
没有,我把项目发你
 下载信息  [文件大小:   下载次数: ]
图片点击可在新窗口打开查看点击浏览该文件:远程升级.rar



--  作者:有点蓝
--  发布时间:2021/4/1 15:03:00
--  
我测试没有问题哦。

1楼错误的详细内容发上来看看

--  作者:hongye
--  发布时间:2021/4/1 15:05:00
--  
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.Reflection.ReflectionTypeLoadException: 无法加载一个或多个请求的类型。有关更多信息,请检索 LoaderExceptions 属性。
   在 System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   在 System.Reflection.RuntimeModule.GetTypes()
   在 System.Reflection.Assembly.GetTypes()
   在 C1.Win.C1Command.C1CommandHolder.l()
   在 C1.Win.C1Command.C1CommandHolder.c(Control A_0)
   在 C1.Win.C1Command.C1CommandHolder.UnplugOwner()
   在 C1.Win.C1Command.C1CommandHolder.Dispose(Boolean disposing)
   在 System.ComponentModel.Component.Dispose()
   在 C1.Win.C1Command.TabPageList.System.IDisposable.Dispose()
   在 C1.Win.C1Command.C1DockingTab.Dispose(Boolean disposing)
   在 System.ComponentModel.Component.Dispose()
   在 System.Windows.Forms.Control.Dispose(Boolean disposing)
   在 System.Windows.Forms.Form.Dispose(Boolean disposing)
   在 C1.Win.C1Ribbon.C1RibbonForm.Dispose(Boolean disposing)
   在 Foxtable.ik.oOOo0Oo.(Boolean A_0)
   在 System.Windows.Forms.Form.WmClose(Message& m)
   在 System.Windows.Forms.Form.WndProc(Message& m)
   在 C1.Win.C1Ribbon.C1RibbonForm.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.7.3740.0 built by: NET472REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Foxtable
    程序集版本:2020.5.29.8
    Win32 版本:2020.05.29.8
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/Foxtable.exe
----------------------------------------
Foxtable.Lib
    程序集版本:2019.2.16.1
    Win32 版本:2019.02.16.1
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/Foxtable.Lib.DLL
----------------------------------------
Microsoft.VisualBasic
    程序集版本:10.0.0.0
    Win32 版本:14.7.3190.0 built by: NET472REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    程序集版本:4.0.0.0
    Win32 版本:4.7.3640.0 built by: NET472REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    程序集版本:4.0.0.0
    Win32 版本:4.7.3760.0 built by: NET472REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
    程序集版本:4.0.0.0
    Win32 版本:4.7.3690.0 built by: NET472REL1LAST_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.7.3190.0 built by: NET472REL1LAST_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:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/C1.Win.C1Ribbon.4.DLL
----------------------------------------
System.Configuration
    程序集版本:4.0.0.0
    Win32 版本:4.7.3630.0 built by: NET472REL1LAST_B
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    程序集版本:4.0.0.0
    Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
    程序集版本:4.0.0.0
    Win32 版本:4.7.3710.0 built by: NET472REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Interop.JinDI_SmsComLib
    程序集版本:1.0.0.0
    Win32 版本:1.0.0.0
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/Interop.JinDI_SmsComLib.DLL
----------------------------------------
C1.Win.C1Command.4
    程序集版本:4.0.20191.359
    Win32 版本:4.0.20191.359
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/C1.Win.C1Command.4.DLL
----------------------------------------
System.Numerics
    程序集版本:4.0.0.0
    Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------


--  作者:hongye
--  发布时间:2021/4/1 15:06:00
--  
System.Management
    程序集版本:4.0.0.0
    Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.Data.resources
    程序集版本:4.0.0.0
    Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C
    基本代码: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.7.3260.0 built by: NET472REL1LAST_C
    基本代码: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.7.3190.0 built by: NET472REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
C1.Win.C1Themes.4
    程序集版本:4.0.20183.338
    Win32 版本:4.0.20183.338
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/C1.Win.C1Themes.4.DLL
----------------------------------------
C1.Win.4
    程序集版本:4.0.20191.359
    Win32 版本:4.0.20191.359
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/C1.Win.4.DLL
----------------------------------------
C1.C1Zip.4
    程序集版本:4.0.20183.338
    Win32 版本:4.0.20183.338
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/C1.C1Zip.4.DLL
----------------------------------------
Accessibility
    程序集版本:4.0.0.0
    Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
C1.Win.C1FlexGrid.4
    程序集版本:4.0.20191.359
    Win32 版本:4.0.20191.359
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/C1.Win.C1FlexGrid.4.DLL
----------------------------------------
C1.Win.C1Input.4
    程序集版本:4.0.20191.359
    Win32 版本:4.0.20191.359
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/C1.Win.C1Input.4.DLL
----------------------------------------
远程升级.Project
    程序集版本:0.0.0.0
    Win32 版本:2020.05.29.8
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/Foxtable.exe
----------------------------------------
Interop.MSScriptControl
    程序集版本:1.0.0.0
    Win32 版本:1.0.0.0
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/Interop.MSScriptControl.DLL
----------------------------------------
Foxtable.Ribbon
    程序集版本:0.0.0.0
    Win32 版本:2020.05.29.8
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/Foxtable.exe
----------------------------------------
System.Web
    程序集版本:4.0.0.0
    Win32 版本:4.7.3770.0 built by: NET472REL1LAST_B
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
远程升级.Public
    程序集版本:0.0.0.0
    Win32 版本:2020.05.29.8
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/Foxtable.exe
----------------------------------------
mscorlib.resources
    程序集版本:4.0.0.0
    Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
DPFPDevNET
    程序集版本:1.6.1.0
    Win32 版本:1.6.1.0
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/DPFPDevNET.DLL
----------------------------------------
DPFPShrNET
    程序集版本:1.6.1.0
    Win32 版本:1.6.1.0
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/DPFPShrNET.DLL
----------------------------------------
Neodynamic.WinControls.BarcodeProfessional
    程序集版本:10.0.2000.0
    Win32 版本:10.0.2018.508
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/Neodynamic.WinControls.BarcodeProfessional.DLL
----------------------------------------
C1.C1Report.4
    程序集版本:4.0.20191.359
    Win32 版本:4.0.20191.359
    基本代码:file:///C:/Users/%E6%9C%B1%E5%BB%BA%E6%96%8C/Documents/Foxtable%E9%A1%B9%E7%9B%AE/%E8%BF%9C%E7%A8%8B%E5%8D%87%E7%BA%A7/Publish/C1.C1Report.4.DLL
----------------------------------------
System.Windows.Forms.resources
    程序集版本:4.0.0.0
    Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C
    基本代码: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
----------------------------------------

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

例如:

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

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


--  作者:有点蓝
--  发布时间:2021/4/1 15:09:00
--  
把发布后的程序设置为“以管理员身份运行此程序”

把项目和发布后的程序放到其它盘,如D盘。不要放到C盘、桌面、我的文档这些地方使用

--  作者:hongye
--  发布时间:2021/4/1 15:21:00
--  
都试过了,没用,换机也试过了
--  作者:有点蓝
--  发布时间:2021/4/1 15:46:00
--  
卸载重装一下。net
打开“控制面板-》程序和功能-》打开或者关闭Windows功能”,取消“Microsoft .Net Framework 3.5”和“Microsoft .Net Framework 4.7高级服务”前面的勾选,重新启动电脑,然后重新勾选“Microsoft .Net Framework 3.5”“Microsoft .Net Framework 4.7高级服务”

联系客服核对一下激活码,然后重新发布测试

--  作者:hongye
--  发布时间:2021/4/1 16:25:00
--  
还是这样