Hello
I've an application with COntent Managment Server , and when I try execute that APP showme this error:
Object reference not set to an instance of an object.
The code is this
foreach(Microsoft.ContentManagement.Publishing.ChannelItem menuItem in ApplicationManager.channelRoot.AllChildren)
The properties:
public static Channel channelRoot
{
get{ return (Channel) CmsHttpContext.Current.Searches.GetByPath(ConfigurationManager.cmsChannelRoot); }
}
public static string cmsChannelRoot
{
get{ return ConfigurationSettings.AppSettings["CmsRootChannel"];}
}
How i can to resolve this problem.
Daniel Vargas.
MCP - Microsoft Certified Professional
"El callar y escuchar es cosa de sabios por ello nuestro grito nace de silencio consciente fuerte y elocuente... vivir de manera diferente es morir siendo libre"
Elkin Ramirez-Kraken
My Blog