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

Forums / Bugs & Issues / 404 when trying to edit a template

404 when trying to edit a template

4 posts, 0 answered
  1. viscious
    viscious avatar
    31 posts
    Registered:
    10 Aug 2006
    28 Jun 2007
    Link to this post
    I am getting a 404 error when i try to edit a template.

    This only happens after I copy the site folder from my local development box, to our staging server.

    Everything else seems to work fine.  This only happens when i try to go in an edit the template.
  2. viscious
    viscious avatar
    31 posts
    Registered:
    10 Aug 2006
    28 Jun 2007
    Link to this post
    Here is a screen shot.

    Screenshot
  3. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    29 Jun 2007
    Link to this post
    Hello viscious,

    This error occurs due to the fact that you do not have .template mapping in the IIS virtual directory. The reason why you did not experience that error in your development machine is because the mapping is added automatically on  Sitefinity installation. To add the mapping in IIS 5 follow these steps:

    1. Go to your project virtual directory and right -click properties.
    2. On the Virtual Directory tab click Configuration and click Add new mapping.
    3. For Executable write the path to the isapi dll which is the same as for the .aspx mapping for example.
    4. For Extension write .template
    5. Clear the 'Check that file exists' checkbox.

    Let me know if you still experience the problem.

    Regards,
    Vassil Daskalov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  4. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    04 Jul 2007
    Link to this post
    This is a great question to ask web host providers before making a decision.
Register for webinar
4 posts, 0 answered