Error related to News Feed

Topics: General, MVC, Standard packages, Troubleshooting
Sep 5, 2011 at 2:55 PM

Hi, I am using Composite and found it quite useful for what I need. The forum has been of great help in solving the most of my queries but I cannot figure this one out.

I have installed the Composite.News package and managed to create different news articles. The News Article and News Latest functions were displaying well, but when I try to access the news feed by clicking on the link, the following error is given:

HttpException unhandled by useer code : "The incoming request does not match any route."

 

public class MvcHttpHandlerWrapper : MvcHttpHandler
	{
		public void ProcessRequest(HttpContextBase httpContext)
		{
			base.ProcessRequest(httpContext); //error given here
		}
	}

 

One of the packages installed is the Composite.AspNet.MvcPlayer which is also appearing on the webpage and I started the website using the Omnicorp sample website.

Am I missing something? Thanks.

Sep 7, 2011 at 2:48 PM

Update: I restarted the whole website without installing the MVC Plugin and used the Empty version of the CMS instead. The News articles are working fine and dandy. I did try to uninstall the MVC plugin in the old installation but error still persisted as it was conflicting with the Omnicorp News package.

Coordinator
Sep 8, 2011 at 8:50 AM

Hello,

Composite.AspNet.MvcPlayer uses PathInfo to determine corresponding route and Composite.News uses PathInfo to show News details, so you can not use these two functions on the same page as when you will try to view some News details  and your URL will be like this http://localhost/Home/News.aspx/2011/09/08/MyNews , the MVC player will try to find corresponding route by this path "2011/09/08/MyNews"   and error will occur "The incoming request does not match any route."