Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
i'm getting this:
[SqlNullValueException: Data is Null. This method or property cannot be called on Null values.] System.Data.SqlClient.SqlBuffer.get_Int32() +4839015 System.Data.SqlClient.SqlDataReader.GetInt32(Int32 i) +38 umbraco.DataLayer.RecordsReaderAdapter`1.GetInt(String fieldName) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\datalayer\RecordsReaderAdapter.cs:285 umbraco.cms.businesslogic.template.Template.setupTemplate() +150 umbraco.cms.businesslogic.template.Template.GetAllAsList() +223 umbraco.loadTemplates.Render(XmlTree& tree) +49 umbraco.cms.presentation.tree.LoadTree(String treeAlias) +69 umbraco.cms.presentation.tree.Page_Load(Object sender, EventArgs e) +153 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 umbraco.BasePages.BasePage.OnLoad(EventArgs e) +15 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
when trying to add new templates. i can see in the db there are templates - as this site was working ok previously.
Hi Seanrock
Could you tell us a bit more about the version of Umbraco you experience this on and what database you're running it on etc.?
Can you describe how you're trying to add the templates?
/Jan
umbraco v 4.0.3 (Assembly version: 1.0.3625.27276)
right click on the templates node and 'create'. when i click the arrow to expand the templates node i can see in firebug this same exception.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Error when adding Templates
i'm getting this:
Data is Null. This method or property cannot be called on Null values.
when trying to add new templates. i can see in the db there are templates - as this site was working ok previously.
Hi Seanrock
Could you tell us a bit more about the version of Umbraco you experience this on and what database you're running it on etc.?
Can you describe how you're trying to add the templates?
/Jan
umbraco v 4.0.3 (Assembly version: 1.0.3625.27276)
right click on the templates node and 'create'. when i click the arrow to expand the templates node i can see in firebug this same exception.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.