Render Failed for component AFP.Content.Components.ContentPlaceHolder
Parsing error occurred in template 'Page-78-Region-main' -> Could not find file 'C:\WINDOWS\TEMP\afp\137\templates\cache.config'.
Content.RazorEngine37
at Content.RazorEngine37.RazorEngineTemplatingService.Parse(String Markup, Object Model, String UniqueKey)
at AFP.Content.WebControls.ContentControl.RenderContent(TemplateContentData Information, ICanvas Parent, Boolean Append)
at AFP.Content.Components.ContentPlaceHolder.oContentRegionControl_ItemDatabound(Object sender, ContentRegionItemEventArgs e)
at CMS.UI.WebControls.ContentRegion.InitialiseControls(ClientInformation oClientInformation)
at CMS.UI.WebControls.ContentRegion.InitRender(ClientInformation ClientInformation)
at AFP.Content.Components.ContentPlaceHolder.Render()
at AFP.Content.WebControls.ContentControl._Lambda$__5(IComponent x)Could not find file 'C:\WINDOWS\TEMP\afp\137\templates\cache.config'.
mscorlib
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.FinishInitUriString()
at System.Xml.XmlTextReaderImpl..ctor(String uriStr, XmlReaderSettings settings, XmlParserContext context, XmlResolver uriResolver)
at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext)
at System.Xml.Linq.XElement.Load(String uri, LoadOptions options)
at System.Xml.Linq.XElement.Load(String uri)
at Content.RazorEngine37.Caching.CachingProvider.AddOrUpdateCacheConfig(String Key, String ModelType, ICompiledTemplate Template)
at Content.RazorEngine37.Caching.CachingProvider._Closure$__4._Lambda$__8(String k)
at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
at Content.RazorEngine37.Caching.CachingProvider.CacheAssembly(String Key, String ModelTypeKey, ICompiledTemplate Template)
at Content.RazorEngine37.Caching.CachingProvider.CacheTemplate(ICompiledTemplate template, ITemplateKey key)
at RazorEngine.Templating.RazorEngineService.CompileAndCacheInternal(ITemplateKey key, Type modelType)
at RazorEngine.Templating.RazorEngineService.GetCompiledTemplate(ITemplateKey key, Type modelType, Boolean compileOnCacheMiss)
at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
at RazorEngine.Templating.DynamicWrapperService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass4.b__3(TextWriter writer)
at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
at RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(IRazorEngineService service, String name, Type modelType, Object model, DynamicViewBag viewBag)
at RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(IRazorEngineService service, String templateSource, String name, Type modelType, Object model, DynamicViewBag viewBag)
at Content.RazorEngine37.RazorEngineTemplatingService.Parse(String Markup, Object Model, String UniqueKey)