<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: HttpWebResponse.GetResponseStream() is null-http status code 500</title><link>http://forums.silverlight.net/forums/thread/66145.aspx</link><pubDate>Sat, 28 Jun 2008 09:55:23 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:66145</guid><dc:creator>vb7484</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/66145.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=66145</wfw:commentRss><description>&lt;p&gt;You need to catch the WebException that is thrown by HttpWebRequest.GetResponse. This exception includes useful info about Status, and the actual WebResponse that you&amp;#39;re after. Just read the MSDN page: http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: HttpWebResponse.GetResponseStream() is null-http status code 500</title><link>http://forums.silverlight.net/forums/thread/64117.aspx</link><pubDate>Mon, 23 Jun 2008 08:46:39 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:64117</guid><dc:creator>Yi-Lun Luo - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/64117.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=64117</wfw:commentRss><description>&lt;p&gt;Unfortunately due to browser stack limitation, currently there&amp;#39;s no way to get the actual http status code... If you have the control over the server, you can customize the response, so if something wrong happens, it still returns 200, but with a message indicating something wrong happened...&lt;/p&gt;</description></item><item><title>HttpWebResponse.GetResponseStream() is null-http status code 500</title><link>http://forums.silverlight.net/forums/thread/62772.aspx</link><pubDate>Thu, 19 Jun 2008 04:41:32 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:62772</guid><dc:creator>XASD</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/62772.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=62772</wfw:commentRss><description>When HttpWebResponse.StatusCode!=HttpStatusCode.OK then GetResponseStream() is null, but how I can get response in case of http status code is 500 or something like that? Server trying to say something to me,but I can&amp;#39;t read.

&lt;p&gt;
Thanks.
&lt;/p&gt;</description></item></channel></rss>