|
| Exceptions from roller\rss.ashx |
 |
Fri, 18 Aug 2006 08:09:45 +000 |
Hi,
I've a new installation of 2.1 and whether I aggregate 1 or more feeds in the
Roller I find that when I come to click on the roller\rss.ashx to get the RSS
for the aggregated feeds I always get an exception.
I've tried changing which feeds I aggregate but it seems to make no difference.
Here's the exception;
Path: /CommunityServer/roller/rss.ashx as HTTP GET
Referrer
Message A non zero-length string is required.
System.ArgumentException: A non zero-length string is required.
at Rss.RssChannel..ctor(String title, String description, Uri link)
at CommunityServer.Reader.Components.RollerRssHandler.ProcessRequest(HttpContext
context)
at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.I
ExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
It looks like CS is having trouble constructing an RssChannel instance but, as
far as I can see, for the RSS Channel that I'm aggregating it does have a title,
description and link (all non-zero length) so I'm not sure what's happening
there.
Anyone got any ideas? I notice that this has been posted on the forum before but
didn't find a solution for it.
Thanks,
Mike
|
| Post Reply
|
| Re: Exceptions from roller\rss.ashx |
 |
Fri, 22 Sep 2006 22:38:30 +000 |
Finally managed to sort this one out.
What I found is that the exception that I originally quoted is actually related
to the "Site Description" that you set up on the administrative
settings for the site.
If you don't enter a site description then the RssChannel constructor will fail
when someone asks for the RSS for your Roller's aggregated feeds.
So, all I had to do was set up a site description and, even though I don't show
it on the site, that fixed the problem.
Hope that helps someone else in the future - it'd be good if CS logged a better
error than just this exception.
Mike
|
| Post Reply
|
|
|
|
|
|
|
|
|
|