Access Denied is a security process where an unauthorized user tries to access a resource that (s)he doesn't have access to.
7
votes
4answers
2k 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 ...
7
votes
2answers
1k 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:
...
5
votes
4answers
4k 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 ...
5
votes
1answer
150 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
3answers
812 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, ...
4
votes
1answer
2k 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
3answers
3k 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 ...
3
votes
5answers
934 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
41 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
3k 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 ...
3
votes
4answers
3k 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
2answers
545 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.
...
2
votes
2answers
3k 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
2k 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
607 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
175 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
1answer
166 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 ...
2
votes
2answers
78 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 ...
2
votes
2answers
1k 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 ...
2
votes
2answers
2k 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 ...
1
vote
3answers
588 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
3answers
321 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 ...
1
vote
2answers
1k 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
3answers
286 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
1k 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
503 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
1answer
192 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
91 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 ...
1
vote
1answer
134 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
2answers
59 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
134 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
1answer
269 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
471 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
287 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
593 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
2answers
200 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
1answer
26 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
1answer
239 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
370 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
0answers
111 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 ...
0
votes
8answers
3k 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.
...
0
votes
3answers
1k views
Can't access sharepoint site from local workstation.
I can access a sharepoint site from the server. I can't access it from a desktop client.
I can indeed ping the server, and there is a response, but from a browser trying to access the sharepoint ...
0
votes
2answers
297 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
2answers
323 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
756 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
3k 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 ...
0
votes
1answer
877 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
1answer
240 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 ...
0
votes
1answer
299 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 ...
