Getting error "The remote name could not be resolved: '' " while twitting data from my website


I am using Twitterizer OAuth API to share data to twitter through my website.
Below is the code which I am using for twitter connection.

string consumerKey = ConfigurationManager.AppSettings["consumerKey"]; string consumerSecret = ConfigurationManager.AppSettings["consumerSecret"]; if (System.Web.HttpContext.Current.Request.QueryString["oauth_token"] == null) { RequestToken = OAuthUtility.GetRequestToken(consumerKey, consumerSecret, _currentURL);
            System.Web.HttpContext.Current.Response.Write("<script language=\"javascript\" type=\"text/javascript\">'" + RequestToken.Token + "','_new','height=500,width=850,status=yes,resizable=yes');window.location.href=window.location.href;</script>");

Some times I am getting exception The remote name could not be resolved: ‘’ when my application tries to execute above code.
Can some one please help me in this problem?

Thanks in advance.!


Hi Richard, I am also having the same problem of Did you get the solution ??


I am also having the same problem can anybody resolve it.


i also have a same problem .