Click here to Skip to main content
15,867,756 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900