Copied to clipboard

Flag this post as spam?

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


  • Valdanio 11 posts 81 karma points
    Jul 11, 2019 @ 15:37
    Valdanio
    0

    My umbraco project does not start on windows server 2016

    enter image description here

  • Luke Hook 37 posts 150 karma points
    Jul 11, 2019 @ 15:49
    Luke Hook
    0

    Hi there,

    The stack trace here seems to be saying it can't connect to your database. Double check the IP (or domain) you're using in your connection string and ensure your webserver has access.

    Often I find I have a connection string locally that needs to be adapted when in production or on server.

    Definitely connection string related either way. Hope that helps.

    Luke

  • Valdanio 11 posts 81 karma points
    Jul 11, 2019 @ 16:17
    Valdanio
    0

    this is my connectionString

    enter image description here

  • Luke Hook 37 posts 150 karma points
    Jul 11, 2019 @ 16:19
    Luke Hook
    0

    Hi Valdanio,

    Ok, and can you confirm that the Umbraco.sdf is present in App_Data folder on your server?

    Luke

  • Valdanio 11 posts 81 karma points
    Jul 11, 2019 @ 16:21
    Valdanio
    0

    Ok Luke, Is present, as you can see picture bellowenter image description here

  • Luke Hook 37 posts 150 karma points
    Jul 11, 2019 @ 16:24
    Luke Hook
    0

    That's great,

    Next I would check permissions. Your application should have Write permissions on certain folders (such as the App_Data.

    Take a look at this link for more information

  • Valdanio 11 posts 81 karma points
    Jul 11, 2019 @ 16:25
    Valdanio
    0

    But on the machine where the website was developed it works fine but it just does not work on the server because of the connection error

  • Luke Hook 37 posts 150 karma points
    Jul 11, 2019 @ 16:26
    Luke Hook
    0

    Might well be a permissions issue I would think then. Locally it tends to work as Visual Studio and IIS will access the application as administrator. Definitely check the folder permissions on your server.

  • Valdanio 11 posts 81 karma points
    Jul 11, 2019 @ 16:27
    Valdanio
    0

    ok! i'll do it.

  • Valdanio 11 posts 81 karma points
    Jul 11, 2019 @ 16:45
    Valdanio
    0

    even so error continues. Are you accessing the server remotely?

Please Sign in or register to post replies

Write your reply to:

Draft