All Products 
Username / Customer#
Password
Log In
 Hi,  |  Log Out
  • Site Search
  • Domain Search
  • WHOIS Domain Check
24/7 Support: (480) 505-8877
Hablamos Español
9 AM to 9 PM IST
7 days a week
Go Daddy Support

Search help articles, forums, and discussion groups

Facebook Toolkit issues on godaddy server

Viewing post 1 to 5 (5 total posts)
Profile picture of venutsmad

venutsmad said 8 months, 3 weeks ago:

i am using Facebook toolkit (downloaded from codeplex) on my application to retrieving Facebook member data into my application.

it is working fine on my local systems and also working fine on some other web hosting server. when it comes to godaddy it is thoroughgoing below exception

System.Security.SecurityException: Request for the permission of type ‘System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′ failed.

here is code i am retriving graph API from facebook

var user = client.Get(“https://graph.facebook.com/me?access_token=” + myfacebooktoken);

i understand that the issue is some trusted permissions to the website..

can you help me how to resolve this issue. it is very urgent for us to update the website

Profile picture of Gary A

GoDaddy Expert Gary A said 8 months, 3 weeks ago:

@venutsmad

ASP.NET runs in Medium Trust on our Web Hosting. This cannot be changed on Web Hosting. Additional information relating to the Trust level can be found here:

http://support.godaddy.com/help/article/1039/what-is-medium-trust-level-and-how-does-it-affect-my-hosting-account

You may want to check with the developers of the application to see if there is an option for it to work under Medium Trust.

-Gary

Profile picture of venutsmad

venutsmad said 8 months, 3 weeks ago:

i changed the web.config file from full to medium

<trust level=”Medium”/>

but still i am having the same problem.

Profile picture of venutsmad

venutsmad said 8 months, 3 weeks ago:

still i am having same issue..but the same code is working fine on rackspace server..though i am not changed web.config file

Profile picture of Gary A

GoDaddy Expert Gary A said 8 months, 2 weeks ago:

@venutsmad

Changing the trust level through the web.config would not correct the issue if the application itself uses scripting that is only available in full trust. You may need to look through the scripting of the application you are attempting to use to see if this is something that you would be able to modify.

You may also want look into using a Virtual Dedicated or Dedicated server if you require Full Trust.

-Gary

Add a reply:

You will auto join this group when you reply to this topic.

When posting about a technical issue, please be sure to include as many details as possible, such as your domain name, related URLs and other pertinent information. This consideration will allow us to better understand the situation and quickly assist you.