Page 1 of 1

Realtime issue

Posted: Thu 05 Aug 2010 11:29 pm
by serowe
I've looked through the previous discussion on the Cumulus Realtime pages but can't find this one discussed.

Trying to run CumulusRealTime.html results in the page loading the gauges and then 'loading data' but nothing more - it eventually generates an error for the page:

Code: Select all

Message: Unhandled Error in Silverlight 2 Application [net_uri_BadFormat]
Arguments: 
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.50524.0&File=System.dll&Key=net_uri_BadFormat   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at System.Uri..ctor(String uriString)
   at CumulusRealtime.Page.timer_Tick(Object sender, EventArgs e)
   at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Line: 1
Char: 1
Code: 0
URI: http://mtb-images.dyndns.org:1088/weather/CumulusRealTime.html
However - and this is the queer thing - I can run Realtime live from other sites! I have tried the clientaccesspolicy.xml fix - that didn't work.

This isn't a biggy for me, but as far as I can see, I have the XML URL settings correct (I have tried remote web site access, local and none work).

The web site is served from a W2008R2 server located here at home so I can access it from either outside (ie via the net) or locally or directly (by IP or localhost).

Re: Realtime issue

Posted: Fri 06 Aug 2010 7:04 am
by steve
You may have changed it since you posted, but your realtime.txt URL is currently

<realtimeURL>/weather/realtime.txt</realtimeURL>

It needs to be a full URL with http:// on it. Silverlight runs in the browser - on your PC, so it has no idea where that URL is supposed to be pointing. If you correct that I'll have another look, assuming it still doesn't work.

Re: Realtime issue

Posted: Fri 06 Aug 2010 10:26 am
by steve
Seems to be working now, with the correct URL in there?

Re: Realtime issue

Posted: Fri 06 Aug 2010 9:53 pm
by serowe
Sorry - forgot this one - yes. Because that URL is physically located here at home I was hoping/trying to get it to run so that I didn't have to make a call to the external net - doesn't seem like it can be done that way though.

Now just trying to get daj's SQL history script to run (and probably a similar issue with it :( )