运行 Web 部署项目的先决条件

发布于 2024-08-25 00:49:33 字数 170 浏览 3 评论 0原文

我正在安装用 ASP .NET 3.5 SP1 开发的产品 我使用 ASP .NET Web 部署项目进行了设置。安装程序在一台服务器上运行没有任何问题,但在新安装的服务器上运行失败。

.NET 3.5 SP1 框架安装在新的 W2k8 服务器上。

有人知道我应该安装什么才能运行安装程序吗?

I'm installing a product developped in ASP .NET 3.5 SP1
I made a setup using ASP .NET Web Deployment Project. The Setup runs without any problems on one server, and fails on a freshly installed one.

The .NET 3.5 SP1 framework is installed on a fresh W2k8 Server.

Anyone knows what I should install to get the Setup running?

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

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

发布评论

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

评论(1

百思不得你姐 2024-09-01 00:49:33

根据 STANLEY

您已将 ASP.NET 3.5 Web 应用程序部署到 Windows Server 2008 R2 和 IIS7.5。应用程序的物理位置是 C:\MyWeb。当您使用 IIS 管理器浏览应用程序时,您会收到错误。以下是可以帮助您防止错误发生的检查列表。

  1. 安装 .NET Framework 3.5 SP1

  2. 安装 IIS 7.5 和 ASP.NET

  3. 向 IIS 注册 ASP.NET< /p>

  4. 设置 IIS_IUSRS 组权限以允许修改文件夹 C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files

  5. 如果您的 Web 应用程序涉及到,请设置 IIS_IUSRS 组权限以允许修改文件夹 C:\Windows\temp WCF 服务、XMLSerializer 等

  6. 设置 IIS_IUSRS 组对应用程序物理文件夹的读取权限C:\MyWeb

  7. 设置 IUSR 帐户对应用程序物理文件夹 C:\MyWeb 的读取权限(如果启用了匿名身份验证)

  8. 使用集成模式以利用其众多优势和功能

  9. 将 httpModules 和 httpHandlers 从 system.web 部分移动到 web.config 的 system.webServer 部分中的模块和处理程序

  10. < p>如果您想选择使用经典模式,请在上述步骤 9 中执行复制而不是移动,然后添加到 system.webServer 部分

AS PER STANLEY

You have ASP.NET 3.5 web application deployed to windows server 2008 R2 and IIS7.5. The physical location of the application is C:\MyWeb. You receive errors when you use IIS Manager to browse the application. The following is the check list that can help you prevent the errors from occurring.

  1. Install .NET Framework 3.5 SP1

  2. Install IIS 7.5 and ASP.NET

  3. Register ASP.NET with IIS

  4. Set IIS_IUSRS group permission to allow Modify to the folder C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files

  5. Set IIS_IUSRS group permission to allow Modify to the folder C:\Windows\temp if your web application involves WCF Service, XMLSerializer, etc

  6. Set IIS_IUSRS group Read permission to the application physical folder C:\MyWeb

  7. Set IUSR account Read permission to the application physical folder C:\MyWeb if Anonymous Authentication is enabled

  8. Use Integrated Mode to take advantage of its many benefits and features

  9. Move httpModules and httpHandlers from system.web section to Modules and Handlers in system.webServer section of web.config

  10. If you want to have an option of using Classic Mode, Do Copy instead of Move in the above step 9 and Add to the system.webServer section

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