YAFLogo

Will Chen
  • Will Chen
  • 65% (Friendly)
  • YAF Camper Topic Starter
14 years ago
I've upgraded to 1.9.4 and the performance upgrades are incredible. Loving it so far. that being said having a small issue with remote avatars. They are enabled in the admin console but all the old remote avatars will not load in the new site. Anyone have a similar issue? thanks.

Whoops! Hosting on Godaddy ASP.Net 3.5 The error message in the event log is:

Remote Avatar is NOT supported on your Hosting Permission Level (must be High)


Visit www.frugalguitarist.com  for detailed reviews of under-the-radar gear and guides to the best bargains on the net.

Sponsor
logan
  • logan
  • 100% (Exalted)
  • YAF Leader
14 years ago
Remotes will work on GoDaddy

Find in ~/resource.ashx and change to AspNetHostingPermissionLevel.Medium

 private void GetResponseRemoteAvatar(HttpContext context)
    {
      var wc = new WebClient();
      Image img = null;
      Bitmap bmp = null;
      Graphics gfx = null;

      if (General.GetCurrentTrustLevel() < AspNetHostingPermissionLevel.High)
      {
        // don't bother... not supported.
        DB.eventlog_create(
          null, 
          this.GetType().ToString(), 
          "Remote Avatar is NOT supported on your Hosting Permission Level (must be High)", 
          0);
        return;
      }

HTH


test
Will Chen
  • Will Chen
  • 65% (Friendly)
  • YAF Camper Topic Starter
14 years ago
Thanks so much!
Visit www.frugalguitarist.com  for detailed reviews of under-the-radar gear and guides to the best bargains on the net.