找不到System.MissingMethodException方法Crystal报表

bumble_bee_tuna

尝试更新应用程序时,我的客户端工作站上遇到以下异常:

System.MissingMethodException: 
Method not found: 'Void CrystalDecisions.Windows.Forms.CrystalReportViewer.set_CachedPageNumberPerDoc(Int32)'.
at OpusRw.CrystalReports.CryRepView.InitializeComponent()
at OpusRw.CrystalReports.CryRepView..ctor() in   
   c:\cli_code\OPUSfin\OPUSfin\CrystalReports\CryRepView.cs:line 21
   at OPUSfin.SubForms.PrintScreen.btInsertion_Click(Object sender, EventArgs e) in  
   c:\cli_code\OPUSfin\OPUSfin\SubForms\PrintScreen.cs:line 55

但是,当我在本地调试代码时,我没有问题。(这些更新甚至都没有更改所讨论的代码)。

我最初以为这是一个.dll错误,并且尝试清理该解决方案,删除并重新添加了.dll,但无济于事。

我还能尝试解决什么其他问题?

老程序员

我在vb中编程,并遇到了类似的问题。拥有一个vb.net应用程序,该应用程序具有多个屏幕/窗体,每个屏幕/窗体都带有CrystalReportViewr(crv)。在7/2014之前开发的屏幕可以正常工作。之后开发的程序将无法加载并出现错误:'Void CrystalDecisions.Windows.Forms.CrystalReportViewer.set_CachedPageNumberPerDoc(Int32)'。解决方案:打开“ SolutionExplorer”。转到有问题的表格,然后展开“ +”号。右键单击YourFormName.Designer.vb,然后选择“查看代码”。在结果代码窗口中,滚动查找CrystalReportViewer的名称。注释掉以下行:“ Me.crv1.CachedPageNumberPerDoc = 10”。

我在用户计算机上重新编译和更新了该应用程序,并且该应用程序正常运行。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

添加迁移:System.MissingMethodException:找不到方法ILibraryManager

来自分类Dev

MissingMethodException:找不到方法:'System.Delegate System.Reflection.MethodInfo.CreateDelegate(System.Type)'

来自分类Dev

找不到类型为xxx的System.MissingMethodException构造函数

来自分类Dev

System.MissingMethodException:找不到方法:'Microsoft .FSharp.Core.FSharpFunc`2

来自分类Dev

System.MissingMethodException:找不到方法:'Microsoft .FSharp.Core.FSharpFunc`2

来自分类Dev

System.MissingMethodException:找不到方法:'UInt32 Npgsql.NpgsqlStatement.get_Rows()

来自分类Dev

Rebus-System.MissingMethodException:找不到方法:'System.Threading.Tasks.Task Rebus.Bus.IBus.Send'

来自分类Dev

尝试在 vps debian System.MissingMethodException 上运行 Steambot 时出错:找不到方法:'System.Array.Empty'

来自分类常见问题

找不到方法:'!! 0 [] System.Array.Empty()'

来自分类Dev

找不到方法:'System.Threading.Tasks.Task`1 <!! 0>

来自分类Dev

Identityserver4的自动映射器问题-MissingMethodException:找不到方法:'!! 0 AutoMapper.IMapper.Map(System.Object)'

来自分类Dev

找不到方法:“ System.Type System.Runtime.InteropServices.Marshal.GetTypeFromCLSID(System.Guid)”

来自分类Dev

Xamarin DependencyService:System.MissingMethodException:找不到[Interface]的默认构造函数

来自分类Dev

找不到方法:'System.String System.String.Format(System.IFormatProvider,System.String,System.Object)

来自分类Dev

找不到ASP.NET MVC方法:“ System.Version System.Web.HttpRuntime.get_IISVersion()”

来自分类Dev

找不到方法:“ System.Object Newtonsoft.Json.Linq.JToken.ToObject(System.Type)”

来自分类Dev

System.ArgumentException:在 System.Reflection.MonoPropert 中找不到“XXXXXXX”的获取方法

来自分类Dev

Crystal Report-MVC 5中找不到方法错误

来自分类Dev

找不到jQuery方法

来自分类Dev

找不到HttpPostedFileBase方法

来自分类Dev

找不到方法commandLine()

来自分类Dev

找不到HATEOAS方法

来自分类Dev

找不到本机方法

来自分类Dev

找不到属性方法

来自分类Dev

找不到符号-方法

来自分类Dev

找不到方法minifyEnabled()

来自分类Dev

找不到符号方法

来自分类Dev

找不到方法的StackOverflowError

来自分类Dev

找不到BadRequest方法

Related 相关文章

  1. 1

    添加迁移:System.MissingMethodException:找不到方法ILibraryManager

  2. 2

    MissingMethodException:找不到方法:'System.Delegate System.Reflection.MethodInfo.CreateDelegate(System.Type)'

  3. 3

    找不到类型为xxx的System.MissingMethodException构造函数

  4. 4

    System.MissingMethodException:找不到方法:'Microsoft .FSharp.Core.FSharpFunc`2

  5. 5

    System.MissingMethodException:找不到方法:'Microsoft .FSharp.Core.FSharpFunc`2

  6. 6

    System.MissingMethodException:找不到方法:'UInt32 Npgsql.NpgsqlStatement.get_Rows()

  7. 7

    Rebus-System.MissingMethodException:找不到方法:'System.Threading.Tasks.Task Rebus.Bus.IBus.Send'

  8. 8

    尝试在 vps debian System.MissingMethodException 上运行 Steambot 时出错:找不到方法:'System.Array.Empty'

  9. 9

    找不到方法:'!! 0 [] System.Array.Empty()'

  10. 10

    找不到方法:'System.Threading.Tasks.Task`1 <!! 0>

  11. 11

    Identityserver4的自动映射器问题-MissingMethodException:找不到方法:'!! 0 AutoMapper.IMapper.Map(System.Object)'

  12. 12

    找不到方法:“ System.Type System.Runtime.InteropServices.Marshal.GetTypeFromCLSID(System.Guid)”

  13. 13

    Xamarin DependencyService:System.MissingMethodException:找不到[Interface]的默认构造函数

  14. 14

    找不到方法:'System.String System.String.Format(System.IFormatProvider,System.String,System.Object)

  15. 15

    找不到ASP.NET MVC方法:“ System.Version System.Web.HttpRuntime.get_IISVersion()”

  16. 16

    找不到方法:“ System.Object Newtonsoft.Json.Linq.JToken.ToObject(System.Type)”

  17. 17

    System.ArgumentException:在 System.Reflection.MonoPropert 中找不到“XXXXXXX”的获取方法

  18. 18

    Crystal Report-MVC 5中找不到方法错误

  19. 19

    找不到jQuery方法

  20. 20

    找不到HttpPostedFileBase方法

  21. 21

    找不到方法commandLine()

  22. 22

    找不到HATEOAS方法

  23. 23

    找不到本机方法

  24. 24

    找不到属性方法

  25. 25

    找不到符号-方法

  26. 26

    找不到方法minifyEnabled()

  27. 27

    找不到符号方法

  28. 28

    找不到方法的StackOverflowError

  29. 29

    找不到BadRequest方法

热门标签

归档