Monday, June 29, 2009

Unable to cast object of type 'System.Int32' to type 'System.String' :Error in Facebook Application

If you are getting "Unable to cast object of type 'System.Int32' to type "'System.String' error while using facebook.net from nikhil (http://www.nikhilk.net/FacebookNET.aspx) ,

to solve this error download source code for this dll and make a change in Framework\Service\Core\FacebookRequest.cs line 180 change

//userID = (string)result["uid"];
to userID = Convert.ToString(result["uid"]);

2 comments:

Vinod Kotiya said...

hey richard tell me how u compiled the source code to get the dll again...

http://vinodkotiya.blogspot.com

Ecommerce shoppingcart said...

Hello,
There are several types of hosted shopping cart solutions. There is the free software and there is software that costs on a monthly basis. Of course, you have to pay for the professional ones, as any of them offers a wide range of features. Because of this,

ecommerce shopping carts