Last post Mar 10, 2017 01:50 AM by Cathy Zou
Mar 05, 2017 01:05 PM|hdv212|LINK
In my vs 2015 webSite project, i have missing Asp.net Configuration from project menu!
where is the problem and how to solve it ?
Thanks in advance
Important Note : Before vs 2015, i've created this project with vs 2010, then upgrade to 2015. However, when i open it via vs 2010, i have Asp.Net Configuration feature inside project menu but in vs 2015 is missing!!!!
Any help ?
Mar 05, 2017 04:40 PM|kaushalparik27|LINK
That is not a default option in VS2015. However, there are alternatives to get it back. Here are the related thread describing how you can get the configuration website to open:
You can get to it via IIS copy it to a development folder for future use. Here are two options:
1. Launch the Web Site Admin Tool using a command window:
Open a Command Window running it as a Admin
Change the folder to IIS Express cd C:\Program Files\IIS Express\ Run the following command to start up IIS Express iisexpress.exe /path:C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles /vpath:"/ASP.NETWebAdminFiles" /port:8082 /clr:4.0
Access the Admin Site via the following URL:
http://localhost:8082/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=C:[YOUR SITE PATH HERE]\&applicationUrl=/
2. Launch the Web Site Admin Tool using IIS: You can try running the site from the Windows folder but after a couple of issues I just moved it to another folder. The steps below cover that process.
Copy the Admin Site from the following folder: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles
Change the web.config to allow any user to access the site
Setup the site in IIS. Set the Authentication as shown below. Use the following URL to manage your ASP.NET site.
http://localhost/ASPNetAdmin/default.aspx?applicationPhysicalPath=C:[YOUR SITE PATH HERE]\&applicationUrl=/
Mar 10, 2017 01:50 AM|Cathy Zou|LINK
You could add a application Configuration File to a your project manually by following the steps in the below:
Expand Installed, expand Visual C# Items, and then choose the
Application Configuration File template.
In the Name text box, enter a name, and then choose the
A file that's named app.config is added to your project.