Forum Discussion
Riley Hale
Dec 01, 2016Brass Contributor
Internal Server 500 Error Sharing Document Library
In SharePoint online we have a need to share a document library with the "Everyone" group without granting permissions to the entire site. We're using the modern document interface, and the explicit sharing part of this works just fine.
When the user opens the document library, clicks on the file, opens the information panel, the preview begins to render but then quickly resolves to a 500 Internal Server Error. This happens for any user who does not have rights assigned at the site level and on all file types. If I put the Everyone account in the Site's visitors group (Read Access) everything works as expected (no 500 internal server error). Having the Everyone account in the Visitors group is less than ideal in this scenario.
Does anyone have an idea what else I may need to grant read permissions on to avoid this internal server error?
Thanks.
Our organization ended up opening a support ticket with Microsoft to help with this problem. We didn't necessarily correct the issue, but we tracked it back to a custom site column that had a calculated default value associated with it. The column was setting a default value for the current Fiscal Year based on the current date. For some reason if the user did not have at a minimum site-level access the page would return the Internal 500 Server error.
To work around this we simply removed the default calculated value for this particular document library that needs to be shared out to the "Everyone" group.
- Cynthia WalbyCopper Contributor
Hi folks,
Not having this error per se, but similar relating to an intermittent issue with the Preview not working. Using a modern library that only contains PDF files with all users having VIsitor access. The user clicks on details for the document, and the pane opens up, but you only see the pdf icon, it never resolves to showing the preview (see below image). Again, this is intermittent and doesn't seem to occur when using classic view.
On a different note, why has Microsoft now required users to actually click on the "details" buttons in order to preview, instead of having teh details show up when you click on the ellipses (...)?? In SP2013, this was a time saver and many of my users loved having this feature. Now their not so happy, having to click twice to get to details from dropdown, or move their mouse to far right in order to open details.
Thanks much for anyone sharing if having similar pains around the intermittent preview issue,
Cindy
Internal Server Errors is something Microsoft will need to investigate. You shouldn't get them even if you're doing something "wrong" :) Open up a support case within the O365 Admin Portal.
- Riley HaleBrass Contributor
Our organization ended up opening a support ticket with Microsoft to help with this problem. We didn't necessarily correct the issue, but we tracked it back to a custom site column that had a calculated default value associated with it. The column was setting a default value for the current Fiscal Year based on the current date. For some reason if the user did not have at a minimum site-level access the page would return the Internal 500 Server error.
To work around this we simply removed the default calculated value for this particular document library that needs to be shared out to the "Everyone" group.
- Wessel Du PlooyCopper Contributor
Ensuring the time zone in Office 365 (Check file attachment time in SharePoint, if you have no access to Office365 setup) is the same as the time zone used on the VM that runs your AOS should solve the problem. It worked for me.