客户端PC中的Vb crystaldecisions.windows.forms错误 [英] Vb crystaldecisions.windows.forms error in client PC

查看:341
本文介绍了客户端PC中的Vb crystaldecisions.windows.forms错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的开发者PC中,我安装了Crystal Runtime(.msi),因此我可以使用Crystal Reports。它工作正常。在我们的服务器上,我试图复制并运行我的程序的 .exe ,它给我以下错误:



创建表单时出错。有关详细信息,请参阅Exception.InnerException。错误是:无法加载文件或程序集'CrystalDecisions.Windows.Forms,Version = 13.0.3500.0,...等等





这是一个Windows窗体,我在Windows 10中使用VS 2013.



这些是我的问题:

1.我是需要在我们的服务器上安装Crystal Runtime吗?如果需要,你能给我一个合法的链接,我可以下载吗?我忘记了之前的下载地点(那是一年前)。

2.您认为还有其他选择吗?我只能想到两个:

a。使程序成为安装程序类型(安装到很多PC有点麻烦)

b。在我们的服务器中安装VS 2013,包括Crystal Runtime,但每次更新我需要复制所有文件并重建。



我尝试过:



我无权访问我们的服务器。我需要证明为什么我需要在他们同意之前安装这些程序。所以如果有人以前经历过这个并且让它成功,我需要你的建议。

解决方案

heyitsPJ写道:

我是否需要在我们的服务器上安装Crystal Runtime?

仅当您尝试在服务器上使用(客户端)应用程序时。必须在每台使用Crystal Reports对象运行某些代码的计算机上安装运行时。你真的需要你的应用程序在服务器上运行吗?理想情况下,服务器只提供服务(Web,数据库,文件等)。从客户端计算机上更好地使用GUI前端应用程序。

另外,如果您无法访问服务器,在其上安装Windows应用程序可能毫无用处。



heyitsPJ写道:

你能给我一个可以下载的合法链接吗?

< a href =https://www.tektutorialshub.com/crystal-reports/crystal-reports-download-for-visual-studio/>如何下载和安装Crystal Report Runtime [ ^ ]



heyitsPJ写道:

使程序变成安装程序类型(安装到很多PC有点麻烦)

这似乎是一个很好的解决方案,特别是如果你必须部署到很多PC上。



heyitsPJ写道:

在我们的服务器包括安装VS 2013 g Crystal Runtime

我不建议在生产服务器上安装IDE。


In my developer PC I install the Crystal Runtime (.msi) so I can work with Crystal Reports. And it's working fine. On our server I tried to copy and run the .exe of my program and it gives me below error:

An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version = 13.0.3500.0, ...and so on 



It's a windows form and I'm using VS 2013 in Windows 10.

These are my questions:
1. Do I need to install Crystal Runtime on our server? And if needed, can you please give a legit link where I can download? I forgot where I download before (that's a year ago).
2. Is there other options you think is much efficient? I can only think two:
a. Make the program into installer-type (a bit hassle to install to a lot of PC)
b. Install VS 2013 in our server including Crystal Runtime but every update I need to copy all files and rebuild.

What I have tried:

I don't have access on our server. I need to justify why I need to install such programs before they agree. So if anyone experienced this before and made it work, I need your suggestions.

解决方案

heyitsPJ wrote:

Do I need to install Crystal Runtime on our server?

Only if you are trying to use your (client) application on the server. The runtime has to be installed on every machine which will run some code using Crystal Reports objects. Do you really need your application to run on the server? Ideally the server would only provide services (web, database, files, etc.). A GUI front-end application is better used from a client machine.
Plus, if you do not have access to the server, installing a windows application on it might be useless.

heyitsPJ wrote:

can you please give a legit link where I can download?

How to download and Install Crystal Report Runtime[^]

heyitsPJ wrote:

Make the program into installer-type (a bit hassle to install to a lot of PC)

That seems to be a good solution, especially if you have to deploy to a lot of PCs.

heyitsPJ wrote:

Install VS 2013 in our server including Crystal Runtime

I would not recommend installing an IDE on a production server.


这篇关于客户端PC中的Vb crystaldecisions.windows.forms错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆