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.
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"}.
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?
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.
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?
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"}.
Are you running the V5 solution?
it would just start if you run it with F5. Like the normal binaries, it would start up with the install procedure.
Yes I am running V5 solution.
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
is working on a reply...