[cfs-file.ashx] vs. [cfs-filesystemfile.ashx]

rated by 0 users
Answered (Verified) This post has 1 verified answer | 6 Replies | 2 Followers

alverro
Not Ranked
5 Posts
Points 70
By: alverro
Posted: Mon, Jun 30 2008 12:39 PM

Seems like cfs-filesystemfile.ashx works great for me, but files referenced using cfs-file.ashx report as not being found - avatars don't show up in particular.

I altered the web.config as a test:

<add verb="GET" name="cfs-file" path="cfs-file.ashx" type="CommunityServer.Components.FileHttpHandler, CommunityServer.Components"/>
<add verb="GET" name="cfs-filesystemfile" path="cfs-filesystemfile.ashx" type="CommunityServer.Components.FileSystemFileStorageHttpHandler, CommunityServer.Components"/>

to

<add verb="GET" name="cfs-file" path="cfs-file.ashx" type="CommunityServer.Components.FileSystemFileStorageHttpHandler, CommunityServer.Components"/>
<add verb="GET" name="cfs-filesystemfile" path="cfs-filesystemfile.ashx" type="CommunityServer.Components.FileSystemFileStorageHttpHandler, CommunityServer.Components"/>

Now my avatars show up, but my upload funtionality fails (I'm not surprised though as this was simply meant to test the functionality and not fix it), so I changed it back.

 

Any thoughts?

 

 

 

Answered (Verified) Verified Answers

Alex Crome
Top 10 Contributor
2,782 Posts
Points 41,115
TelligentSupportTeam
Answered (Verified) By: Alex Crome
Posted: Mon, Jun 30 2008 2:13 PM In reply to

Have you tried upgrading to CS2008 SP1 - you can find the upgrade files at the top of the "Community Server Service Packs" section at http://get.communityserver.com/download/moredownloads.aspx.

 
Answered (Verified)
  • Post Points: 5 |

All Replies

Alex Crome
Top 10 Contributor
2,782 Posts
Points 41,115
TelligentSupportTeam
Answered (Verified) By: Alex Crome
Posted: Mon, Jun 30 2008 2:13 PM In reply to

Have you tried upgrading to CS2008 SP1 - you can find the upgrade files at the top of the "Community Server Service Packs" section at http://get.communityserver.com/download/moredownloads.aspx.

 
Answered (Verified)
  • Post Points: 5 |
Alex Crome
Top 10 Contributor
2,782 Posts
Points 41,115
TelligentSupportTeam
By: Alex Crome
Posted: Mon, Jun 30 2008 2:15 PM In reply to

Have you tried upgrading to CS2008 SP1 - you can find the upgrade files at the top of the "Community Server Service Packs" section at http://get.communityserver.com/download/moredownloads.aspx.

 
  • Post Points: 20 |
alverro
Not Ranked
5 Posts
Points 70
By: alverro
Posted: Tue, Jul 1 2008 6:00 PM In reply to

Thanks for the tip! I'll give that a shot.

I also noticed that the avatars on this forum actually use the cfs-filesystemfile.ashx method rather than what was the default on my install.

 
  • Post Points: 20 |
Alex Crome
Top 10 Contributor
2,782 Posts
Points 41,115
TelligentSupportTeam
By: Alex Crome
Posted: Tue, Jul 1 2008 6:15 PM In reply to

The avatars on this site use cfs-file.ashx - http://dev.communityserver.com/cfs-file.ashx/__key/CommunityServer.Components.Avatars/00.00.10.29.74/avatar.jpg

Two things that I've also remembered

  • If your'e using the Cassini web server built into Visual Studio , that is known to be incompatible with cfs-file.ashx.  The work around is to use IIS7 instead.
  • If you're site used SSL, there was a bug in CS2008 RTM which prevented the handler from working, but that's been fixed in SP1.
 
  • Post Points: 20 |
alverro
Not Ranked
5 Posts
Points 70
By: alverro
Posted: Tue, Jul 1 2008 6:20 PM In reply to

I am indeed using SSL.

 
  • Post Points: 5 |
alverro
Not Ranked
5 Posts
Points 70
By: alverro
Posted: Tue, Jul 1 2008 6:26 PM In reply to

That's odd... when I clicked "View Image" in my Firefox context menu, it showed up as the cfs-filesystemfile, but after reading your post, I inspected the code, and sure enough, they're cfs-file.

 
  • Post Points: 5 |
Page 1 of 1 (7 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com