Been a long time coming but I've finally gotten back to this issue. It had continued to generate massive amounts of logs.
I checked the main.config file. It was fine and the same as another CMS box that I knew was working. I wasn't able to use Reflector in this case however, identical code was used in two projects. One project triggered the error, the other did not, so I am assuming the core CMS files are ok. I tried installing the assemblies in the GAC. No change. In the end, it came down to two problems: <query valuea="Context:CurrentPage.Elements.GetElement(stf_navigation_title_overide).Value" operator="*=*" valueb="*[String:]*"> had to be changed to the following and the if else logic has been reversed: <query valuea="Context:CurrentPage.Elements.GetElement(stf_navigation_title_overide).Value *.Trim().Length*" operator="*>*" valueb="*Int:0*"> All instances of *[*Escape:Null*]* have been replaced with Escape:Null (sans brackets). As mentioned above, a second project on the same server with exactly the same templates works fine and does not trigger an error. Additionally, only the String: and Escape: render tags extensions had an issue. All instances of other extensions, such as Bool:... and Int:... were fine, with or without the brackets. So how that scenario is even possible, I do not know. At the moment, my work around is in testing and will hopefully go live in a week as long as no new errors occur. Hopefully this info helps others if anyone ever has it happen to them. Cheers, Gavin On 18 March 2009 09:49, Richard Hauer (5 Limes) <[email protected]>wrote: > > Hi Gavin, > > 1) Double-check the XML in the config file to ensure it's all valid > 2) Copy the rendering assembly out of the GAC and open using reflector > (http://www.red-gate.com/products/reflector/) and check the > EscapeLoader type in the namespace Reddot.CMS.Rendering.Objects > namespace isn't corrupted (it should all disassemble properly) > > Try removing all the assemblies from the GAC and re-adding them all > from the GAC directory at (i'm guessing) F:\Program Files\RedDot\CMS > \GAC > > Also, look for all uses of "Escape:" in your navigation templates, the > only supported escapes as at version 7.5 are: > > - null/Null > - NewLine > - Br > - Tab > - Space > - NbSp > - EmptyString > - OpenTag > - CloseTag > - CDataBegin > - CDataEnd > - BeginTag > - EndTag > - SingleTag > - String > - Text > - HtmlEncode > - HtmlDecode > > HTH. > > Regards, > Richard Hauer > ==================== > 5 Limes Pty Limited > www.5Limes.com.au > > > On Mar 17, 2:07 pm, Gavin Cope <[email protected]> wrote: > > Hi, > > Just wondering if anyone has seen this before. We're getting literally > Gigs > > of Navigation.log files being created with the following error repeated > > thousands and thousands of times over many days. > > <snip> > > 16032009_004956 Type: Error, Source: > > Reddot.CMS.Rendering.Objects.ObjectLoadManager, Message: Log TimeStamp > > 3/16/2009 - 12:49 AM > > > > Enviroment Information: > > > > OS Version Win32NT 5.2.3790.0 > > Machine Name <MACHINE_NAME> > > System Directory C:\WINDOWS\system32 > > User Domain Name <MACHINE_NAME> > > User Interactive False > > UserName <USERNAME> > > Version 1.1.4322.2407 > > Working Set 133111808 > > Current Directory C:\WINDOWS\system32 > > Current Trace: > > at System.Environment.GetStackTrace(Exception e) > > at System.Environment.GetStackTrace(Exception e) > > at System.Environment.get_StackTrace() > > at Reddot.CMS.ExceptionHandling.ExceptionManager.LogException(Object > > sender, Session session, Exception exception) > > at Reddot.CMS.Rendering.Objects.ObjectLoadManager.GetObject(String > > command) > > at Reddot.CMS.Rendering.Tags.IfTag.GetValidNode(XmlNode tag, > > ObjectLoadManager objectLoadManager) > > at Reddot.CMS.Rendering.Tags.IfTag.Render(RenderStream outputStream, > > TagProcessor tagProcessor, XmlNode tag, ObjectLoadManager > objectLoadManager, > > PageBuildContext context) > > at Reddot.CMS.Rendering.Tags.TagProcessor.ProcessTag(RenderStream > > outputStream, XmlNode subTag) > > at Reddot.CMS.Rendering.Tags.TagTools.ProcessTags(RenderStream > > outputStream, TagProcessor tagProcessor, XmlNode node) > > at Reddot.CMS.Rendering.Tags.IfTag.Render(RenderStream outputStream, > > TagProcessor tagProcessor, XmlNode tag, ObjectLoadManager > objectLoadManager, > > PageBuildContext context) > > at Reddot.CMS.Rendering.Tags.TagProcessor.ProcessTag(RenderStream > > outputStream, XmlNode subTag) > > at Reddot.CMS.Rendering.Tags.TagTools.ProcessTags(RenderStream > > outputStream, TagProcessor tagProcessor, XmlNode node) > > at Reddot.CMS.Rendering.Spots.XmlSpot.Render(String spotContent, > > RenderStream output, ObjectLoadManager objectLoadManager, > PageBuildContext > > context) > > at Reddot.CMS.Rendering.Spots.SpotProcessor.ProcessSpot(String > content, > > SpotTag spotTag, RenderStream outputStream) > > at Reddot.CMS.Rendering.PageBuilder.Render() > > at > > > Reddot.CMS.Rendering.NavigationRenderFunction.RenderNavigationLevel(IPageIndexList > > levelList, Int32 levelDepth, StringBuilder output, Boolean > > isSelectedSubPage) > > at Reddot.CMS.Rendering.SubRenderer.ExecuteThread() > > at Reddot.CMS.Rendering.SubRenderer.Execute() > > at > > > Reddot.CMS.Rendering.NavigationRenderFunction.RenderNavigationLevel(IPageIndexList > > levelList, Int32 levelDepth, StringBuilder output, Boolean > > isSelectedSubPage) > > at Reddot.CMS.Rendering.SubRenderer.ExecuteThread() > > at Reddot.CMS.Rendering.SubRenderer.Execute() > > at > > > Reddot.CMS.Rendering.NavigationRenderFunction.RenderNavigationLevel(IPageIndexList > > levelList, Int32 levelDepth, StringBuilder output, Boolean > > isSelectedSubPage) > > at Reddot.CMS.Rendering.SubRenderer.ExecuteThread() > > > > CLR Version: v1.1.4322 > > Assembly Name: Reddot.CMS.Rendering, Version=7.5.2.16, Culture=neutral, > > PublicKeyToken=314c8df3f094c701 > > Assembly Location: > > > c:\windows\assembly\gac\reddot.cms.rendering\7.5.2.16__314c8df3f094c701\reddot.cms.rendering.dll > > Global Assembly Cache: True > > Assembly FileVersion: 7.5.2.16 > > Assembly Version: 7.5.2.16 > > > > Exception Information: > > > > Type: > > System.IndexOutOfRangeException > > > > Message: > > Extension Type "[Escape:" not found! > > Please check your main.config file! > > > > StackTrace: > > at > > > Reddot.CMS.Rendering.RenderExtensions.GetRenderExtension(RenderExtensionType > > extensionType, String name) > > at Reddot.CMS.Rendering.Objects.ObjectLoadManager.GetObject(String > > command) > > > > Source: > > Reddot.CMS.Rendering > > </snip> > > > > I checked the main.config file and the only reference to Escape: is as > > follows: > > <Loader name="Escape:" typename="EscapeLoader" > > namespace="Reddot.CMS.Rendering.Objects" filename="F:\Program > > Files\RedDot\CMS\GAC\Reddot.CMS.Rendering.dll" /> > > > > Nothing has changed in that file, indeed nothing has changed on the box > > AFAIK. There hasn't even been any major changes to the projects on that > box. > > It's only a DEV box but I'm curious to know what's going on and what's > > causing it. Anyone have any ideas? > > > > Cheers, > > > > Gavin > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups > "RedDot CMS Users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<reddot-cms-users%[email protected]> > For more options, visit this group at > http://groups.google.com/group/RedDot-CMS-Users?hl=en > -~----------~----~----~----~------~----~------~--~--- > > -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
