Using Pyramid Analytics and trying to export content of the report (or just export the report to PDF)
After I clicked the "Click here to get file" I got the following error:-
The HTTP request is unauthorized with client authentication scheme 'Negotiate'.
The authentication header received from the server was 'Basic
realm="SERVERNAME"'. ---> System.Net.WebException: The remote
server returned an error: (401) Unauthorized. at
System.Net.HttpWebRequest.GetResponse() at ......
This seemed strange as everything else on the site was working fine.
The problem was with a setting on the IIS that was running the site.
Open IIS, find BIOffice6 under the Sites. Click Authentication and make sure everything is Disabled apart from Asp.Net Impersonation and Basic Authentication. For some reason my setup had Windows Authentication enabled which was causing the error. E.g you settings should look like:-