Copied to clipboard

Flag this post as spam?

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


  • dominik 711 posts 733 karma points
    Mar 15, 2011 @ 11:44
    dominik
    0

    Delete Document permanent

    Hello i get an item displayed inside my navigation which does not exist any more on the umbraco backend. I refreshed the cache and also edited web.config.

    How can I delete the item so it is not shown in the navigation any more. Inside the content tree it doesnt exist


    Thanks

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Mar 15, 2011 @ 17:18
    Tim
    0

    Hi @dominik,

    How is your navigation being built? Are you using an XSLT Macro, or a Razor Macro, or something else?

  • dominik 711 posts 733 karma points
    Mar 16, 2011 @ 09:44
    dominik
    0

    Hi Tim it is build via an XSLT script.

    I can not find the navigation item in the content section but on the frontend it is displayed.

     

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Mar 16, 2011 @ 10:13
    Tim
    0

    It sounds like the XML hasn't been updated. If you open and save the web.config file for the site, do the nav items disappear when you refresh the page?

    It could be a permissions problem, the aplication pool identity (normally NETWORK SERVICE) will need ro have read/write/modify permissions on the App_Data folder where the umbraco.config file that contains all of the site xml lives.

  • dominik 711 posts 733 karma points
    Mar 16, 2011 @ 11:05
    dominik
    0

    is there a manual how to set the Network Service?

     

    Thanks

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Mar 16, 2011 @ 11:34
    Tim
    0

    If you have remote desktop access to the server (or if your on your local machine), you can just right click on the folder, select "Properties", then click on the "security" tab and select the "NETWORK SERVICE" user from the list of users, and ensure that the read, write and modify boxes are checked, then click "ok".

    If you don't have remote desktop access, you may need to ask your host to set the permissions for you. There's some information on the permissions need by Umbraco here: http://our.umbraco.org/wiki/install-and-setup/set-umbraco-folder-permissions-from-command-line

    Hope that helps!

    :)

  • dominik 711 posts 733 karma points
    Mar 16, 2011 @ 11:40
    dominik
    0

    yes i have remote desktop access.

    Just checked it but there is no NETWORK SERVICE inside the security tab

     

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Mar 16, 2011 @ 12:08
    Tim
    0

    You just need to add the user to the list. When you edit the users, click the "add" button, enter NETWORK SERVICE in the big text box, click OK, and the user should appear.

    Out of interest, are you able to upload media items to the media library?

  • dominik 711 posts 733 karma points
    Mar 16, 2011 @ 12:10
    dominik
    0

    yes i am able to upload

    I also read in IIS 7 there is no NETWORK SERVICE. Perhaps this is the solution

    on the devel machine all was working great but if i copy the whole structure and edit the database connetion in the web.config and try to change any content i got this error.

    I just deleted the umbraco.config and restartet the server - now it is working but I just want to know why this error occurs.

    Thanks

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Mar 16, 2011 @ 12:22
    Tim
    0

    Ahh, there is still a NETWORK SERVICE, but by default it uses ApplicationPoolIdentity instead. I'm not sure why you got the error! The reason I though it was the permissions is that it looked like your database was being updated, but the umbraco XML file wasn't being updated, which can somethimes happen if the account that .Net runs under doesn't have modify permissions on the App_Data folder.

    You could try looking in the umbracoLog table in the database and see if any uyseful errors were logged there that might help you figure out what was going on!

Please Sign in or register to post replies

Write your reply to:

Draft