<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Silverlight Faults</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Silverlight Faults</description>
  <pubDate>Fri, 10 Apr 2026 23:08:03 -700</pubDate>
  <lastBuildDate>Thu, 03 Sep 2009 08:01:51 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1452</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Silverlight Faults : I had forgotten about the debug...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1452&amp;PID=5317#5317</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=308" rel="nofollow">skingaby</a><br /><strong>Subject:</strong> 1452<br /><strong>Posted:</strong> 03-Sep-2009 at 8:01am<br /><br />I had forgotten about the debug log on the server.  It has been very helpful today in debugging the server-side failures.  Thanks!]]>
   </description>
   <pubDate>Thu, 03 Sep 2009 08:01:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1452&amp;PID=5317#5317</guid>
  </item> 
  <item>
   <title>Silverlight Faults : We really are looking to provide...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1452&amp;PID=5305#5305</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1452<br /><strong>Posted:</strong> 01-Sep-2009 at 10:56am<br /><br />We really are looking to provide better exception information, it's just not that easy. <DIV>&nbsp;</DIV><DIV>During debugging / troubleshooting I find two things really helpful - </DIV><UL><LI>The debug log generated on the server.&nbsp; If the exception occurred during server processing the full exception information will normally be logged.&nbsp; If you encounter EF or database errors, the log will likely have the details needed.</LI><LI>Opening EntityService.svc from the browser.&nbsp; We don't provide service metadata, but if the page opens without errors then you at least know that the service can start.&nbsp; If an error is shown it will usually be very helpful.&nbsp; So many different things can cause the service to not even start, and the messages received by the client won't usually help diagnose the problem.</LI></UL>]]>
   </description>
   <pubDate>Tue, 01 Sep 2009 10:56:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1452&amp;PID=5305#5305</guid>
  </item> 
  <item>
   <title>Silverlight Faults : Ah hah.  Well.  That shuts that...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1452&amp;PID=5303#5303</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=308" rel="nofollow">skingaby</a><br /><strong>Subject:</strong> 1452<br /><strong>Posted:</strong> 01-Sep-2009 at 10:43am<br /><br />Ah hah.  Well.  That shuts that down then, doesn't it.  I was hoping this trick would magically provide me with better exception tracing.  It is proving to be VERY troublesome to debug the Silverlight / Client / Server / Ideablade / EF / Oracle stack.  I was hoping to get a clue, but it sounds like you're a step ahead and the errors we have been seeing may be the best we can get.]]>
   </description>
   <pubDate>Tue, 01 Sep 2009 10:43:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1452&amp;PID=5303#5303</guid>
  </item> 
  <item>
   <title>Silverlight Faults : DevForce Silverlight already uses...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1452&amp;PID=5300#5300</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1452<br /><strong>Posted:</strong> 01-Sep-2009 at 10:09am<br /><br />DevForce Silverlight already uses a fault behavior and sets the includeExceptionDetailInFaults flag to true.&nbsp; That's why you get any exception information at all on the client, even if the information sometimes seems a bit paltry.&nbsp; We actually used the MSDN library article you linked for guidance when we wrote our behavior.&nbsp; Unless your implementation does something above and beyond that described in the article, then you won't gain anything.&nbsp; If you do want to use your implementation, you'll need to remove the DevForce IdeaBlade.Core.Wcf.Extensions.SilverlightFaultBehavior before adding yours.<DIV>&nbsp;</DIV><DIV>So maybe the question is, how do we improve the exception information received on the client?&nbsp; The EntityServerException, which almost any server-side exception is wrapped in, may not be capturing&nbsp;all the inner exception information.&nbsp; We also have the problem that an exception received on the client can be re-thrown (sometimes more than once), so the stack trace becomes fairly unusable.&nbsp; Another complication is that frequently many errors manifest as "Server not found".&nbsp; This is frustrating, but from the client's perspective it's true - it can't communicate with the server and usually the underlying CommunicationException doesn't explain why.&nbsp; Any errors that occur while a response is sent to the client - usually serialization errors - also don't provide useful exception information.</DIV><DIV>&nbsp;</DIV><DIV>Do you have any specific areas where you'd like to see better exception detail?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 01 Sep 2009 10:09:59 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1452&amp;PID=5300#5300</guid>
  </item> 
  <item>
   <title>Silverlight Faults : P.S.  Where can we add the  &amp;lt;serviceDebug...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1452&amp;PID=5296#5296</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=308" rel="nofollow">skingaby</a><br /><strong>Subject:</strong> 1452<br /><strong>Posted:</strong> 01-Sep-2009 at 8:34am<br /><br />P.S.  Where can we add the <table width="99%"><tr><td><pre class="BBcode">&lt;serviceDebug includeExceptionDetailInFaults="true"/&gt;</pre></td></tr></table>]]>
   </description>
   <pubDate>Tue, 01 Sep 2009 08:34:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1452&amp;PID=5296#5296</guid>
  </item> 
  <item>
   <title>Silverlight Faults : MSDN Magazine has an article this...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1452&amp;PID=5295#5295</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=308" rel="nofollow">skingaby</a><br /><strong>Subject:</strong> 1452<br /><strong>Posted:</strong> 01-Sep-2009 at 8:33am<br /><br />MSDN Magazine has an article this month about handling Silverlight Faults.  It references the MSDN site: <a href="http://msdn.microsoft.com/en-us/library/dd470096%28VS.95%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/dd470096(VS.95).aspx</a>.<br />This code provides a simple Fault Behavior.  However, when I try to implement it, I get the dreaded Not Found error.  <br />Can we implement this?<br />Here's the Shell.Web's Web.config that doesn't work:<br /><table width="99%"><tr><td><pre class="BBcode">&lt;system.serviceModel&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;serviceHostingEnvironment aspNetCompatibilityEnabled="false" /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;extensions&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;behaviorExtensions&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;add name="silverlightFaults"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type="Png.Silverlight.Behaviors.SilverlightFaultBehavior, Png.Silverlight.Behaviors.FaultBehavior"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/behaviorExtensions&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/extensions&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;diagnostics&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;messageLogging logEntireMessage="true"&gt;&lt;/messageLogging&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/diagnostics&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;behaviors&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;endpointBehaviors&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;behavior name="SilverlightFaultBehavior"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;silverlightFaults/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/behavior&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/endpointBehaviors&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/behaviors&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;services&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;service name="EntityService"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;endpoint address="" binding="customBinding" bindingConfiguration="customBinaryBinding" contract="IdeaBlade.EntityModel.IEntityServiceContract" behaviorConfiguration="SilverlightFaultBehavior"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/service&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;service name="IdeaBlade.EntityModel.Server.EntityServer"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;endpoint address="" binding="customBinding" bindingConfiguration="customBinaryBinding" contract="IdeaBlade.EntityModel.IEntityServerContract" behaviorConfiguration="SilverlightFaultBehavior"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/service&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/services&gt;</pre></td></tr></table><br /><br />]]>
   </description>
   <pubDate>Tue, 01 Sep 2009 08:33:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1452&amp;PID=5295#5295</guid>
  </item> 
 </channel>
</rss>