Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • mrwidde 2 posts 50 karma points
    Jan 06, 2013 @ 21:42
    mrwidde
    1

    Umbraco for beginners: Setup Umbraco on localhost together with VS 2012 and uSiteBuilder

    Hi posted this on stackoverflow and some guy told me i should post this on your wiki. But i didn't find out how to do that in an easy way. Maybe some admin could help me with this if its worth it.

    Introduction

    Spent last two days trying to get Umbraco to work with visual studio 2012,iis and some kind of pagebuilder. After following lots of guides including Umbraco 5 to later find out that Umbraco 5 is dead i got it to work.

    I am only doing this to help new Umbraco users like myself to get a good start in their developement.

    Setup Umbraco With VS 2012

    1. Create a new WebForm Project from the installed VS 2012 Templates.
    2. Remove everything from the solution except Properties and References.
    3. From Package Manager Console run "PM > Install-Package UmbracoCms"
    4. Rightclick on the Project and select Properties. Under the WebTab make sure the project uses Local IIS Web Server and "Create Virtual Directory".
    5. Save Project and run with F5. VS 2012 Asks if you wold like to modify Web.config file for debugging, click OK.
    6. Now follow the Umbraco installationssteps from your webbrowser.
    7. On Database Configuration, choose 'SQL CE 4 database'.
    8. On starterkits choose empty template.
    9. First step completed. Now we just need to add uSiteBuilder to our project.

    Setup uSiteBuilder to be able to easily build DocumentTypes and Templates etcetera from Code

    1. Download uSiteBuilder.dll from http://usitebuilder.codeplex.com/releases/view/71768
    2. Add a reference to this dll in References inside your VS 2012 Project
    3. Copy uSiteBuilder.dll to the binfolder inside your project.
    4. Push F5, you will notice that the dll will add a reference to our dll in the web.config
    5. Follow uSiteBuilder guides below to build DocumentTypes(ordinary .cs classes) and Templates(master and nested masterpages)

    DocumentTypes - http://usitebuilder.vegaitsourcing.rs/tutorials?id=22389

    Templates - http://usitebuilder.vegaitsourcing.rs/tutorials?id=22391

    Finished

    When we have done all these steps we are ready to build Umbracosites from code with the help of uSiteBuilder.

    • Since we only downloaded the uSiteBuilder.dll and not the whole package with included vs2012 templates we have to add the classes(DocumentTypes) and Masterpages(Templates) ourselves.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 06, 2013 @ 22:06
    Jan Skovgaard
    0

    Hi mrwidde and welcome to our :)

    The person on stackoverflow was right, Umbraco related questions and tips etc. belong here on our.

    The above guide is really nice and it would be super awesome if you don't mind contributing this to the installation documentation, which is found here http://our.umbraco.org/documentation/Installation/ - You can make a pull request on github and grab the documentation here https://github.com/umbraco/Umbraco4Docs

    Cheers,
    Jan 

  • mrwidde 2 posts 50 karma points
    Jan 06, 2013 @ 23:02
    mrwidde
    0

    Hi Jan.

    I tried doing a pull request on github, i dont know if i did it right though :).

    Hopefully some people can find this guide helpfull.

  • nick brandwood 3 posts 23 karma points
    Jan 20, 2014 @ 16:11
    nick brandwood
    0

    Hi,

    Thanks for this guide, it got me close to getting this working with Umbraco 7.

    My first problem was that during the build, the system fails due to the ISA proxy server, even with bypass proxy for local sites checked. Putting http://localhost:xxxx/ in the sites to void proxy fixed this issue for now. Will have to see how to make this better.

    Then it asked for the license and to choose the database (I chose Sql Server CE 4.0).

    It started "configuring the server" and stopped when it was looking for ProfiledDbConection.cs

    Its currently for it looking at :

    c:\Code\github\SamSaffron\MiniProfiler\StackExchange.Profiling\Data\ProfiledDbConnection.cs
    

    any ideas?

  • Paul Tanswell 4 posts 25 karma points
    Apr 10, 2014 @ 14:48
    Paul Tanswell
    0

    Any joy with this? I'm getting to exactly the same point trying to install v 7 in VS2013 with Sql CE. *sigh*

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 10, 2014 @ 14:51
    Jan Skovgaard
    0

    Hi Paul and welcome to our :)

    Make sure you read the documentation on how to install umbraco - Are you trying to install from the source code? If so please don't - grab it either using nuget or by downloading it from http://our.umbraco.org/download

    Hope this helps.

    /Jan

  • Paul Tanswell 4 posts 25 karma points
    Apr 10, 2014 @ 14:56
    Paul Tanswell
    0

    Hi Jan,

    I have just gone through this tutorial: http://our.umbraco.org/documentation/installation/install-umbraco-with-nuget

    I have installed from nuget as in the above tut and started the site from within VS2013 and get an open file dialogue trying to find the above file from github...

    ideas?

    Thanks for replying so quickly by the way.

    /Paul

  • nick brandwood 3 posts 23 karma points
    Apr 10, 2014 @ 14:59
    nick brandwood
    0

    No Paul, I didn't get any further with this. I eventually gave up on the Umbraco system due to the utter lack of documentation or books on the system (at least v.6 or v.7). Sorry to not be able to help. It seems like an interesting solution too.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 10, 2014 @ 15:20
    Jan Skovgaard
    0

    Hi Nick

    Sorry to hear you gave up - And I'm sorry I first see this post again now but I get a lot of notification e-mails from our so sometimes I just delete most mail from my inbox.

    But have you checked the documentation from the link I posted in my answer to Paul?

    @Paul - Ok, did you have a look at the nuget installation guide? I'm not used to using nuget myself so could you perhaps post a screendump of the error message so I get the context?

    What system are you trying to install it on? And is it version 7.1.1?

    Cheers, Jan

  • Paul Tanswell 4 posts 25 karma points
    Apr 10, 2014 @ 15:34
    Paul Tanswell
    0

    Thanks for replying guys

    Everything is the latest version and the link you gave is the same link I gave ;)

    If I cancel out of the open file dialogue and just continue, it seems to work but it doesn't inspire confidence and I suspect that something somewhere is broken because of it. 

    I am installing on Windows 7 and it is the latest version of Umbraco in Nuget as of about an hour ago.

    /Paul

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 10, 2014 @ 15:46
    Jan Skovgaard
    0

    Hi Paul

    Aaah, sorry - missed your link for some weird reason :)

    What version of Visual studio are you using? And is nuget up to date?

    Perhpas you should report this on the issue tracker - Unfortunately there are sometimes some weird issues using nuget :-/

    /Jan

  • Paul Tanswell 4 posts 25 karma points
    Apr 10, 2014 @ 15:51
    Paul Tanswell
    1

    Visual Studio 2013 update 1 and nuget is up to date. I'll report it later when I get a chance.

    Here's the error/dialogue by the way:

     

     

    /Paul

  • Oliver Moore 2 posts 23 karma points
    Apr 18, 2014 @ 14:19
    Oliver Moore
    1

    Hi,

    FYI - I get exactly the same issue. If I procedded without defining the ProfiledDbCommand.cs then the umbraco backend was unavailable. Installed via NuGet onto VSExpress 2013.

    I "fixed" this by finding a copy of the .cs file here (though it doesn't match the compiled version: https://github.com/MiniProfiler/dotnet/blob/d58d4ad41d4052ed02b13f644a72f24a87f9cf3b/StackExchange.Profiling/Data/ProfiledDbTransaction.cs and then the umbraco backend will run up.

    Not very confidence inspiring when you're just starting out. Might try Umbraco 6 via WebPI or installing SQL Server Express rather than using SQL CE.

    Ols

     

  • Oliver Moore 2 posts 23 karma points
    Apr 18, 2014 @ 14:29
    Oliver Moore
    0

    Have logged report http://issues.umbraco.org/issue/U4-4723 for this.

  • GFoley83 4 posts 24 karma points
    May 27, 2014 @ 23:06
    GFoley83
    0

    3 months later and still no fix for this. Pretty shoddy customer support. Basically install via NuGet doesn't work when you want to use SQL CE.

  • Rafael 4 posts 24 karma points
    Aug 28, 2014 @ 17:03
    Rafael
    0

    Hi,

    I get exactly the same issue.

    Visual Studio 2013 Update 2

    Umbraco 7.1.6

    Windows 8.1 64 pro

  • Blake Watt (Clerke) 106 posts 351 karma points MVP 2x
    Nov 26, 2014 @ 03:51
    Blake Watt (Clerke)
    0

    I'm running into this issue too, just installed umbraco locally with nuget. Got 7.1.8 installed but when I hit F5 to run it, I now have to find the ProfiledDbConnection.cs file?? I do have the updated Nuget in Visual Studio Web Express 2012 on Windows 7.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 26, 2014 @ 06:07
    Jan Skovgaard
    0

    Hi Blake

    Have you tried looking at the link to SO in this issue on tracker? http://issues.umbraco.org/issue/U4-4723

    /Jan

  • Blake Watt (Clerke) 106 posts 351 karma points MVP 2x
    Nov 26, 2014 @ 14:28
    Blake Watt (Clerke)
    0

    Thanks Jan,

    I was able to download the .cs file that was posted earlier in the thread and point to that in VS and umbraco started right up.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 26, 2014 @ 15:38
    Jan Skovgaard
    0

    Hi Blake

    Glad to hear that - Happy coding :)

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft