Tagged Questions

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

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 ...
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 ...
0
votes
1answer
177 views

Redirect users to specific list when users come to access denied page

I have given full control by 'stop inheriting permission' on 1 list(Tasks list) to 1 user(Demo user). So user automatically gets limited access in sharepoint site(www.demo.com) when user open ...
1
vote
1answer
546 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 ...
5
votes
2answers
393 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: ...
0
votes
2answers
86 views

STSADM Denied File Access for Solution Retraction

I'm trying to retract an existing solution for my web app on MOSS 2007. I'm failing the retraction because on the solution properties page on Central Admin 3.0 while the stsadm react job is running ...
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 ...
0
votes
1answer
141 views

Access Denied on Custom Page deployed to Central Administration

I deployed a custom application page to central admin. http://msdn.microsoft.com/en-us/library/ff798467.aspx If I am a farm administrator and the central admin site collection administrator I can ...
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 ...
0
votes
2answers
2k views

Custom job and System.Security.SecurityException: Access Denied

I have a custom job that I'm executing from a Web Part. MySPJobDefinition myJob = new SPJobDefinition(SPContext.Current.Site.WebApplication, myParameters...); //works myJob.Execute(Guid.Empty); ...
0
votes
2answers
478 views

Access denied for Sub Sites

user1 has no access to Site Collection sc1. under SC1 there is a web site ws1 with broken inheritance (unique permissions). user1 has Administrator permission on ws1. but when he browse to ws1 he gets ...
0
votes
4answers
5k views

Users get access denied but “check-permissions” claim they should have access

SharePoint 2010 is giving me a major headache. We have a site collection with a number of sites where we are trying to give certain users access to certain areas of the site. The problem is that ...
1
vote
1answer
525 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 ...
0
votes
1answer
548 views

I receive “Access denied.” error when I try to add any custom .wsp web part to a page (sandboxed/shared environment)

I receive "Access denied." "you do not have permission to perform this action or access this resource" after about 2 seconds when I attempt to "add" any custom .wsp web parts to a page. I am using ...
0
votes
1answer
94 views

Is there a way to list all content deployment jobs on aspx page?

Is there any way to get all local contentdeployment jobs from within web application code? I'm trying to list all jobs on an aspx page in the backend of a site collection, but everytime I execute ...
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 ...
1
vote
2answers
712 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 ...
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
1answer
346 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 ...
0
votes
1answer
755 views

Error: Access Denied when starting sharepoint 2007 workflow

I've done my fair share of searching and still can not find a solution. I've created a simple workflow in Sharepoint 2007 designer. When I check the box "Start this workflow when a new item is ...
0
votes
1answer
4k views

User Permissions Access Denied SharePoint 2010

I have a site collection in SharePoint 2010 and hierarchy of 2 subsites( sitecollection/subsite1/subsite2) under that. I am dealing with subsite 2. Sub site 2 doesn't inherit permissions from its ...
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. ...
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 ...
0
votes
2answers
808 views

Getting an “Access Denied” error when generating a new item (document set) form

I am working on a system in SharePoint 2010 where we have many (>40) custom content types, all derived from Document Set. The system also has some strictly defined user roles, so we have set up our ...
0
votes
1answer
241 views

SharePoint 2007 - Creating a web application in C# gives Error Access Denied at Provisioning

I am trying to create a SharePoint web application (on SharePoint2007) in C#. How differently I tried, it ends up with the same access denied error in the Provisioning step. The error message does not ...
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 ...
0
votes
1answer
212 views

Custom WebService + FBA = 0x80070005 (E_ACCESSDENIED

I've created custom web service in Sharepoint 2010, and custom FBA. I try to connect from a Win Forms app on another computer. 1/ I log into with cookie container (Authentication.Login) 2/ I call ...
1
vote
1answer
413 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 ...
0
votes
2answers
431 views

Securing Application Pages

I have a set of application pages stored in the _layouts virtual directory, that I'd like to secure, in order to prevent unauthorized access to the pages, as well as prevent certain actions from being ...
0
votes
1answer
2k views

SharePoint web application not accessible outside the server machine

I created a new SharePoint web application at port 100. I created a default site collection. When I try to access it from the server machine it opens just fine. When I try to access it from a ...
0
votes
2answers
6k views

Access Denied when activating features implementing SPFeatureReceiver?

We've developed several features who implement the SPFeatureReceiver interface. When trying this out in the development environment it first failed until I found this script from the MSDN: function ...
1
vote
1answer
973 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 ...
0
votes
8answers
5k views

Access denied when code is executed remotely as a wcf service

Following my previous question The folowing code when executed locally as a console app is working fine, But when I include the same code in a WCF service, I am getting Access is denied exception. ...
1
vote
1answer
825 views

Access denied when Importing a Sharepoint list

I have a serious problem when importing a Sharepoint List exported from a test server. During import, the log file encounter many problems of right access like Debug: Security check failed in ...
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 ...
0
votes
3answers
2k views

User to access SharePoint 2010 Subsite only (Vendor Problem?)

I have: SP2010 rented from a company. 1 site collection I have many subsites, however it has come to a time whereby we need only a few people to access 1 specific sub site e.g. Company > USA > ...
1
vote
3answers
825 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 ...
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 ...
0
votes
2answers
537 views

How to resolve the access denied error in SharePoint?

This is the below code which I used to get the web reference using the title of the web site. The problem is the current user is not a member of all sub site so I'm getting access denied error. User ...
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 ...
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
0answers
133 views

Working out what pages are giving Access Denied

I am checking out my Top Pages in central admin for my site. Looking at this I can see that the top page is /_layouts/accessdenied.aspx. Ideally I want to work our why that is so high. Can I find out ...
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 ...
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, ...
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 ...
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 ...
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 ...
0
votes
0answers
113 views

Users denied access to certain site collection until an administrator opens it

We are having a problem with users getting "Access denied" errors when trying to access a certain site collection. These users all have the proper permissions to the site and have accessed it in the ...
0
votes
1answer
1k views

'Access Denied' error while uploading a document to a Library

I am unable to add documents to a Library. When I try to upload a document it says 'Access Denied' instead of a "New Document" form. The group which is getting this error has "Design - Can view, add, ...
0
votes
2answers
854 views

Permission problems (access denied) when listing all user profile images

We have a webapp http://intranet01 (default zone) with an internal zone AAM http://intranet and a public zone http://intranet.company.com. Everyting works fine except one solution. The solution ...