seeing as umbraco is displaying content from the XML file on the file system. If the database goes down, i notice its still throws an error.I am working on a website at the moment, that does not really do any DB inserts from the WWW. I was hoping that if i stopped the DB, the website would still run and display content from the XML file. but it seems like its expecting a Database connection regardless.
Does anyone know why the umbraco WWW always looks for a DB connection? what is it trying to query for? when everything is already in the XML?
If you're not using the media API then you can run it without a database (and I think that 4.5.2 with media caching will kind of still work without the database), but you'll run into problems if the app pool recycles as application start loads up a bunch of info from the database (at least, i'm pretty sure it does).
Shannon and I are working on a product that will allow you to run Umbraco 100% without a database which is called Snapshot. It's still under development (and no we don't have a release time frame) so keep an eye on http://farmcode.org/page/Snapshot.aspx (and the blog) for announcements.
If you're not using the media API then you can run it without a database (and I think that 4.5.2 with media caching will kind of still work without the database), but you'll run into problems if the app pool recycles as application start loads up a bunch of info from the database (at least, i'm pretty sure it does).
Shannon and I are working on a product that will allow you to run Umbraco 100% without a database which is called Snapshot. It's still under development (and no we don't have a release time frame) so keep an eye on http://farmcode.org/page/Snapshot.aspx (and the blog) for announcements.
If you're not using the media API then you can run it without a database (and I think that 4.5.2 with media caching will kind of still work without the database), but you'll run into problems if the app pool recycles as application start loads up a bunch of info from the database (at least, i'm pretty sure it does).
Shannon and I are working on a product that will allow you to run Umbraco 100% without a database which is called Snapshot. It's still under development (and no we don't have a release time frame) so keep an eye on http://farmcode.org/page/Snapshot.aspx (and the blog) for announcements.
If you're not using the media API then you can run it without a database (and I think that 4.5.2 with media caching will kind of still work without the database), but you'll run into problems if the app pool recycles as application start loads up a bunch of info from the database (at least, i'm pretty sure it does).
Shannon and I are working on a product that will allow you to run Umbraco 100% without a database which is called Snapshot. It's still under development (and no we don't have a release time frame) so keep an eye on http://farmcode.org/page/Snapshot.aspx (and the blog) for announcements.
If you're not using the media API then you can run it without a database (and I think that 4.5.2 with media caching will kind of still work without the database), but you'll run into problems if the app pool recycles as application start loads up a bunch of info from the database (at least, i'm pretty sure it does).
Shannon and I are working on a product that will allow you to run Umbraco 100% without a database which is called Snapshot. It's still under development (and no we don't have a release time frame) so keep an eye on http://farmcode.org/page/Snapshot.aspx (and the blog) for announcements.
thanks for the reply. however im not convinced that it does run, I tried stopping the database on a website that does not have any forms at all to insert content, all we are doing is displaying content entered in the CMS. When i stopped the DB, i get a DB connection exception on every single page of the websit, which is strange cause logically it should work without a DB since everything is already in the XML right? Could it be the Canvas mode stuff.. ?
my main aim is so that the website runs witout error if say the DB server crashes or whatever reason. Obviously the CMS would not be accsible at this time, but the main thing is for the front end to have as much uptime as possible.
snapshot looks great, looking forward to it, brilliant idea!
yeah didnt think they would, gues im only puzzled why it does as all content it needs is sitting right on the file system. including the xslt files that are loaded by the macros. i thought maybe it does it for canvas editing as content would be inserted into the DB for that one. but not so sure either,
Umbraco Exception (DataLayer): SQL helper exception in ExecuteReader
at umbraco.DataLayer.SqlHelper`1.ExecuteReader(String commandText,
IParameter[] parameters) in
d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\datalayer\SqlHelper.cs:line
244 at
umbraco.cms.businesslogic.web.Domain.b__0() in
d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\web\Domain.cs:line
141 at
umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey,
Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback
refreshAction, CacheDependency cacheDependency, TimeSpan timeout,
GetCacheItemDelegate`1 getCacheItem) in
d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\cache\Cache.cs:line
147 at
umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey,
Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback
refreshAction, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) in
d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\cache\Cache.cs:line
132 at
umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey,
Object syncLock, CacheItemRemovedCallback refreshAction, TimeSpan
timeout, GetCacheItemDelegate`1 getCacheItem) in
d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\cache\Cache.cs:line
125 at
umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey,
Object syncLock, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
in
d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\cache\Cache.cs:line
118 at umbraco.cms.businesslogic.web.Domain.GetDomains() in
d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\web\Domain.cs:line
137 at umbraco.cms.businesslogic.web.Domain.GetDomain(String
DomainName) in
d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\web\Domain.cs:line
162 at umbraco.cms.businesslogic.web.Domain.Exists(String
DomainName) in
d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\web\Domain.cs:line
179 at umbraco.requestHandler.CreateXPathQuery(String url,
Boolean checkDomain) in
d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\requestHandler.cs:line
86 at umbraco.requestHandler..ctor(XmlDocument _umbracoContent,
String url) in
d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\requestHandler.cs:line
166 at umbraco.UmbracoDefault.Page_PreInit(Object sender,
EventArgs e) in
d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\default.aspx.cs:line
113 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Page.OnPreInit(EventArgs e) at System.Web.UI.Page.PerformPreInit() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Thats what im getting, im not in canvas mode or anything. just trying to load a page up. There are some XSLT macros on the page, thats about it.
running umbraco without a database.
hi all,
seeing as umbraco is displaying content from the XML file on the file system. If the database goes down, i notice its still throws an error.I am working on a website at the moment, that does not really do any DB inserts from the WWW. I was hoping that if i stopped the DB, the website would still run and display content from the XML file. but it seems like its expecting a Database connection regardless.
Does anyone know why the umbraco WWW always looks for a DB connection? what is it trying to query for? when everything is already in the XML?
Thanks!
Felix
If you're not using the media API then you can run it without a database (and I think that 4.5.2 with media caching will kind of still work without the database), but you'll run into problems if the app pool recycles as application start loads up a bunch of info from the database (at least, i'm pretty sure it does).
Shannon and I are working on a product that will allow you to run Umbraco 100% without a database which is called Snapshot. It's still under development (and no we don't have a release time frame) so keep an eye on http://farmcode.org/page/Snapshot.aspx (and the blog) for announcements.
If you're not using the media API then you can run it without a database (and I think that 4.5.2 with media caching will kind of still work without the database), but you'll run into problems if the app pool recycles as application start loads up a bunch of info from the database (at least, i'm pretty sure it does).
Shannon and I are working on a product that will allow you to run Umbraco 100% without a database which is called Snapshot. It's still under development (and no we don't have a release time frame) so keep an eye on http://farmcode.org/page/Snapshot.aspx (and the blog) for announcements.
If you're not using the media API then you can run it without a database (and I think that 4.5.2 with media caching will kind of still work without the database), but you'll run into problems if the app pool recycles as application start loads up a bunch of info from the database (at least, i'm pretty sure it does).
Shannon and I are working on a product that will allow you to run Umbraco 100% without a database which is called Snapshot. It's still under development (and no we don't have a release time frame) so keep an eye on http://farmcode.org/page/Snapshot.aspx (and the blog) for announcements.
If you're not using the media API then you can run it without a database (and I think that 4.5.2 with media caching will kind of still work without the database), but you'll run into problems if the app pool recycles as application start loads up a bunch of info from the database (at least, i'm pretty sure it does).
Shannon and I are working on a product that will allow you to run Umbraco 100% without a database which is called Snapshot. It's still under development (and no we don't have a release time frame) so keep an eye on http://farmcode.org/page/Snapshot.aspx (and the blog) for announcements.
If you're not using the media API then you can run it without a database (and I think that 4.5.2 with media caching will kind of still work without the database), but you'll run into problems if the app pool recycles as application start loads up a bunch of info from the database (at least, i'm pretty sure it does).
Shannon and I are working on a product that will allow you to run Umbraco 100% without a database which is called Snapshot. It's still under development (and no we don't have a release time frame) so keep an eye on http://farmcode.org/page/Snapshot.aspx (and the blog) for announcements.
hi slace,
thanks for the reply. however im not convinced that it does run, I tried stopping the database on a website that does not have any forms at all to insert content, all we are doing is displaying content entered in the CMS. When i stopped the DB, i get a DB connection exception on every single page of the websit, which is strange cause logically it should work without a DB since everything is already in the XML right? Could it be the Canvas mode stuff.. ?
my main aim is so that the website runs witout error if say the DB server crashes or whatever reason. Obviously the CMS would not be accsible at this time, but the main thing is for the front end to have as much uptime as possible.
snapshot looks great, looking forward to it, brilliant idea!
holy quintuple post, batman!
Wow, forum freakout :/
Macros may also go to the database I'm not 100% sure as I try to stay away from the macro engine :P. I don't *think* they hit the database though.
yeah didnt think they would, gues im only puzzled why it does as all content it needs is sitting right on the file system. including the xslt files that are loaded by the macros. i thought maybe it does it for canvas editing as content would be inserted into the DB for that one. but not so sure either,
If you're doing editing, either via Canvas or via the back office you will have to have a database, that's what it writes to.
The stack trace of any error should give you an indication as to what is accessing the database
Umbraco Exception (DataLayer): SQL helper exception in ExecuteReader
at umbraco.DataLayer.SqlHelper`1.ExecuteReader(String commandText, IParameter[] parameters) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\datalayer\SqlHelper.cs:line 244
at umbraco.cms.businesslogic.web.Domain.b__0() in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\web\Domain.cs:line 141
at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\cache\Cache.cs:line 147
at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\cache\Cache.cs:line 132
at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemRemovedCallback refreshAction, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\cache\Cache.cs:line 125
at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\cache\Cache.cs:line 118
at umbraco.cms.businesslogic.web.Domain.GetDomains() in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\web\Domain.cs:line 137
at umbraco.cms.businesslogic.web.Domain.GetDomain(String DomainName) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\web\Domain.cs:line 162
at umbraco.cms.businesslogic.web.Domain.Exists(String DomainName) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\web\Domain.cs:line 179
at umbraco.requestHandler.CreateXPathQuery(String url, Boolean checkDomain) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\requestHandler.cs:line 86
at umbraco.requestHandler..ctor(XmlDocument _umbracoContent, String url) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\requestHandler.cs:line 166
at umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\default.aspx.cs:line 113
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Page.OnPreInit(EventArgs e)
at System.Web.UI.Page.PerformPreInit()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Thats what im getting, im not in canvas mode or anything. just trying to load a page up. There are some XSLT macros on the page, thats about it.
Is it a multi-domain site or have you at least set the domain in the cms?
its not a multi domain site, and i have not set the domain set in the cms. what does this do?
is working on a reply...