dot net 3.5 应用程序在 IIS7.5 上运行

发布于 2024-10-02 12:24:25 字数 174 浏览 0 评论 0原文

您好,我有一个应用程序,其主项目设置为 3.5 版,一些实用程序项目设置为 2.0 版。我需要迁移该应用程序以在 IIS7.5 上运行。我尝试按原样重新编译应用程序并将其放在服务器上,但无济于事。 我需要做什么才能让这个应用程序在 7.5 上运行?我需要将解决方案中的项目升级到.net 4.0吗?

非常感谢任何指点。

Hi I have an application which has a main project set to ver 3.5 with some utility projects set to ver 2.0. I need to migrate the app to work on IIS7.5. I have tried recompiling the app as is and putting it on the server but to no avail.
What do I need to do to get this app running on 7.5? Will I need to upgrade the projects in the solution to .net 4.0?

any pointers much appreciated.

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

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

发布评论

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

评论(1

巨坚强 2024-10-09 12:24:25

不,您不需要升级到 .NET 4.0,即使它可能很好:-) 您所需要做的就是确保应用程序池设置为在 IIS 中使用 CLR 2.0,并且它将正常运行(显然 .NET服务器上需要安装3.5)。

No you don't necessary need to upgrade to .NET 4.0 even if it could be nice :-) All you need is to make sure the application pool is set to use CLR 2.0 in IIS and it will run just fine (obviously .NET 3.5 needs to be installed on the server).

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