+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / No support for ISAPI filters under Shared Hosting Provider

No support for ISAPI filters under Shared Hosting Provider

6 posts, 0 answered
  1. Sergio
    Sergio avatar
    4 posts
    Registered:
    27 Jan 2008
    23 Mar 2008
    Link to this post
    I was having issues viewing images and documents under the Images and Documents Module of v3.2.  I narrowed it down to the ISAPI filters not being mapped for the .sflb and .tmb extensions.  I contacted my Shared hosting provider and request to have the ISAPI mappings created.  Unfortunately they do not support ISAPI filter mappings under their shared plans.  Short of creating my own Image/Document Module, does anyone know of any work-arounds for this issue?

    Thanks in advance,

    Sergio
  2. Tihomir
    Tihomir avatar
    53 posts
    Registered:
    24 Sep 2012
    24 Mar 2008
    Link to this post
    Hello Sergio,

    Sadly, there is no workaround to the problem. Usually, hosting providers change the ISAPI mappings even on their shared hosting plans because they do not want to lose clients for something simple as this.

    Maybe if you explain what the purposes of your website is and why you need these ISAPI mappings set, your hosting provider's support will be willing to set them for you or as a last step you can change your provider because there are a lot out there that support this feature. We have a nice KB article on how Sitefinity can be used with Discount ASP.NET hosting provider.

    Hope this helps!

    Kind regards,
    Tihomir
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Sergio
    Sergio avatar
    4 posts
    Registered:
    27 Jan 2008
    24 Mar 2008
    Link to this post
    Tihomir,

      Thanks for the quick response!  Although I am disappointed, I can't say that I wasn't expecting your response. :)

      I will be looking at other hosting providers but I am doubtful that I will be changing anytime soon.  With the exception of this issue my provider has been great.  Since I have some extra time on my hands I'll look into writing a control to do what I need.

    Thanks again!

    -Sergio
  4. Dave
    Dave avatar
    76 posts
    Registered:
    10 Mar 2008
    24 Mar 2008
    Link to this post
    Could you possibly change the .sflb extension to be .sflb.aspx instead?  You might be able to change the following in web.config:
    <add name="Libraries" urlRewriteFormat="~/{Provider}/{LibraryName}/[Name].sflb" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" applicationName="/Libraries" allowVersioning="True" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Libraries.Data.DefaultProvider, Telerik.Libraries.Data" tagEditorTemplate="~/Sitefinity/Admin/ControlTemplates/Libraries/BatchTagsEditor.ascx"/>
    to
    <add name="Libraries" urlRewriteFormat="~/{Provider}/{LibraryName}/[Name].sflb.aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" applicationName="/Libraries" allowVersioning="True" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Libraries.Data.DefaultProvider, Telerik.Libraries.Data" tagEditorTemplate="~/Sitefinity/Admin/ControlTemplates/Libraries/BatchTagsEditor.ascx"/>

    and
    <add path="*.sflb" verb="GET" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine" />

    to
    <add path="*.sflb.aspx" verb="GET" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine" />
    Obviously I haven't tested but it might get you started.
  5. Sergio
    Sergio avatar
    4 posts
    Registered:
    27 Jan 2008
    24 Mar 2008
    Link to this post
    I had actually tried that this morning but to no avail.  I still receive a 404 error.

    -Sergio
  6. Sergio
    Sergio avatar
    4 posts
    Registered:
    27 Jan 2008
    09 Apr 2008
    Link to this post
    Just an update for anyone having a similar issue with their hosting provider.  I have resolved the issue with my hosting provider.  Don't do what I did and confuse the need for an ISAPI filter to be applied to the website in IIS with the actual requirement of Application Mappings at the virtual directory level.  In a shared environment, your hosting provider prevents custom ISAPI filters as a security measure and rightfully so.  When you make the request of your hosting provider to add the mappings DO NOT mention the words ISAPI FILTER.  It will only freak them out and they probably won't even bother to read the rest of your request and just shoot you down.

    Just ask for two new Application Mappings to be added to your virtual directory for the following:

    Extension:".sflb"
    Executable: "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll"
    Verbs: "GET,HEAD,POST,DEBUG"
    Script Engine: Checked


    Extension:".tmb"
    Executable: "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll"
    Verbs: "GET,HEAD,POST,DEBUG"
    Script Engine: Checked


    -Sergio

Register for webinar
6 posts, 0 answered