where is Web Site Administration on visual studio 2015

I cannot found Web Site Administration Tool in visual studio 2015.
where is it?

It used to be on menu “website > Administration Tool” or “Project > Administration tool” but is not anymore.

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

I experienced the same issue. You can get to it via IIS or as I did, I copy it to a development folder for future use. Here are two options…

1. Launch the Web Site Admin Tool using a command window:

  1. Open a Command Window running it as a Admin
  2. Change the folder to IIS Express:
    cd C:Program FilesIIS Express
  3. Run the following command to start up IIS Express:

iisexpress.exe /path:C:WindowsMicrosoft.NETFrameworkv4.0.30319ASP.NETWebAdminFiles /vpath:"/ASP.NETWebAdminFiles" /port:8082 /clr:4.0 /ntlm

  1. 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:WindowsMicrosoft.NETFrameworkv4.0.30319ASP.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=/

See the following post at this link

Method 2

You need to use the port that you have configured in your app,

My command:

iisexpress.exe /path:C:WindowsMicrosoft.NETFrameworkv4.0.30319ASP.NETWebAdminFiles /vpath:”/ASP.NETWebAdminFiles” /port:58835 /clr:4.0

Also there’s a video search for “How to access ASP .Net Web Site Configuration Tool using Visual Studio”

Method 3

I was starting out brand new without a web.config file set up. This is what I did.

(You must have a local sql server running for this)
Register your sql server with asp.net:

  1. Open a command prompt and change directory to .net
cd  <windowsDirectory>Microsoft.NetFramework<version>
  1. Type aspnet_regsql
  2. Go through wizard to set up your database
  3. Go to your website project and edit your web.config file
  4. Add these configurations, updating them for your userid, password, etc.
        <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
    <configuration>
  <connectionStrings>
     <remove name="LocalSqlServer"/>
    <add name="LocalSqlServer" connectionString="server=localhost;database=myDb;uid=myUser;password=myPass;" />
  </connectionStrings>
</configuration>
  1. Open a Command Window
  2. Change the folder to IIS Express: cd C:Program FilesIIS Express
  3. Run the following command to start up IIS Express:
iisexpress.exe /path:C:WindowsMicrosoft.NETFramework<version>ASP.NETWebAdminFiles /vpath:"/ASP.NETWebAdminFiles" /port:8082 /clr:4.0 /ntlm
  1. Access the Admin Site via the following URL
 http://localhost:8082/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=C:[YOURSITEPATHHERE]&applicationUrl=/


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x