8 votes

The context has expired and can no longer be used. (Exception from HRESULT: 0x80090317)

Resetting the environment with an iisreset did the job.
Koen van der Linden's user avatar
7 votes
Accepted

How do I disable "Get a Link" & "Share"

You'll miss out of the Share part of SharePoint, but sharing can be disabled. On the site collection you want to restrict: Click on the gear and select "Site Settings" Click on "Site Permissions" ...
Zach's user avatar
  • 878
6 votes
Accepted

Can I use elevated permissions using JSOM, CSOM, or REST?

Sorry, but there is no way to run at elevated privileges from the client-side, and if there was a way, it would be roughly 0% secure. Depending on what you're trying to achieve, there are some ways ...
Joe McShea's user avatar
  • 1,515
5 votes

A user seemingly modified a document after their account was deactivated

I would look at possibly a workflow that she initiated before she left that had a next step that was triggered in July. I think I have seen this behavior in approval workflows before.
ghangas's user avatar
  • 1,264
4 votes
Accepted

In what Security Zone should SharePoint Online (Office 365) be added?

Microsoft suggests using the default security settings of Internet Explorer for Office 365. But if problems comes with singing in/out, editing documents, etc, then you need to add URLs to both ...
martusha's user avatar
  • 665
4 votes
Accepted

Cannot Login to SP Site from application Server - Login prompt continually

You might be victim of LoopBackCheck. Possible solutions: Bypassing your proxy server for local addresses (Source) Adding a team Web site to the list of trusted intranet sites (Source) SharePoint ...
Aakash Maurya's user avatar
4 votes

Sharing folders on SharePoint and variance between "Shared with" and "Advanced"

'Shared With' contains permissions inherited from parent sites, SharePoint Groups, and AD Groups that have access. When you click advanced, it will show these groups and individual users that have ...
James Grizzle's user avatar
4 votes

Lists that can only be opened by specific users

Yes this can be achieved using creating different views with filters , in your scenario create a People Picker Column to save the value of line managers in each list item. after that create a view ...
Esaki's user avatar
  • 1,264
3 votes

The context has expired and can no longer be used. (Exception from HRESULT: 0x80090317)

Stop the Timer service. To do this, follow these steps: Open Services Right-click SharePoint 2010 Timer, and then click Stop. Close the Services console. In Windows Explorer, locate following folder: ...
Shivendra Patel's user avatar
3 votes

The context has expired and can no longer be used. (Exception from HRESULT: 0x80090317)

After I cleaned the cache the error below stopped: Content deployment job 'Remote import job for job with sourceID = d70b63f3-89f5-42e2-8f5d-8457d29cdfe8': Import in progressThe exception ...
Barry MSIH's user avatar
3 votes

What's the best practice for sharepoint security update?

I communicated with Stefan Gobber who is escalation engineer at Microsoft about SharePoint security fixes through MU/WU he said SharePoint fixes for server products will continue to be available via ...
Morgan J's user avatar
3 votes
Accepted

How to save the list item with document for anonymous user?

One way to give write permissions to anonymous users for a given list is to use PowerShell: $web = Get-SPWeb http://SiteAddress $list = $web.Lists["List Name"] if(-Not($list....
Evariste's user avatar
  • 9,751
3 votes

Boss needs SharePoint site only he can access (so not even administrator can)

I would follow your stated procedure of removing yourself from the library. Then advise them to password protect the word/excel files that contain sensitive information. Lastly encourage them to ...
Jammin4CO's user avatar
  • 1,417
3 votes
Accepted

What exactly "manage trust" in CA is doing? (on-premise)

Manage trust is only needed if you like to consume/connect two different/several SharePoint farms to be able to communicate or share some services between them. If you only have one farm, you don't ...
Christoffer's user avatar
  • 9,721
2 votes

How to repair "The server farm account should not be used for other services. "

I don't agree with the proposed solution of managing this in CA. Dist. Cache should be managed via PowerShell. Here's what I've used: Change Managed Account for Distributed Cache: https://technet....
Jonathan's user avatar
2 votes

Total number of unique permissions per list

I recommend to use a count variable to get the total count of unique permission for the list. foreach ($item in $list.Items) { if($item.hasuniqueroleassignments -eq "True") { $count++...
Rajdeep Chakraborty's user avatar
2 votes

Security Error while doing REST update on the SP list

The original error indeed occurs when digest has been expired or it could not be retrieved ( e.g. SharePoint:FormDigest control is not available on the page) on the page. There are some another ...
Vadim Gremyachev's user avatar
2 votes

Sharepoint 365 - How to provide access to a service account?

To grant access to SharePoint to an internal account it must be a user in Office 365 with a licensed assigned. Once you assign the license they will be available to grant access inside SharePoint. ...
Jesus Shelby's user avatar
  • 10.9k
2 votes

Allow only certain users access to a site

SharePoint makes it easy to do as each "subsite" contains its' own permissions. In order to achieve your request, you would break inheritance of that subsite from the parent, and only keep the groups ...
balowknee's user avatar
  • 156
2 votes

spsecurity RunWithElevatedPrivileges

SPSecurity.RunWithElevatedPrivileges always executes the code under Application Pool Identity. So you must ensure that Application Pool Identity has proper permissions over site, otherwise you will ...
SP Developer's user avatar
  • 3,085
2 votes

spsecurity RunWithElevatedPrivileges

SPSecurity.RunWithElevatedPrivileges reverts to the identity of the application pool (among other things). So, the code runs under the new identity you specified. Also, if you did change the app pool'...
Evariste's user avatar
  • 9,751
2 votes

Sorry you dont have access to this page

Check the user policy for the web application which occurs the issue in the Central Administration –>”Manage Web Applications”->”User Policy” and make sure the account has “full control” access. Check ...
software dev's user avatar
2 votes
Accepted

SP2013 Restore inheritance on document library

If you reestabilish the inheritance, the folder with broken inheritance will keep the broken inheritance. So, it doesn't break unique permissions on children. Anyway, you can try it yourself simply ...
Gyonder's user avatar
  • 1,183
2 votes
Accepted

DisableLoopbackCheck and DisableStrictNameChecking

MSKB896861: You receive error 401.1 when you browse a Web site that uses Integrated Authentication and is hosted on IIS 5.1 or a later version Q: What are these configurations meant for? A: They ...
Mike's user avatar
  • 12.2k
2 votes

Remove User from a Site through CSOM

I had a similar issue where I had to just remove a specific user from the site (Web). Following code did it: var roleAssignments = clientContext.Web.RoleAssignments; ctx.Load(roleAssignments, r =>...
Abbas's user avatar
  • 159
2 votes
Accepted

Does the custom 404 error page cover all error pages?

Below given solution covers all SharePoint error pages To configure SharePoint Foundation server or SharePoint Server 2010 to point to a custom 404 error Web page, follow these steps. ...
Hardik's user avatar
  • 7,733
2 votes
Accepted

In Sharepoint 2010 Service accounts permissions on SQL server and databases

Spfarm account and spadmin account following accounts required the SecurityAdmin and DB_Creator on SQL Server.When you provision any service using the farm account then SharePoint will set the ...
Waqas Sarwar MVP's user avatar
2 votes

What's the best practice for sharepoint security update?

Trevor already give you details on this. I tell what we do. We prefer CU on security patches but if there is service pack then that is our priority. We never install every cu unless it fix one of the ...
Waqas Sarwar MVP's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible