Publish a Website with IIS from Visual Studio 2012
Why Stack Overflow recommends it
Stack Overflow users link it when they need a quick visual walkthrough of publishing a Visual Studio project to IIS while troubleshooting deployment, access or database problems.
Recommended by 1 people across 1 different months, 2014 to 2018.
What it is
A short screencast by Richard W showing how to publish an ASP.NET website from Visual Studio 2012 to a local IIS web server. It walks through the publish step so the site can be reached outside the development environment.
What people said
Recommends Sarvavyapi · 2014-10 · Stack Overflow · on “Unable to access an asp.net website in the local network”
This is what I did to fix the issue. I am a newbie in this and did not know that I needed to install/configure the IIS web server. I was under the impression that the IIS server local to visual studio would take care of my needs of accessing the site from within and outside the network. I followed this tutorial ( install IIS on windows 7 [LINK] ) to install the IIS server. I then published the site from visual studio (I watched this video [this video] ). Observed that I was able to access the site as [LINK] but not as [LINK] Found out that I had to configure the host header. This SO question [LINK] and this link [LINK] helped me do that. But still I was not able to access the site with my local I
Cites DBA · 2015-03 · Stack Overflow · on “Cannot connect to SQL database (hosting from home)”
I recently installed Windows Server 2012 and IIS because I wanted to host website from home (inside my network). I was easily able to host simple static site, but now when I want to deploy ASP.NET site which uses a SQL Server database I have problems. From this tutorial I "published" site from Visual Studio http: [this video] And here is what error I get: [LINK] I have installed SQL Server Management Studio and attached database to it, in IIS I have set/up database name and server, so I believe that is also ok. Firewall is disabled (just for now until I get it working). Here is SQL Server set-up from IIS [LINK] I don't know where the problem is, maybe in permissions? (I can normally view static p
Cites Paul Ledger · 2017-02 · Stack Overflow · on “Cannot read configuration file in visual studio, can this be fixed”
I trying to use Visual Studio as I required to learn .NET and visual studio as part of new job. Normally I program everything in Notepad++ (PHP/javascript) because it just works fine for me. I have been on for three days trying to install Visual Studio, finally got it to install with the components required, as you can imagine my experience so far of Visual Studio is not too great. Sound cliche but following a nice simple tutorial [LINK] to get the basics out of the way, as you do. When I click to debug or the IIS Express button I am greeted with this error. [LINK] I have tried restarting the project I have tried restarting Visual Studio No matter how many projects I create I get the same er
Cites Lara · 2018-05 · Stack Overflow · on “TFS 2015 Publishing build artifacts using file share option failed”
I wanted to created a demo app that does automatic deployment. In other words once I check-in my code changes, the changes can be seen on the published website. I did the following steps: I created an .NET project on Visual Studio 2017, published the project with IIS instructions from here [LINK] and here [this video] . I published my project to a local file on my machine; The I did Continuous Delivery and Release Management using TFS 2015 and created a build and release definitions from here [LINK] ; The final step was to use the Copy File to and Publish Artifacts tasks, using file share option to drop the contents to the publish folder I've created. So when I check-in my changes using TFS, the