EDIT: The code seem to be in order. Still i dont know why i can't access "PageResponsibility". Even though the page is in my propject and was accessible a week ago it wont show up in the file structure while in Edit-mode when browsing the link i get this exeption. Verty strange..
Could you have a page that's being referenced that has passed it's stop publish date and thus giving the error?
Well that would be a possible scenario but the page is available in the staging enviroment and on the live website. I'm kinda new at EPi but could i re-publish the page in my local project? Is there a publish history in Edit mode? Thx
Also the code seem to be in order, in fact everything seem fine. I tried lots of things now but not re-publishing the page.
EDIT: Im looking in the above folder of where the page should be and i noticed i do not have rights to add a new page in the folder. In fact icons saying "You have not been assigned the user rights to make changes to this page" - appear on most pages.
The page itself could be quite available, but when the template is executed, it would normally fetch all kind of data from the site, for instance menues, specific links to items in text etc. If the template has a direct relationship to a page that has expired, for instance the root node for a listing, this will result in an access denied exception. I haven't been tracking these kind of errors for many years, so there might be better ways to do this nowdays like checking in error logs. What I have done previosly is just checking all references for the page that has the error and see if any of those pages has expired.
I see. Do you mean like checking all the referances in VS?
I guess you can either check the templates or the web site. I have always checked the references for the item in the CMS edit view since this is normally faster. Say for instance that you have a property named:
ListingRoot: News 
Then you go to the page News and see so that it's not expired.
Well there dosn't seem to be anny referances and the page i'm looking for dosn't show up in Edit map tree at all. However i went to Admin mode - Set Access Rights and when i expand that map tree i can see the page im looking for. I also confirmed i have administrator role but checked "Select All" to be certain. That didn't make anny differance though.
Problem solved. The error was AD -related. Had to create a new group for "Everyone" in Admin.
I'm working in a EPi v 6 R2 site and i'm having problems accessing a certain page. Last week everything worked fine, at first i didn't have proper user rights to access the admin/edit mode but i created a myself as a new admin user in the database and everything worked. However that was at another place. Now i'm at my customer, i have been given special credentials (an image) so that i can use their internet. I don't know if this has something to do with it but i'm browsing my page in their internet inviroment.
This is the error i'm getting:
EPiServer.Core.AccessDeniedException: Access denied