Get data from MailChimp using SilverLight.

Sep 27, 2011 at 11:36 AM
I have created my own silverlight API to get/set data from/to MailChimp.
It was working fine But today I am getting the error. Example code is : 
              string MailChimpURL =  "https://us2.api.mailchimp.com/1.3/?method=lists&apikey=my_api_key-us2";
        HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(new Uri(MailChimpURL));
        request.BeginGetResponse(new AsyncCallback(ReadCallback), request);

        private void ReadCallback(IAsyncResult asynchronousResult)
        {
            HttpWebRequest request = (HttpWebRequest)asynchronousResult.AsyncState;
            HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(asynchronousResult);
            using (StreamReader streamReader1 = new StreamReader(response.GetResponseStream()))
            {
                string resultString = streamReader1.ReadToEnd();
            }
        }

But my above code always throw exception. Which is:

AsyncWaitHandle:		AsyncWaitHandle	'asynchronousResult.AsyncWaitHandle' threw an exception of type 'System.NotSupportedException'	System.Threading.WaitHandle {System.NotSupportedException}

CompletedSynchronously:	        false	bool

IsCompleted:	                true	bool
PLEASE HELP ME IN SOLVING THIS PROBLEM
THANKS.