如何部署DevExpress到服务器?

发布于 2024-09-03 13:52:23 字数 322 浏览 4 评论 0原文

您好,我需要使用 DevExpress 控件将项目部署到 IIS 6.0 服务器。该项目加载良好,直到我添加 DevExpress 控件。尝试加载网站时出现错误

无法加载文件或程序集 'DevExpress.Web.v9.3,版本=9.3.4.0, 文化=中立, PublicKeyToken=b88d1754d700e49a' 或 它的依赖项之一。系统 找不到指定的文件

我做错了什么?我尝试在服务器上安装控件,并将所有程序集 dll 复制到应用程序的 bin/ 文件夹中,但我无法消除此错误。我怎样才能让它发挥作用?

Hello I am needing to deploy a project using DevExpress controls to an IIS 6.0 server. The project loads fine and until I add in the DevExpress controls. When trying to load the site I get the error

Could not load file or assembly
'DevExpress.Web.v9.3, Version=9.3.4.0,
Culture=neutral,
PublicKeyToken=b88d1754d700e49a' or
one of its dependencies. The system
cannot find the file specified

What am I doing wrong? I've tried installing the controls on the server and also just copying all of the assembly dlls to the bin/ folder of the application but I can not get this error to go away. How do I get it to work?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

桃气十足 2024-09-10 13:52:23

我最终进入 Visual Studio,然后选择所有 DevExpress 引用并将“copy local”设置为 true。

I ended up going into Visual Studio and then selecting all of the DevExpress references and setting "copy local" to true.

波浪屿的海角声 2024-09-10 13:52:23

具体错误意味着它正在寻找版本 9.3 的 DevExpress.Web 程序集。

对于服务器部署,您只需要运行时 dll。部署主题下的帮助文件中提供了必要的 dll 列表:

来自 search.DevExpress.com 的“部署”结果

Brendon Muck 的免费“DX Server Installer”工具也非常方便(正如 @JHappoldt 提到的)

最后一点,请注意,您不需要将设计时 dll 复制到您的 Web 服务器。这些文件仅适用于 Visual Studio。此外,分发这些内容也违反了 [EULA]。找出设计时 dll 的一种简单方法是它们通常以“.Design”结尾,

例如:“DevExpress.XtraReports.v9.3.Design”(不应部署此文件)

The specific error means that it is looking for version 9.3 of DevExpress.Web assembly.

For server deployment, you only need the runtime dlls. A list of the necessary dlls are in the help file under the deployment topic:

'deployment' results from search.DevExpress.com

Brendon Muck's free 'DX Server Installer' tool is also very handy (as mentioned by @JHappoldt)

One last note, please be aware that you do not need to copy the design time dlls to your web server. These files are only meant to be used in Visual Studio. Also, it against the [EULA] to distribute these. One simple way to figure out the design time dlls is that they usually end with '.Design'

For example: 'DevExpress.XtraReports.v9.3.Design' (This should not be deployed)

累赘 2024-09-10 13:52:23

在网络发布(AKA WPP)中,您可以使用我的 NuGet 包。只需将其安装到 Web 项目中即可(还支持网站和 Azure)。并且您无需将“复制本地”设置为 true

Within a Web Publish (AKA WPP) you can use my NuGet package. Just install it into the web project (Web Sites and Azure is also supported). And you don't need to set 'Copy Local' to true.

你在看孤独的风景 2024-09-10 13:52:23

没有官方工具可以在服务器上进行精简安装,但是社区成员写了一个非常有用的工具

There is no official tool to do a thin install on a server, however a community member wrote a very useful tool.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文