Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: Set-up & Installation > 3.2 sflb getting 404

3.2 sflb getting 404

  • James Wright avatar

    Posted on Mar 15, 2010 (permalink)

    Recently moved my 3.2 project to discountasp.net.

    I followed the setup instructions found here on the sitefinity site, and all looks to be correct. My web.config doesn't reference .sflb.ashx and the .sflb etc all point to the isapi dll like they are supposed to.

    I am running IIS 7 with asp.net 2.0 and 'classic' pipeline mode.

    The site was previously on a dedicated machine and worked perfectly. What am I missing? This customer only has a few months left in contract and I don't want the hassle of upgrading.

    <

     

    add name="Sitefinity Libraries" path="*.sflb" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness64" />

     


    <

     

    add name="SitefinityLibrary" path="*.sflb" verb="*" preCondition="integratedMode" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine" />

     


    <

     

    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" />

     


    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Mar 16, 2010 (permalink)

    Hello James Wright,

    Try adding Wildcard script mapping. You may get 404 if the request does not reach the handler. Since iit was warking on the another host, the problem seems to be related to the new server.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

    Reply

  • James Wright avatar

    Posted on Mar 16, 2010 (permalink)

    I implemented the following code:

    1. <handlers accessPolicy="Read, Script">  
    2.   ...   
    3.   <add name="ASP.NET-ISAPI-2.0-Wildcard"  
    4.      path="*" verb="GET,HEAD,POST,DEBUG"  
    5.      modules="IsapiModule"  
    6.      scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll"  
    7.      preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />  
    8.   <add name="StaticFile"  
    9.      path="*" verb="*"  
    10.      modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule"  
    11.      resourceType="Either" requireAccess="Read" />  
    12. </handlers>  


    And all of my aspx pages stopped working. The error was 'you may have a wild card' or something like that.

    Do i need to set up a mime type or something for the sflb? Did I setup the wildcard incorrectly?

    Again, I am IIS7 running 3.2...

    Jamey

    Reply

  • Radoslav Georgiev Radoslav Georgiev admin's avatar

    Posted on Mar 16, 2010 (permalink)

    Hello James Wright,

    Thank you for getting back to us.

    Could you please make sure that the *.sflb handler is correctly mapped in the Handler Mappings section in your IIS? Refer to attached image.

    All the best,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
    Attached files

    Reply

  • James Wright avatar

    Posted on Mar 16, 2010 (permalink)

    In the IIS, my handler mapping points to IsapiModule. It doesn't point to the telerik object. It looks like your .template line item.

    Reply

  • Radoslav Georgiev Radoslav Georgiev admin's avatar

    Posted on Mar 17, 2010 (permalink)

    Hello James Wright,

    Can you please try to configure it with the same as in the screen shot. You can consult your web.config for the exact executable.

    Sincerely yours,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

    Reply

  • James Wright avatar

    Posted on Mar 17, 2010 (permalink)

    I am using IIS Manager remotely into DiscountAsp.net.

    When I double click the line item for  .sflb, here are my options in the dialog:

    Request Path: .sflb
    Executable: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll
    Name: Sitefinity Libraries
    Path type: Unspecified
    Verbs: All
    Access: Script

    If I try and point to "Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine" it is invalid because it isn't a file system. There is nothing about telerik in my list of modules either.

    Thanks,

    Jamey

    Reply

  • James Wright avatar

    Posted on Mar 18, 2010 (permalink)

    Can you please point me to the install documentation for 3.2? Thanks.

    Reply

  • Radoslav Georgiev Radoslav Georgiev admin's avatar

    Posted on Mar 18, 2010 (permalink)

    Hello James Wright,

    When you install Sitefnity through the installation package on your computer you get the documentation normally in C:\Program Files\Telerik\Sitefinity3.2\Help. I have attached the installation guide and user manuals for your convenience.

    Greetings,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
    Attached files

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: Set-up & Installation > 3.2 sflb getting 404