Skip to main content

Access denied when editing the content source

The problem
You get access denied when you try to edit the content source in Microsoft SharePoint 2007.
I ran into this error after I changed the "Farm Search Service Account".
Application error when access /_layouts/searchsspsettings.aspx
Error=Access is denied.
(Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

The cause could be
WSS_WPG group account does not have the correct permissions to the %windir%\Tasks folder on the computer that is running the indexing service.

Fix the problem
Add the WSS_WPG group to the Tasks folder.
  1. Log on to the servver that is running the indexing service with an account that has administrative permissions.
  2. Do the following step (2) if you don't have the security tab in the properties section of the %windir%\tasks folder:
  3. At the command prompt, run: attrib –s %windir%\tasks
    Note: If Windows Explorer is open when you make this change, you will not see the extra tab in Windows Explorer. If Windows Explorer is already open, close and then reopen it before you perform step 3.
  4. Right-click the Tasks folder, and then click Properties.
  5. In the Tasks Properties dialog box, click the Security tab, and then click Add.
  6. In the Select Users, Computers, or Groups dialog box, type WSS_WPG in the Enter object names to select box, and then click OK.
  7. Grant the following permissions for the WSS_WPG account, and then click OK:
    ◦Read
    ◦Write
  8. IISRESET.
  9. Run attrib +s %windir%\tasks to reset the Tasks Property back to the default view.

Comments

Popular posts from this blog

Error when running Register-SPAppPrincipal

Problem You get the error, "Cannot find an SPWeb object with Id or Url" , when trying to get the RootWeb of the SPSite object when you register a new app with the Register-SPAppPrincipal PowerShell cmdl. Register-SPAppPrincipal -NameIdentifier $appPrincipalIdentifier -Site $site.RootWeb -DisplayName 'ProviderHostedApp' The cause could be The user who is running the script is NOT a farm administrator. Fix the problem Add the user to the farm administrator group

Enable PowerShell commandlets for SharePoint 2013 in PowerShell ISE

Open the PowerShell ISE and create a profile by running the following code: if (!(test-path $profile.AllUsersAllHosts)) { new-item -type file -path $profile.AllUsersAllHosts-force } Open the newly created profile with the following command: psEdit $profile.AllUsersAllHosts The profile will be open in the PowerShell ISE. Add the following code to the profile: (If the profile for some reason doesn't open then you can get it here: C:\Windows\System32\WindowsPowerShell\v1.0\profile.ps1) if ((Get-PSSnapIn -Name Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue) -eq $null ) { Add-PSSnapIn -Name Microsoft.SharePoint.PowerShell } Save the profile. Next time you open the PowerShell ISE you will have all the Microsoft.SharePoint.PowerShell commandlets.

No effect when adding a domain name to an existing SAN certificate

You have an existing SAN certificat installed in yor IIS and you want to add a domain name to the certificate. Problem When you install the updated certificate in the IIS the new domain name doesn't appear in the certificate when you are viewing the certificate from the Security report (the lock) next to the address bar in the browser. Fix the problem Check if the "Print Spooler" and "Windows Remote Management" Services are started or not. Delete the old certificate from the IIS Import the new certificate to the IIS Run IISRESET /stop Run net stop http Run net start http Run IISRESET /start Verify that the "Print Spooler" and "Windows Remote Management" Services are started or stoped depending on the result in step 1.