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

Forums / Deployment / Admin page styles break after using IIS Url Rewrite

Admin page styles break after using IIS Url Rewrite

8 posts, 1 answered
  1. David
    David avatar
    16 posts
    Registered:
    23 Sep 2010
    17 Jan 2011
    Link to this post
    Hello,

    I recently deployed Sitefinity 3.7, which appeared to work perfectly. I then used the IIS URL Rewrite 2.0 module to make sure that people that arrived at the root directory of our directory would be sent to the appropriate sub-directory where Sitefinity resides.

    This is when the problem with the admin pages began. Although the site is working perfectly, the admin pages are having problems with the way they are being loaded up. When using the IE9 network monitor, I found that their are a number of the requests for web resources are being aborted.

    There are no errors when the page loads, but this is a pretty big problem as we can no longer update the website.

    Any thoughts?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    17 Jan 2011
    Link to this post
    Hello David,

    Try using your rewrite rules only for the front end. Everything behind Sitefinity folder is used in the backend. Sitefinity has a built-in rewrite module. You can take a look at our user manual , URL Rewriting.

    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
  3. David
    David avatar
    16 posts
    Registered:
    23 Sep 2010
    17 Jan 2011
    Link to this post
    Hello Ivan,

    Thank you for your reply. I decided to disable the URL Rewrite rules in IIS to make sure that I can fix the administration pages without having too much problem. After doing that, I still seem to be having the same problems.

    I have attached a screenshot of the how the website renders. I'm really not sure what could be the problem.

    Any thoughts on how I can fix this issue?
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    19 Jan 2011
    Link to this post
    Hi David,

    It seems that the RadTabStrip used for navigation is not able to properly load. This is an indication that for some reason it might have trouble loading the Mircosoft Ajax scripts. Do you experience any JavaScript errors in the backend? Also do you have any errors recorded in the Sitefinity error log file (~/App_Data/sitefinity.log)?

    Kind regards,
    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
    Answered
  5. David
    David avatar
    16 posts
    Registered:
    23 Sep 2010
    19 Jan 2011
    Link to this post
    Hello,

    I checked the developer tools in both Chrome and Firebug and confirmed that a number of JavaScript errors are happening. The main error that I get is: "Sys not defined" and it happens in two places on Default.aspx for the administration pages, line 52 [Sys.WebForms.PageRequestManager...] and line 400 [Sys.Application.add_init(function())].

    When looking in Chrome, I see some more errors like I do in IE, where a number of resources fail to load. Specifically ScriptResource.axd and WebResource.axd.

    Any thoughts on how I can fix this?
  6. David
    David avatar
    16 posts
    Registered:
    23 Sep 2010
    19 Jan 2011
    Link to this post
    Also,

    I checked the sitefinity.log, but no new logs seem to be appearing.
  7. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    19 Jan 2011
    Link to this post
    Hi David,

    Can you please check the log file? Those errors definitely mean that the Microsoft Ajax framework cannot be initialized. This blog post will help you troubleshoot the problem.

    Best wishes,
    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
  8. David
    David avatar
    16 posts
    Registered:
    23 Sep 2010
    20 Jan 2011
    Link to this post
    Hello again,

    I did end up checking the log file, which helped my team solve the problem. It was not with Sitefinity at all, but with IIS. It appears that someone had setup an HTTP redirect for the site which was causing the problems we talked discussed on the forum, and the client performance issues.

    Ultimately, we removed the redirect and the performance of the site improved dramatically.

    I wanted to thank you again for all your help. The log file ended up leading us to the real problem.
Register for webinar
8 posts, 1 answered