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

Forums / Deployment / Deployment - public site works fine, backend goes crazy

Deployment - public site works fine, backend goes crazy

13 posts, 0 answered
  1. Dave
    Dave avatar
    29 posts
    Registered:
    31 Oct 2011
    14 Nov 2011
    Link to this post
    After deploying my site from my dev box to the test server, I can't edit anything in the backend.

    Everything in the public-facing site (pages, images, etc) shows correctly. However, when I log in to the back end, every item I click on (pages, etc) throws an error

    Could not deserialize service response, because it was empty or not valid JSON

    Any suggestions? I'm developing on Win7 x64/IIS7, but deploying to Win2k3/IIS6.

    **Update**

    I examined the AJAX request in Fiddler. The server is responding with the public home page instead of hitting the web service. Still not sure what would cause that.
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    15 Nov 2011
    Link to this post
    Hi David,

    This is indeed strange. Can you provide error logs or trace logs for the error? Also can you tell us what steps were taken for the website deployment?

    All the best,
    Victor Velev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. Dave
    Dave avatar
    29 posts
    Registered:
    31 Oct 2011
    16 Nov 2011
    Link to this post
    Hi Victor,

    I followed the steps at http://www.sitefinity.com/blogs/joshmorales/posts/11-02-23/installing_sitefinity_4_on_iis_6.aspx
    (that is, the same steps I use to configure any new ASP.NET 4 app on IIS6).
    I've noticed that if I hit the "help" method on one of the services, such as

    ~/Sitefinity/Services/Pages/PagesService.svc/help

    I get the expected "help" class information page, so in that case the service is working correctly. Where should I look for the error log?
  4. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    18 Nov 2011
    Link to this post
    Hello David,

    The logs can be found in App_Data/Sitefinity/Logs. Make sure to clean the folder before that. Also you can enable service tracer that will catch the actual error you are getting.

    Greetings,
    Victor Velev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  5. Dave
    Dave avatar
    29 posts
    Registered:
    31 Oct 2011
    21 Nov 2011
    Link to this post
    Victor,

    There are no log entries that are relevant in the logs. Reloading the page doesn't add entries to the logs. For kicks, I went ahead and nuked the log files and nothing is showing there.

    The problem persists on one server, though the app sort-of runs on a different server, so I'm reasonable confident that this is an IIS config issue. Still, the server in question is a clone of our production system so I have no doubt that the problem will pop up there, as well, if we decide to deploy Sitefinity.

    Yay.
  6. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    23 Nov 2011
    Link to this post
    Hello Dave,

    Please have a look at our article regarding IIS:

    http://www.sitefinity.com/documentation/installation-and-administration-guide/installing-sitefinity/configuring-the-iis-to-host-sitefinity-projects.aspx

    Can you try and replicate the issue on a new server or if you create brand new project on the same one?

    Best wishes,
    Victor Velev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  7. Jesse
    Jesse avatar
    31 posts
    Registered:
    08 Nov 2010
    22 Mar 2012
    Link to this post
    Hey guys,

    Was this ever solved. I'm currently experiencing the same thing that Dave has been experiencing. If you have can a solution be provided in response to this post please as this is an urgent issue.
  8. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    26 Mar 2012
    Link to this post
    Hello Jesse,

    Dave can share more details with the community, however if you can share more details about your setup and environment, we would be able to help you resolve the issue.

    Regards,
    Victor Velev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  9. Jesse
    Jesse avatar
    31 posts
    Registered:
    08 Nov 2010
    26 Mar 2012
    Link to this post
    Hey Victor,

    Thanks for your response. I've stated below the details of my setup for you.

    Windows Server 2008,
    IIS7,
    SQLServer2008,
    Full Trust level has been granted.

    I was able to successfully deploy however a strange issue arose. I'm able to have content display on the public site yet when i login from the backend nothing is there. If i click on the News from the list of contents it would then log me out. Would it be possible to send the Error log files?
  10. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    28 Mar 2012
    Link to this post
    Hi Jesse,

    I have answered you in the support ticket.

    Kind regards,
    Victor Velev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  11. Dave
    Dave avatar
    29 posts
    Registered:
    31 Oct 2011
    13 Apr 2012
    Link to this post
    Hi Jesse and Victor,
    I never got this to work under IIS6, and I didn't have the problem on any of the IIS7/Win Server 2008 machines, so I eventually just wound up abandoning it.
    Jesse, if you're still having this problem, I'd be interested to know if you were seeing the same thing that I was - ie, when I examined the request/response in Fiddler, I noticed that Sitefinity was returning the contents of the home page in response to all AJAX requests to the backend.

  12. strvmarv
    strvmarv avatar
    1 posts
    Registered:
    18 Jun 2012
    30 Aug 2013
    Link to this post
    For those poor souls that end up down this path in the future and don't find a real solution.  Make sure the following is enabled in IIS (3.5 Features)...

    Windows Communication Foundation HTTP Activation

    http://www.sitefinity.com/documentation/documentationarticles/installation-and-administration-guide/install-sitefinity/configuring-the-iis-to-host-sitefinity-projects
  13. Nayden Gochev
    Nayden Gochev avatar
    32 posts
    Registered:
    03 Nov 2014
    02 Sep 2013
    Link to this post
    Hi Paul,

    Thank you for sharing your experience with the community.

    Regards,
    Nayden Gochev
    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 Public Issue Tracking system and vote to affect the priority of the items
13 posts, 0 answered