Skip to main content

Posts

Showing posts with the label access denied

Sorry, Something went wrong - SharePoint Search Results

How many times have we seen this in SharePoint 2013! I was working on custom search results page that had custom display templates. These display templates weren't complex and were almost similar to OOB templates. Everything seemed fine, I was getting results based on my query and managed metadata settings. All looked well until users started hitting these search pages. They were greeted with the message "Sorry, something went wrong". Search refiners in the page was working fine but not the results webpart. I had no clue what was going wrong. I tried ULS logs and found access denied error on the .js file that gets created part of the display template while logging in to the site as an end user with read access. I saw similar error in fidler while logging in to the site as an end user. Here are the errors I found using fiddler and IE dev toolbar: "file was blocked due to mime type mismatch" "Access denied. Item does not exist. It may have been dele...

WSS Backup failed - Cannot open backup device

I was trying to backup my WSS 3.0 farm when I encountered this error: Object SharePoint_Config failed in event OnBackup. For more information, see the error log located in the backup directory. SqlException: Cannot open backup device '\\servername\backup\spbr0001\0000001.bak'. Operating system error 5(Access is denied) I guessed this would be because of permissions with the backup folder. I had created a shared folder in my server where WSS was installed. I had given Share and security permission "Change/Modify" for the Network Service user. But that did not work. I followed these steps and it solved my issue: 1. Set the SQL Server (MSSQLSERVER) Windows service to run as a domain account and restarted the service and IIS. 2. Granted "change" Share permissions on the backup folder for the user that runs the Central Admin application pool, db SQL account, and WSS Timer service. 3. Granted "Modify" Security permission on the backup folder for the user...