base {System.SystemException} = {"The type initializer for
'umbraco.cms.businesslogic.CMSNode' threw an exception."} Type :
System.TypeInitializationException
Inner Exception : {"Length cannot be less than zero.\r\nParameter name: length"} at umbraco.cms.businesslogic.CMSNode.get_SqlHelper()
at umbraco.cms.businesslogic.member.Member.GetAllAsList() at ITNSource.Common.Code.News.SalesforceHelper.CloseOpportunities()
I am using Umbraco version 4.9 . Can't upgrade at the moment due to lot of project dependencies.
Please suggest if I am missing any config entry or something else.
I was able to resolve the error. Looks like some of the Umbaco assemblies were not included in the project. After adding those (controls.dll and some uComponents dlls) as reference, I was able to run my apis correctly.
However, I need a little suggestion now.
Should I use uQuery.GetMember().GetPropertyValue
OR
ProfileBase.Create().GetPropertyValue() to extract property values for my members.
System.TypeInitializationException - umbraco.cms.businesslogic.CMSNode
Hello,
I am trying to do a
or
but I am getting below error -
I am using Umbraco version 4.9 . Can't upgrade at the moment due to lot of project dependencies. Please suggest if I am missing any config entry or something else.
~ Aparna
I was able to resolve the error. Looks like some of the Umbaco assemblies were not included in the project. After adding those (controls.dll and some uComponents dlls) as reference, I was able to run my apis correctly.
However, I need a little suggestion now. Should I use
uQuery.GetMember().GetPropertyValue
ORProfileBase.Create().GetPropertyValue()
to extract property values for my members.~ Aparna ...
is working on a reply...