I am new to joeblogs wordpress api and when i ran my sample program on my localhost, it went fine but when i used online address as Url = “http://dustysstory.wordpress.com/xmlrpc.php” to post on my wordpress blog, it generated an error:
An unhandled exception of type ‘CookComputing.XmlRpc.XmlRpcFaultException’ occurred in CookComputing.XmlRpcV2.dll
Additional information: Server returned a fault exception:  Sorry, you are not allowed to publish posts on this site.
Please let me know what could i do to resolve this????????
The blog I need help with is starshahid20.wordpress.com.
My code is:
`titleString = “”;
postString = “”;
Url = “http://dustysstory.wordpress.com/xmlrpc.php”;
Username = “starshahid20”;
Password = “aeroplane22”;
WordPressWrapper wrapper = new WordPressWrapper(Url, Username, Password);
//MetaWeblogWrapper wrapper = new MetaWeblogWrapper(Url, Username, Password);
Post post = new Post();
post.Body = richTextBox1.Text;
post.Title = textBox1.Text;
post.DateCreated = DateTime.Now;
catch (CookComputing.XmlRpc.XmlRpcFaultException ex)
MessageBox.Show(post.PostID + “, ” + post.Permalink);
- The topic ‘Annoying Excption  while posting online’ is closed to new replies.