I've done this thing before, but with older versions of Visual Studio. I've just put together a small ASP.NET web site, single page, which I want to deploy to our internal web server. I'm now working with VS 2012 Premium. In the past I'd use VS 2005 or older,
and did a Copy Web Site. When I tried that with this new website I got an error from VS 2012 informing me that the web server doesn't have FrontPage Server Extensions. (Last year we migrated off of hosting our servers locally. Our servers are now hosted in
virtual machines by our parent organization.) Well, I don't want to put FPSE onto the server, so I guess Copy Web Site isn't going to work for me. That leaves either copying all of the files to a file share on the VM, and from there I can copy them into a
directory that I'd point to in IIS 7 on the server. I'd rather not do that.
The alternative, as I see it, is to use Publish Web Site from within VS 2012. I've never done that before. I wanted the video, on this website, by Scott Hanselman, describing the Publish Web Site functionality, but there's one important point I just don't
get. What is the whole "Publish Profile" all about? Scott used publishing to Azure, but that's not want I'm trying to do. How do I get a publish profile for the Publish Web Site functionality in VS 2012, so I can publish to a website in the VM hosted by my
parent organization?
yes, you cant use Frontpage Extnesion on Windows Server 2008 or above. As an alternative, you can use FTP tools or WebDeploy to publish your site. For FTP, you can download Filezilla and it is very easy to use it. :)
Member
100 Points
483 Posts
Trying to deploy an ASP.NET 4.0 app to a Windows Server 2008 R2 server; do I Copy Web Site or Pub...
Mar 04, 2014 03:45 PM|DoctorWho|LINK
I've done this thing before, but with older versions of Visual Studio. I've just put together a small ASP.NET web site, single page, which I want to deploy to our internal web server. I'm now working with VS 2012 Premium. In the past I'd use VS 2005 or older, and did a Copy Web Site. When I tried that with this new website I got an error from VS 2012 informing me that the web server doesn't have FrontPage Server Extensions. (Last year we migrated off of hosting our servers locally. Our servers are now hosted in virtual machines by our parent organization.) Well, I don't want to put FPSE onto the server, so I guess Copy Web Site isn't going to work for me. That leaves either copying all of the files to a file share on the VM, and from there I can copy them into a directory that I'd point to in IIS 7 on the server. I'd rather not do that.
The alternative, as I see it, is to use Publish Web Site from within VS 2012. I've never done that before. I wanted the video, on this website, by Scott Hanselman, describing the Publish Web Site functionality, but there's one important point I just don't get. What is the whole "Publish Profile" all about? Scott used publishing to Azure, but that's not want I'm trying to do. How do I get a publish profile for the Publish Web Site functionality in VS 2012, so I can publish to a website in the VM hosted by my parent organization?
All-Star
52503 Points
15668 Posts
Re: Trying to deploy an ASP.NET 4.0 app to a Windows Server 2008 R2 server; do I Copy Web Site or...
Mar 04, 2014 09:25 PM|oned_gk|LINK
AFAIK FrontPage Server Extension available for win 2003 or below only
Use FTP Publishing Service for Windows 2008
Download link
x86 : http://www.microsoft.com/en-us/download/details.aspx?id=14045
x64 : http://www.microsoft.com/en-us/download/details.aspx?id=22045
How to configure : http://blog.pluralsight.com/windows-server-2008-ftp-iis7
Suwandi - Non Graduate Programmer
Member
60 Points
42 Posts
Re: Trying to deploy an ASP.NET 4.0 app to a Windows Server 2008 R2 server; do I Copy Web Site or...
Mar 04, 2014 09:48 PM|Ben_HFL|LINK
Hi DoctorWho,
yes, you cant use Frontpage Extnesion on Windows Server 2008 or above. As an alternative, you can use FTP tools or WebDeploy to publish your site. For FTP, you can download Filezilla and it is very easy to use it. :)
Affordable ASP.NET Hosting Solution in Europe
Member
100 Points
483 Posts
Re: Trying to deploy an ASP.NET 4.0 app to a Windows Server 2008 R2 server; do I Copy Web Site or...
Mar 05, 2014 10:17 AM|DoctorWho|LINK
I already have Filezilla, but haven't used it against this VM. I don't even know if the IT group has FTP enabled for that server - I'll have to check.
What is WebDeploy? Is it a part of VS 2012?
Member
60 Points
42 Posts
Re: Trying to deploy an ASP.NET 4.0 app to a Windows Server 2008 R2 server; do I Copy Web Site or...
Mar 05, 2014 10:35 PM|Ben_HFL|LINK
Hi DoctorWho,
When you use VS, you can deploy it with FTP or WebDeploy. Please read http://msdn.microsoft.com/en-us/library/dd465337(VS.100).aspx
Affordable ASP.NET Hosting Solution in Europe