Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Damien Green 72 posts 134 karma points
    Mar 31, 2015 @ 17:53
    Damien Green
    0

    Umbraco 7.2.4 logging into backend returns 500 error

    Hu Guys,

    I'm having a problem with Umbraco 7.2.4 on our Web Server (previous versions are fine). I cannot log into the back-end, when I try, I get a 500 error. The log shows the following:

    2015-03-31 16:45:14,244 [27] ERROR Umbraco.Web.Scheduling.ScheduledPublishing - [Thread 20] An error occurred with the scheduled publishing. The base url used in the request was: http://www.michaelsaxton.dodsworthandgreen.com:80/umbraco/, see http://our.umbraco.org/documentation/Using-Umbraco/Config-files/umbracoSettings/#ScheduledTasks documentation for details on setting a baseUrl if this is in error System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request) at System.Net.WebClient.UploadString(Uri address, String method, String data) at System.Net.WebClient.UploadString(String address, String data) at Umbraco.Web.Scheduling.ScheduledPublishing.Run() 2015-03-31 16:45:14,603 [27] ERROR Umbraco.Web.Scheduling.KeepAlive - [Thread 24] Error in ping. The base url used in the request was: http://www.michaelsaxton.dodsworthandgreen.com:80/umbraco/, see http://our.umbraco.org/documentation/Using-Umbraco/Config-files/umbracoSettings/#ScheduledTasks documentation for details on setting a baseUrl if this is in error System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) at System.Net.WebClient.DownloadString(String address) at Umbraco.Web.Scheduling.KeepAlive.Start(ApplicationContext appContext, IUmbracoSettingsSection settings)

    It works fine on my development machine and laptop. This is happening on both a website running a previous version that I upgraded to 7.2.4 and a website that has been freshly developed using that version. Is there something in this most recent version that breaks the back-end under certain configurations?

    Many thanks,

    Damien

  • Damien Green 72 posts 134 karma points
    Mar 31, 2015 @ 18:46
    Damien Green
    0

    Hi guys,

    I've resolved the issue. I had to remove the lines:

    [system.webServer][urlCompression doStaticCompression="false" doDynamicCompression="false"bdynamicCompressionBeforeCache="false" /][/system.webServer]

    from the bottom of the web.config file since my hosting doesn't allow overrides. I must have merged the new settings into my config file, though I recall that line arriving earlier than v7.2.4. It must have been a coincidence that earlier versions were working.

    I added:

    [system.webserver][httpErrors errorMode="Detailed" /][system.webserver]

    In the web.config in order to display the specific error message.

    Hope this helps anyone who has the same problem, though it's quite specific to my remote IIS config. Note you'll need to replace the square "[]" brackets with angle brackets. unfortunately the code editor interprets these as HTML despite placing them in a code block.

    Cheers,

    Damien.

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Mar 31, 2015 @ 19:13
    Sebastiaan Janssen
    1

    What lines were they? They disappeared in your post.. Make sure to put them in a code block.

  • Damien Green 72 posts 134 karma points
    Mar 31, 2015 @ 21:07
    Damien Green
    0

    Hi Sebastiaan,

    Thank you for noticing this (I was in a bit of a hurry). Unfortunately the code was placed inside the correct code block tags, but it seems that because these are web config entries the presence of the angle brackets is mis-interpreted by the editor, even when they are in a code block. I have replaced with square brackets so anyone using the code will have to change these back to angular ones. If you know a way of posting code with angular brackets, please let me know and I'll modify the post again.

    Cheers,

    Damien

Please Sign in or register to post replies

Write your reply to:

Draft