Welcome Guest Search | Active Topics
ActivityRSS.aspx broken? Options · View
jonoogle
Posted: 28 Nov 10


Posts: 2
Location: Italy
This doesn't work anymore?
http://www.runsaturday.com/RSS/ActivityRSS.aspx?ActivityId=42882
in particular:

[InvalidOperationException: Unable to generate a temporary class (result=1).
error CS0200: Property or indexer 'SlodgeRoutesTools.ChartPoint.Course_OriginalPolylineIndex' cannot be assigned to -- it is read only
error CS0200: Property or indexer 'SlodgeRoutesTools.ChartPoint.Course_OriginalPointIndex' cannot be assigned to -- it is read only
]
System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence) +1010
System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies) +1902
System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence) +74
System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace) +105
System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace) +489
System.Xml.Serialization.XmlSerializer..ctor(Type type) +6
RSS_ActivityRSS.GenerateFeed(Int32 viewingUserId) +477
SlodgeRoutesTools.RSS.BaseRSSPage.DoPageLoad(Object sender, EventArgs e) in C:\Users\Stuart\Documents\Visual Studio 2010\Projects\DNN\SlodgeRoutesTools\RSS\BaseRSSPage.cs:21
SlodgeRoutesTools.RSS.BaseSyndicationPage.Page_Load(Object sender, EventArgs e) in C:\Users\Stuart\Documents\Visual Studio 2010\Projects\DNN\SlodgeRoutesTools\RSS\BaseSyndicationPage.cs:14
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

Instead the JSON version is ok.
http://www.runsaturday.com/RSS/ActivityJSON.aspx?ActivityId=42882

Hollywoof
Posted: 28 Nov 10


Posts: 4,379
Location: United Kingdom
Looks like you are right - sorry!

Now shall I fix it or shall I retire the RSS interface for activities?

All the apps I now write are at the JSON level - is anyone using the RSS API for individual individual activities?

Thanks for pointing this out!

Stuart

If you like the site: become a facebook fan, rate us on SportTracks, and talk about us everywhere!
jonoogle
Posted: 28 Nov 10


Posts: 2
Location: Italy
Hi Stuart,
I'm "thinking" of using it and the XML interface would be easier for me to deal with since I already deal with .tcx files which are pretty similar to your output. If it's not a big deal...

jon
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Clean Slate theme by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net

Recent Photos

Recent PBs

Aonikenk 0:55:19
14km Road - 14km de Belvédère
drumball 4:08:13
45k - Great Ocean Road Real Estate Marathon
1bubobubo 0:27:32
6.2k - Žehrovický Kalspotkros
Monika 2:56:58
36k/18k - ŠUTR 54
index 0:24:53
6.1k - 1. LBP 2013 - Pisárky
Luky 3:29:11
Marathon - Volkswagen Maraton Praha
1bubobubo 3:23:26
Marathon - Prague Marathon 2013
runaway_chris 1:38:58
0.4k/22k/5k - 11. MRRC Stadt-Triathlon München

Recent Videos