当我们部署在IIS 8.0 Asp.Net应用程序不能正常工作 [英] Asp.Net Application was not working when we deployed in IIS 8.0

查看:495
本文介绍了当我们部署在IIS 8.0 Asp.Net应用程序不能正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows Server 2012中使用Visual Studio 2012年。然后,我在IIS 8.0部署它创造简单Asp.Net。在IIS管理器浏览部署简单Asp.Net的应用程序,这是工作的罚款当样本Visual Studio项目是开放的。关闭Visual Studio项目那么我们浏览从IIS管理选项后,应用程序不能正常工作。

In Windows Server 2012 created simple Asp.Net using Visual studio 2012. Then I have deployed it in IIS 8.0. In IIS manger browse the deployed simple Asp.Net application, it was working fine when the sample Visual studio project is open. After closing the Visual studio project then we browse it from IIS manager option, the application was not working.

请提供解决方案,如果你了解它。

Please provide the solution if you know about it.

请注意:可以出现无法显示页面错误

Note: The page can't be displayed error be occur.

推荐答案

您需要检查在IIS托管。几件事情

Few Things you need to check for hosting in IIS.


  1. <一个href=\"http://stackoverflow.com/questions/5836228/asp-net-4-0-has-not-been-registered\">Application池框架 :确保安装了正确的framwork V(4.0.30319)

  1. Application Pool frameWork : Ensure the correct framwork is installed V(4.0.30319).

导航到 C:\\ WINDOWS \\ Microsoft.NET \\框架\\ v4.0.30319 目录

在这里打开命令窗口(CTRL + SHIFT +单击鼠标右键)

Open command window here (CTRL + SHIFT + rightClick)

键入命令提示符为aspnet_regiis -i 注册最新的框架。

Type in the Command prompt aspnet_regiis -i to register the latest framework.

物理路径安全/许可
IIS - >(选择您的VD) - >管理应用程序 - >高级设置 - >物理路径的凭据 - >选择连接为特定用户 - >提供系统的用户名和密码

Physical path Security/permission : IIS -> (select your VD) -> Manage Application-> Advanced settings -> Physical path credential -> Choose connect as Specific user -> provide the systems username and password.

添加读/写权限IIS_IUSERS对象

Add read/write permission for IIS_IUSERS object

这篇关于当我们部署在IIS 8.0 Asp.Net应用程序不能正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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