Gallery Control not working

Discussion in 'Windows / IIS' started by SuperDave, Oct 15, 2009.

  1. I have the http://notesforgallery.codeplex.com/ control on my page and it doesn't seem to work. I have just moved the site and it was working previously. I suspect its a path issue but being brand new to ISS7 and Windows 2008 I'm not sure if its that or an issue with the control. I didn't see where you could set the site to 3.5 framework which is something else I considered.

    Since there are no errors reported I'm wondering how to debug this issue.

    Regards,
     
  2. mjp

    mjp

    I'm not sure about NotesForGallery specifically, maybe someone who has some experience with it can answer. But you do default to .NET framework 3.5, so unless you changed the version in Control Panel the version shouldn't be an issue.
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    what error are you getting?
     
  4. Oh man I love what you're doing with that site.
    I'm a long time U.S. Patriot, currently Captain, Honor Guard for U.S.M.C. (Ooh Rah)

    I'll D/L that project and see if I can see what is going on...
    Just looked at yours and can see it is finding the images, just thumbs not showing.
    Salute,
    Mark
     
  5. Took a few minutes but narrowed down the problem.

    If you create the Handler in your web.config but in the 'old' IIS section it will work but the thumbnails will not.

    To get this working I simply moved the Handler to the IIS7 section like this:

    <system.webServer>
    <handlers>
    <add name="ThumbnailHandler" type="NotesFor.ThumbnailHandler" verb="*" path="ThumbnailHandler.ashx"/>
    </handlers>
    </system.webServer>

    Displayed here on an IIS7 DASP server:
    http://msftwise.com/Gallery/

    (I didn't re-format that page, it's the Codeplex example and images.)
    Salute,
    Mark
     
  6. Issue Resvoled

    Thanks that solved the issue. I had last looked at this stuff months ago and had even forgot about the handler. But it's nice to know that in transfering old sites over that is something to think about with controls.

    I will post a note at codeplex about this issue.
     
  7. Good job...
    (I'm going to remove those files from msftwise later. No-need'O)
    Salute,
    Mark
     

Share This Page