My .NET application heavily relies on SharePoint 'Check-in' and 'Check-out' operations.
There are two servers: serv1 and serv2
On serv1, only SP2010 is installed. My code is able to check-out and check-in files successfully.
On serv2, SP2010 and SP2013 are installed. The same code works fine with SP2013. But fails to check-out from SP2010.
(Please advise on what more information is needed to resolve this issue?)
- I am doing operations on files in document library.
- Error from log: SharePoint HTTP 500 Errors and IIS Failed Request Tracing
Snippet from my source.
static SPLists.Lists listService; listService = new SPLists.Lists(); listService.Credentials = new System.Net.NetworkCredential(strSharepointUserName, strSharepointPassword, strDomain); listService.Url = strSharepointServer + strPath + "/_vti_bin/Lists.asmx"; bool myResults = listService.CheckOutFile(strDestination, "true", "20 Jun 2006 12:00:00 GMT");
- When I change the library setting (from Check-out needed to not required) on serv2 SP2010 it starts working.
- I checked the server and SharePoint 2010 and 2013 are installed on different servers.
Snippet of "uaterroulslogs.log"
Error encountered in background cache check System.UnauthorizedAccessException: The current user has insufficient permissions to perform this operation. at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2c.<RunOnChannel>b__2b() at Microsoft.Office.Server.Security.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2c.<RunOnChannel>b__2a() at Microsoft.Office.Server.Utilities.MonitoredScopeWrapper.RunWithMonitoredScope(Action code) at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.RunOnChannel(CodeToRun codeToRun, Double operationTimeoutFactor) Permission check failed for WFE web app user: permission check: '0000000000001000' term store: 'EDRMS Managed Metadata Service'.