Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8901

Cache Items Live Site Error

$
0
0
Trying to access the live site cache and it gives me the following error:No MediaTypeFormatter is available to read an object of type 'IEnumerable`1' from content with media type 'text/html'.Source Error:Line 32: protected async Task ReloadData() Line 33: { Line 34: var keyList = ShowLiveSiteData ? await new LiveSiteDebugProcessor().GetAllCacheItemsAsync() : CacheHelper.GetCacheItemRows(); Line 35: Line 36: keyList = keyList?.OrderBy(g =@ g.Key); Source File: E:\Hosting\dedev-de-k13rah-test\admin\CMS\CMSModules\System\Debug\System_DebugCacheItems.aspx.cs Line: 34Stack Trace: [UnsupportedMediaTypeException: No MediaTypeFormatter is available to read an object of type 'IEnumerable1' from content with media type 'text/html'.] System.Net.Http.HttpContentExtensions.ReadAsAsync(HttpContent content, Type type, IEnumerable1 formatters, IFormatterLogger formatterLogger, CancellationToken cancellationToken) +933 System.Net.Http.HttpContentExtensions.ReadAsAsync(HttpContent content, Type type, IEnumerable1 formatters, IFormatterLogger formatterLogger) +87 System.Net.Http.HttpContentExtensions.ReadAsAsync(HttpContent content, IEnumerable1 formatters) +100 CMS.Base.Web.UI.

Viewing all articles
Browse latest Browse all 8901

Trending Articles