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
Create a new WebForm Project from the installed VS 2012 Templates.
Remove everything from the solution except Properties and References.
From Package Manager Console run "PM > Install-Package UmbracoCms"
Rightclick on the Project and select Properties. Under the WebTab make sure the project uses Local IIS Web Server and "Create Virtual Directory".
Save Project and run with F5. VS 2012 Asks if you wold like to modify Web.config file for debugging, click OK.
Now follow the Umbraco installationssteps from your webbrowser.
On Database Configuration, choose 'SQL CE 4 database'.
On starterkits choose empty template.
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
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.
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
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
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...
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.
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?
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.
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'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.
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
Setup uSiteBuilder to be able to easily build DocumentTypes and Templates etcetera from Code
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.
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
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.
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 :
any ideas?
Any joy with this? I'm getting to exactly the same point trying to install v 7 in VS2013 with Sql CE. *sigh*
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
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
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.
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
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
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
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
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
Have logged report http://issues.umbraco.org/issue/U4-4723 for this.
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.
Hi,
I get exactly the same issue.
Visual Studio 2013 Update 2
Umbraco 7.1.6
Windows 8.1 64 pro
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.
Hi Blake
Have you tried looking at the link to SO in this issue on tracker? http://issues.umbraco.org/issue/U4-4723
/Jan
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.
Hi Blake
Glad to hear that - Happy coding :)
/Jan
is working on a reply...