Recently I face a strange issue. I created a new web application. And when I navigate to any page I got below Error:
Sorry, this site hasn't been shared with you.
When I look into this I found my URL was bit strange. It was routed trough /_layouts/15/start.aspx page which causes me Access Denied and my URL looks like below:
I found that this is occured due to a feature "Minimal Download Strategy". you can find this feature at
Site Settings > Manage Site Features > Minimal Download Strategy.
Original source: More Info
Recently I was working on sending mail using smtp server where I stuck on below error: IIS/SMTP - emails are stuck in mailroot/Queue ...
you will see this error when you try to add SharePoint Hosted app : Sorry, apps are turned off. If you know who runs the server, tell them...