How to properly publish my first Umbraco site out of Visual Studio as a file system package
I am super excited already with the ease of installing and configuring umbraco between Visual Studio 2015 and the browser admin pages (when they load from Visual Studio). When I run my test site from Visual Studio, it displays a URL like the following after I hit CTRL + F5
How can I have my localhost site to be up and available all the time as a virtual site under IIS, without having to go into Visual Studio to press CTRL + F5 to run it?
Background:
I am using IIS in Windows 10
I installed UmbracoCMS as a NuGet package under Visual Studio 2015.
I included all my files into the project.
I did a build on the initial solution and now having fun managing Settings (i.e. Document Types and Stylesheets)
Go into IIS on Windows 10 and create a website and point it at your Umbraco project directory.
One thing to note - when pointing an IIS website at an Umbraco project you'll likely get file permission issues. The easiest way around this is to add Users account to the folder permissions and give it full access.
Thanks for the response, but I'm still stuck. Here is what I did.
I went into IIS, and created a website.
I pointed the site to my project folder...
c...\projects\02Umbraco
I then set IIS_IUSRS, an AppPool location, and IUSR, all to full control for the entire site.
but when I go to browse web site from IIS, I get the following server error....
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
If by "Users Account" you mean add my Umbraco administrative account, then what is the format for adding that under the security tab under the web site properties window?
Yes I completed all steps and now I am getting this error
Can't find a connection string with the name 'umbracoDbDSN'
It doesn't matter if my web.config file is included or excluded from the project. I even added a connection string through IIS to directly connect to my database table. Still same error.
I have a feeling the problem is solved once this is figured out.
Now that I think about it, I should of re-named this topic to "How to properly publish Umbraco site from Visual Studio as a local file system package". Sorry for the confusion and still looking for answers.
I did it! and once I published it as a file system package, I was able to point to that location via IIS as a web site. This article gave me the instructions I needed to complete the publishing part - https://msdn.microsoft.com/en-us/library/1y1404zt.aspx
Hopefully this can help another newbie out like me
Thank you for that tip! It's only day 3 for me in diving into installing, configuring and publishing Umbraco, and I already feel like a champ! Awesome CMS.
How to properly publish my first Umbraco site out of Visual Studio as a file system package
I am super excited already with the ease of installing and configuring umbraco between Visual Studio 2015 and the browser admin pages (when they load from Visual Studio). When I run my test site from Visual Studio, it displays a URL like the following after I hit CTRL + F5
How can I have my localhost site to be up and available all the time as a virtual site under IIS, without having to go into Visual Studio to press CTRL + F5 to run it?
Background:
Thanks!
Go into IIS on Windows 10 and create a website and point it at your Umbraco project directory.
One thing to note - when pointing an IIS website at an Umbraco project you'll likely get file permission issues. The easiest way around this is to add Users account to the folder permissions and give it full access.
Hope this gets you started.
Thanks for the response, but I'm still stuck. Here is what I did.
I pointed the site to my project folder...
I then set IIS_IUSRS, an AppPool location, and IUSR, all to full control for the entire site.
but when I go to browse web site from IIS, I get the following server error....
If by "Users Account" you mean add my Umbraco administrative account, then what is the format for adding that under the security tab under the web site properties window?
Thanks again
Also check and make sure in IIS that you have added default.aspx to the Default Document list
Yes I completed all steps and now I am getting this error
It doesn't matter if my web.config file is included or excluded from the project. I even added a connection string through IIS to directly connect to my database table. Still same error.
I have a feeling the problem is solved once this is figured out.
Now that I think about it, I should of re-named this topic to "How to properly publish Umbraco site from Visual Studio as a local file system package". Sorry for the confusion and still looking for answers.
I did it! and once I published it as a file system package, I was able to point to that location via IIS as a web site. This article gave me the instructions I needed to complete the publishing part - https://msdn.microsoft.com/en-us/library/1y1404zt.aspx
Hopefully this can help another newbie out like me
This is quite a handy "snippet" to have. Adds the ability to send any folder off to IIS EXPRESS. Just "right click" and go!
http://www.theoutfield.co.uk/blog/2011/03/easily-serve-any-folder-in-iis-express
Thank you for that tip! It's only day 3 for me in diving into installing, configuring and publishing Umbraco, and I already feel like a champ! Awesome CMS.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.