Access Denied is a security process where an unauthorized user tries to access a resource that (s)he doesn't have access to.

learn more… | top users | synonyms

9
votes
4answers
3k views

Web scoped Timer Job

Could you help me understand the SharePoint timer job? The issue is simple. I should implement a page and put it to the layout folder (the page should be accessible from any web). This page should ...
8
votes
4answers
9k views

Creating a Site collection programmatically throws exception <nativehr>0x80070005</nativehr>

I'm migrating a SharePoint customization from MOSS 2007 to SharePoint Server 2010 (Win 2008), which creates the Site Collection programmatically. Problem is I'm unable to create the Site Collection ...
7
votes
2answers
2k views

Thread Abort Issue with SharePoint SPWeb.Properties.Update()

I have a custom web service that runs in SharePoint 2007 as well as SharePoint 2010. I am currently testing only in SharePoint 2010 in my dev environment. I have some code that does the following: ...
6
votes
3answers
1k views

.Webs and anonymous access?

We're developing a public facing SharePoint site so it have anonymous access. To be able to run custom web parts that access lists/libraries we need to run with elevated privileges which works fine, ...
5
votes
5answers
13k views

User with Full Control Permission is getting Access Denied Message

The user who's responsibility it is to build up and maintain our training portal is receiving the "Access Denied" message when she tries to edit her page. Her permission level is "Full Control". I ...
5
votes
3answers
6k views

FeatureActivated event receiver giving access denied when trying so set WebApplication property

When a Site event feature is activated I am trying to set some properties on the web application. My feature uses this value. public override void FeatureActivated(SPFeatureReceiverProperties ...
5
votes
2answers
387 views

Access Denied in deploy SharePoint Hosted App

I'm trying to build a sharepoint app with type sharepoint hosted app, i'm following the instructions of msdn site: ...
4
votes
2answers
6k views

Error: Access Denied (Including Site Collection Admins) for all users

I have migrated to Sharepoint 2010 successfully but Search service wasn't working every time I get system error when I perform search. Today I have tried following things on server, 1] Application ...
4
votes
1answer
3k views

How to customize the “access denied” sharepoint page

Is there a way to customize the "access denied" page that users get when trying to access a page they are not allowed to access? I need this page to have the same look and feel of the site rather ...
4
votes
2answers
1k views

Create a custom error page to redirect to instead of generic AccessDenied.aspx?

When a user has not been given permissions to a particular site they receive the ugly "Error: Access Denied" page. Is it possible to capture this on one particular team site (via custom webpart) and ...
3
votes
5answers
2k views

Access Denied Retrieving Sites (Webs) Using PowerShell

My goal is to retrieve all the alerts for a given domain user, in SP 2007, then delete these alerts. I have referenced the following script on this site. In DEV environment, when I run the script I ...
3
votes
2answers
3k views

Crawl log error: Access is Denied

i am getting the issue as below when i check the sharepoint log files, The start address https://.**.co.im cannot be crawled. Context: Application 'Search_Service_Application', Catalog ...
3
votes
2answers
2k views

Unable to create site collection programmatically

This problem is somewhat related to this Creating a Site collection programmatically throws exception 0x80070005 question. I cannot create site collections programmatically in Claims-based ...
3
votes
1answer
341 views

SPSecurity.CatchAccessDeniedException = false: Does Sharepoint keep this setting?

When I add SPSecurity.CatchAccessDeniedException = false; this disables the redirection to a login site. Does Sharepoint keep that setting until I set it to "true" or just as long until the object is ...
3
votes
4answers
5k views

Users denied access to site, but have proper permissions

I have looked through the various "similar" questions to this and haven't found a solution. Basically I have a SharePoint site that all users have access to correctly. The users can view this fine, ...
3
votes
1answer
884 views

Access Denied when Adding to SPFarm Property Bag

I am trying to add a new property to the SPFarm property bag but am getting an access denied security exception. As you can see in the code below it is begin ran with elevated privileges, so I don't ...
3
votes
2answers
1k views

FBA User Profile Creation Access Denied

I'm writing this post because I think I've exhausted every other avenue. Basically I have a Claims-based SharePoint site that has Forms Authentication setup. Everything works well, registrations, etc. ...
3
votes
1answer
554 views

SharePoint 2010 - prevent My Site access for some users

I have the situation that we have two SP2010 farms, one for internal and one for internal and external users (different AD's, with trust relationship). Goal: I want to have only MySites for internal ...
2
votes
2answers
5k views

“Access Denied” on SharePoint pages (default.aspx) when permissions have been granted

We've checked our permissions, and our users have read access to the subsites in question. The site collection admins can view all pages just fine. Normal users can access the content by accessing ...
2
votes
3answers
3k views

Crawling file share locations - Access is denied despite sufficient permissions

SharePoint 2010 is crawling many file share locations. The crawls have been throwing up thousands of errors of the type: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) We ...
2
votes
1answer
1k views

“Access denied” while loading the BCS list from the database

I have tried to display data from SQL Server to a SharePoint page through BCS services using SharePoint 2010 designer. While loading I am getting this error: Access denied. You do not have ...
2
votes
1answer
199 views

Will feature receiver get activate if user has no permissions to a site?

Here's what I need...User does not have access to a site (http://myserver/sites/MySite). When user tries to access they are redirected to ugly AccessDenied.aspx. I was researching and found that ...
2
votes
2answers
4k views

Access Denied on Site Collection after Migrating to Claims

I'm running into an issue with some site collections in a SharePoint 2010 web application. After migrating to claims, there are a couple site collections that give Access Denied, even to users that ...
2
votes
2answers
746 views

Access Denied when trying to set formdigestsettings in a list event receiver even when logged in as Farm Administrator account

I am trying to set the formdigestsettings to false within an event receiver (sharepoint 2010). So far I have tried to a) run the code with elevated privileges public override void ...
1
vote
3answers
1k views

Access denied when adding a user to a group RunWithElevatedPrivileges

I am trying to create a site and add users to its group. it creates the site successfully but when I try to add users to groups I get Access denied and no user has been added to groups here is my ...
1
vote
2answers
2k views

Access denied in Sharepoint 2010 HTTP handler (.ashx)

I've developed a Visual Web Part for Sharepoint 2010 that includes an HTTP handler for some AJAX functionality. I followed this guide to accomplish this. I've createad a brand new SP 2010 web ...
1
vote
1answer
2k views

Accessing a list from app web on host site generates access denied

I am trying to get title of a list which is located on Host Site from an SharePoint hosted app by using csom (javascript). I have added permission on Manifest file and chose the list but still getting ...
1
vote
3answers
422 views

Access Denied on Web Part

I followed this article to display sub-sites on site collection's home page. I works fine when user have contribute access. But user with read or view only gets Access Denied. What are my options so I ...
1
vote
1answer
544 views

Problems with unique permissions in a list

I have a list that has unique permissions. I have a user who has permission collaboration in this list, the rest of the site he has no permission. When the user accesses the link list, he gets the ...
1
vote
2answers
141 views

Error when I try to access Term Stores: Access is denied

I'm trying to access term stores using CSOM. In Sharepoint log, i found this error message: Exception occured in scope Microsoft.SharePoint.Taxonomy.TermStore.get_Groups. ...
1
vote
1answer
796 views

Remote Powershell: New-SPUser : Access is denied. (Exception from HRESULT: 0x80070005)

I am running a remote powershell script which attempts to setup a web-application and site collection and then attempts to add a user to that site collection. I receive the following error: ...
1
vote
1answer
3k views

You do not have permission to perform this action or access this resource.<nativehr>0x810200ce</nativehr><nativestack></nativestack>

We are having an odd issue that is driving me up a wall. This is only occurring in the root site collection and it appears to happening MOSTLY (but not only) with people who are in other domains in ...
1
vote
2answers
1k views

SharePoint 2010: Saving file to local folder: Access Denied

in SharePoint 2010, I created a DLL that I deploy to the GAC. From this assembly, I try to save a file then access the file I just saved in a temporary location, such as C:\temp. Everytime I try to do ...
1
vote
3answers
1k views

How to troubleshoot Access Denied without guessing?

I had an issue where users are getting "Access Denied" even though they shouldn't. It turned out to be related to custom code and fixed in the end, but there was a lot of guesswork involved. Is there ...
1
vote
1answer
239 views

Access denied when trying to add front end to server farm. Why?

I'm trying to add another front end server to my wss server farm. For some reason, the 'SP product and technologies configuration wizard' is failing at step 2 - throwing an access denied error. In my ...
1
vote
1answer
38 views

open sharepoint pages from everywhere except on the server

i installed SharePoint from 2003 and 2007 and 2010 in many cases. and usually anything is ok. but several times i cant open sites with explorer today test it and understand that only server cant ...
1
vote
2answers
6k views

User has correct permissions for subsite, but access is denied?

I have a site in SharePoint 2013 with 12 subsites. All but one inherit permissions from the top site. The subsite with unique permissions is named "General". This subsite has 2 new groups: ...
1
vote
1answer
913 views

Access denied How can I fix this?

I have created feature that have a module that have a element file and a default aspx inside of it. The element file looks like this: <?xml version="1.0" encoding="utf-8"?> <Elements ...
1
vote
2answers
308 views

Finding the source of Access Denied errors

Is there any way to check the source of access denied. Sometimes users have access to the page, but do not have access to something on the page, or some code that requires access. For instance, a WP ...
1
vote
1answer
537 views

Get Access to List View webpart without having access to list

So I'm developing an event management system at the moment where there are two user groups, "editors" and "attendees". By registering for an event, the SPUser is added to a list "attendeeList" which ...
1
vote
2answers
576 views

site collection administrators getting access denied error when try to access default.aspx page of their site

Hi i have this strange issue, i have users added as site collection administrator. the user can access site settings page but when try to access default.aspx page which has a custom master page they ...
1
vote
1answer
519 views

Add solution from within event receiver - how to sort out “access denied” errors?

I'm handling the WebProvisioned event in order to add and deploy a solution that's relevant to the site being created. The solution is being created dynamically based on parameters of the site but for ...
1
vote
2answers
706 views

403 Forbidden on publishing page with webpart

We created bunch of web parts for our client. Initially we set up web application on port 1443 with NTLM and Forms authentication. Everything works ok. Now we extended this web app to port 443, with ...
1
vote
1answer
411 views

Weird “Access Denied” - behaviour in read-only mode

In a sharepoint project I save data to a list. When the Administrator sets the database to ReadOnly, I want to capture the Exception that occurs when trying to write to that list and prevent the ...
1
vote
1answer
970 views

RTE markup and Page Layout javascript error

Okay, so I have been running into this issue way too often now and it's starting to really irritate me and I have no idea what triggers these errors. I have made a custom masterpage for my SharePoint ...
1
vote
3answers
819 views

Self Service Create Site - Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Requirement : Web Application "A" - App-pool account : acc1 - Classic Mode Authentication Web Application "B" - App-pool account : acc2 - Classic Mode Authentication Web Application "C" - App-pool ...
1
vote
2answers
212 views

Access denied - but only in one variant. How to determine the cause?

I got a call from a user who was trying to access the English variant of our simple portal and was getting an 'Access denied' message. As it turned out, she really wanted the German version and was ...
1
vote
0answers
24 views

Editing Wiki Page Issue

I believe I have found an odd issue with SP13 wiki pages - and I cannot seem to figure it out. I have a wiki page that has web parts on the page. One web part is connected to another document ...
1
vote
0answers
53 views

Problems with Managed Metadata can cause permission errors for users with permission only from a list on the site?

I am using Sharepoint 2013. I'm having problems with Managed Metadata as this question: Managed Metadata I'm having error with permissions as this question: Permissions Error My problem: I have a ...
1
vote
0answers
110 views

Sharepoint 2013 mangement shell gives access denied error when setting $spsite.FileNotFoundUrl attribute

I want to set default error page in my site using this command. $spsite = Get-SPSite "siteurl" $spsite.FileNotFoundUrl = "pageurl" But '$spsite.FileNotFoundUrl' gives access denied error. I am ...