如何在IIS中安装ASP.NET [英] how to install ASP.NET in IIS

查看:190
本文介绍了如何在IIS中安装ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi friedns我在iis托管网站,但它显示错误,如





无法创建网站'http:// chandu / practice / website1'访问本地IIS网站,您必须在管理员帐户的上下文中运行visual studio,此外,您必须安装以下IIS组件



ASP.NET



我在我的互联网信息服务中检查了该应用程序开发功能我再次检查了ASP.NET4.5我得到了同样的错误







但是当我运行我的visualstudio2010以管理员身份运行时,它运行正常。

hi friedns iam hosting website in iis but it shows an error like


Unable to create the website 'http://chandu/practice/website1' to access local IIS Websites, you must run visual studio in the context of an administrator account,in addition,you must install the following IIS components

ASP.NET

I checked in my internet information services in that application development features i checked ASP.NET4.5 again iam getting above same error



but when iam running my visualstudio2010 run as administrator it works fine and properly.

推荐答案

必须在IIS中托管您应该以管理员模式运行VS的网站,否则它将不会发布。

因此请确保在管理员模式下运行VS发布网站。
It is must to host website in IIS that you should running your VS in administrator mode else it will not publish.
So make sure to run VS in administrator mode while publishing the website.


这篇关于如何在IIS中安装ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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