bishop335 / subtext

Automatically exported from code.google.com/p/subtext
0 stars 0 forks source link

IdenticonHandler.ashx is throwing a Parser Error #227

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Upgrade to Subtext 2.5 (using the Updater Tool)
2. View posts with comments
3. Gravatar images are broken
4. Browse to the URL for one of the images
5. You'll get a YSOD

What is the expected output? What do you see instead?
Expecting to get Gravatar images back.  Instead, getting a YSOD

For example:
http://jeffhandley.com/images/IdenticonHandler.ashx?code=1419261394

What version of the product are you using? On what operating system?
Subtext 2.5.0.3
Windows Server Standard 2008 32-bit

Please provide any additional information below.

Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to 
service this request. Please review the following specific parse error details 
and modify your source file appropriately. 

Parser Error Message: Could not create type 'IdenticonHandler'.

Source Error: 
Line 1:  <%@ WebHandler Language="C#" Class="IdenticonHandler" %>

Source File: /images/IdenticonHandler.ashx    Line: 1 

Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET 
Version:2.0.50727.4016

Original issue reported on code.google.com by jeffhand...@gmail.com on 15 Jun 2010 at 5:07

GoogleCodeExporter commented 8 years ago
Issue 228 has been merged into this issue.

Original comment by simone.chiaretta on 15 Jun 2010 at 7:45

GoogleCodeExporter commented 8 years ago
Solution is: just delete the /images/IdenticonHandler.ashx file.
The identicon is not handled via a contoller and not via the ashx directly.
Merged into the issue about the "things to check" during the online upgrade 
process.
Let know if removing the file works.

Original comment by simone.chiaretta on 15 Jun 2010 at 7:58

GoogleCodeExporter commented 8 years ago
That fixed it, thanks!  This was likely my fault.  I have the files for my blog 
checked into a Subversion repository, so deploying to my server was a bit of a 
headache due to all of the moved/removed files -- I probably missed that this 
file had been deleted.

Thanks,
Jeff Handley 

Original comment by jeffhand...@gmail.com on 15 Jun 2010 at 8:54

GoogleCodeExporter commented 8 years ago
The problem is that in prev version we had "application files" mixed with the 
user files in the images folder. Same problem happened to me as well, because I 
didn't delete/uploaded all the Images folder.

Original comment by simone.chiaretta on 15 Jun 2010 at 8:57