Copied to clipboard

Flag this post as spam?

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


  • henock 3 posts 23 karma points
    Jun 24, 2011 @ 12:51
    henock
    0

    Running in Visual Studio from codeplex

    I am new for Umbraco, I downloaded the code from Code plex and I would like to run it from visual studio to play with it. But i don't where to start and what has to be in web Config.  So where could i start to look? What do i have to put in the config for connection string, hibernate or anything that helps me to make it running. 

  • Sjors Pals 617 posts 270 karma points
    Jun 24, 2011 @ 13:39
    Sjors Pals
    0

    Normally it would just start if you run it with F5. Like the normal binaries it would start up with the install procedure.
    Did you already try that? 

  • henock 3 posts 23 karma points
    Jun 24, 2011 @ 14:14
    henock
    0

    I make my start up project on Umbraco.Cms.Web.UI. And run it with F5  the i get an errro  {"Cannot start a read-only unit of work as no factory is available for provider rw-nhibernate-01"}.

  • Sjors Pals 617 posts 270 karma points
    Jun 24, 2011 @ 15:43
    Sjors Pals
    0

    Are you running the V5 solution?

  • qingfeng 8 posts 27 karma points
    Jun 25, 2011 @ 02:45
    qingfeng
    0

    it would just start if you run it with F5. Like the normal binaries, it would start up with the install procedure.

  • henock 3 posts 23 karma points
    Jun 25, 2011 @ 05:46
    henock
    0

    Yes I am running V5 solution.

  • Gareth Horstmann 1 post 21 karma points
    Jul 12, 2011 @ 19:46
    Gareth Horstmann
    0

    I've been researching open source cms systems and decided to grab the source for Umbraco but when I ran the application I had the same issue. After searching for a long while and not getting anywhere I decided to debug the application. I found that there is a web.config file missing in the Umbraco.Cms.Web.UI/App_Data/Umbraco folder that has (what looks like) the configuration for the nhibernate - which is retrieved in the Build method of the Umbraco.Framework.Persistence.NHibernate.DependencyDemandBuilders.General class.

    So the question now is where does this missing web.config file come from as its not part of the source code on code plex? Is the file something that gets generated by another part of the system or can I grab a copy from somewhere?

    Thanks,

    Gareth

Please Sign in or register to post replies

Write your reply to:

Draft