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

Forums / General Discussions / HTML and other Static Files Producing an Error When Sitefinity Introduced

HTML and other Static Files Producing an Error When Sitefinity Introduced

8 posts, 0 answered
  1. Gary Evans
    Gary Evans avatar
    2 posts
    Registered:
    03 Sep 2010
    22 May 2013
    Link to this post
    Hi-
    We have an existing web site that is entirely HTML, CSS, Images, etc with no CMS and no server side code at all. In this site we have a folder off the root called /help/. In this help folder are hundreds of plain HTML files with images, etc and no server side code at all.

    So we developed a new sitefinity site to replace the old static site, but we kept the /help folder at the root. Nothing in this folder is related to sitefinity, nor managed by sitefinity. All of the sitefinity site features on the front end work fine. Users can see the site and all works. But when you try to navigate to anything in /help/index.html - those give an error:
    "The page cannot be displayed because an internal server error has occurred." 

    We have custom errors off in web.config and have tried to turn off friendly messages in IE.

    It seems like sitefinity is trying to interpret the HTML files and do something with them instead of just letting IIS handle the files.

    Any idea why this might be happening?

  2. Michael
    Michael avatar
    9 posts
    Registered:
    03 Sep 2013
    02 Jun 2014 in reply to Gary Evans
    Link to this post
    Sorry to bother you. But did you get an answer to your question here? I have a similar issue that need to publish a bunch of structured HTML files through Sitefinity.
  3. Gary Evans
    Gary Evans avatar
    2 posts
    Registered:
    03 Sep 2010
    02 Jun 2014
    Link to this post

    Honestly, I don't remember what we ended up doing. We deal with so many web sites and that's been over a year ago. Sorry.

    Gary

  4. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    Registered:
    06 Dec 2016
    17 Jun 2014
    Link to this post
    Hi Michael,

    I apologize for the late reply.

    I have tested the behavior in a Sitefinity 7.0 test project and I am able to access the html files which are created in Visual Studio. Here is a short video for your reference demonstrating this. Can you please let me know more details about the issue you are experiencing. What are the steps you take on your side and what is the error message you receive.

    Regards,
    Sabrie Nedzhip
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  5. Michael
    Michael avatar
    9 posts
    Registered:
    03 Sep 2013
    17 Jun 2014 in reply to Sabrie Nedzhip
    Link to this post

    Hi Sabrie, 

    Thanks for the post. But I have sorted it out and successfully posted the HTML files.  The reason it was not working is the files were copied to the folders at OS level instead of Sitefinity. When I uploaded the files in Sitefinity, it started to work. 

     However it's a little inconvenient to upload many files in Sitefinity because  you have to select files one by one.  It seems there's no way to select all and upload them together?

     Thanks again,

     Michael

  6. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    Registered:
    06 Dec 2016
    18 Jun 2014
    Link to this post
    Hi Michael,

    I am happy to hear that you have managed to solve the issue and thank you for sharing the information with the community.

    As for uploading more than one document at once, you can select all the documents you would like to upload and then upload them. Here is a short video demonstrating how I achieved it on my side.

    Regards,
    Sabrie Nedzhip
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  7. Michael
    Michael avatar
    9 posts
    Registered:
    03 Sep 2013
    18 Jun 2014 in reply to Sabrie Nedzhip
    Link to this post

    Thanks Sabrie for the reply and the video.

    In my case I cannot upload files into library but into file system through administration->file structure->create folder...

    From that interface, there's no option for selecting multiple files at one time.

     

  8. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    Registered:
    06 Dec 2016
    23 Jun 2014
    Link to this post
    Hello Michael,

    Yes, you are right. When you upload files from Administration -> File manager -> Upload, you need to select the files you want to upload one by one.

    Regards,
    Sabrie Nedzhip
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
8 posts, 0 answered