3.5应用程序池下的ASP.NET 4.0应用程序

发布于 2024-09-30 15:51:10 字数 101 浏览 2 评论 0原文

服务器安装了.NET Framework 4.0,但应用程序池设置为3.5。 有没有办法强制它运行我的 4.0 应用程序? 我需要这个,因为我的网络托管提供商需要很长时间才能为我进行更改。

The server has .NET framework 4.0 installed but the application pool is set to 3.5.
Is there a way to force it to run my 4.0 application?
I need this because my web hosting provider takes too long to make the change for me.

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

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

发布评论

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

评论(2

花辞树 2024-10-07 15:51:10

不,你不能。

该池可以在 2/3.5 版本或 4 版本上运行以太坊。
不能同时运行。现在认为任何池子下都可以住很多网站。因此不可能一个站点在 4 上运行,而另一个站点在 3.5 上运行。

池是一个程序,编译其下的网络,然后运行它们并显示页面。许多网站不能在同一个池下同时运行不同的版本,因为实际上有不同的程序保留2/3.5版本和4版本。它的设置不同,全局变量不同,库不同。

这两个版本,3.5 和 4.0,它们位于不同的目录中,具有完全不同的 exe 和 dll。因此,当池运行其中一个版本时,请保留该版本。

No you can not.

The pool can run ether on 2/3.5 version, or in 4.
Can not run on both. Now think that under any pool can live many web site. So its impossible one site to run on 4, and some other to run on 3.5.

The pool is a program that compile the webs that are under it, and then its runs them and show the pages. Many web sites can not run on different versions at the same time under the same pool, because actually there are different programs that keeps the 2/3.5 version and the 4 versions. Its different setup, different global variables, different libraries.

This two versions, 3.5 and 4.0 they live on different directories with totally different exe and dlls. So when a pool run one version of them, stay on that version.

绿萝 2024-10-07 15:51:10

不,但取决于您的托管提供商的控制面板,您实际上可以自己设置。例如 WebsitePanel,您可以自己在 .net 框架版本之间切换,但同样,如果您的托管提供商为您分配了专用的应用程序池,如果没有,那么它会与其他网站共享,这是不可能的。

no, but depends on your hosting provider's control panel, you can actually set this by yourself. For example WebsitePanel you can switch between .net framework version by yourself, but again if your hosting provider assign a dedicated application pool for you, if not then it's shared with other websites which is not possible.

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