Questions tagged [401]

HTTP status code 401 represents Unauthorized access

2
votes
2answers
4k views

401 Unauthorized before authentication

Environment: SP2010 Enterprise, one server with separate SQL This just cropped up on a server that has been working flawlessly for months. I created an account for a new external user, but when they ...
0
votes
1answer
102 views

SharePoint 2016 Anonymous access user 401 unauthorized

I am really baffled by this issue. I have a site with two collections. For instance example.org/pages/home.aspx and example.org/sites/test/pages/hometest.aspx. For the 1st site anonymous users get a ...
0
votes
1answer
220 views

401 Unauthorised access from asp.net Application WebResponse

When I am trying to access(view) a sharepoint image from asp.net application I am getting 401 Unauthorised error. I am using following code: Dim webReq As WebRequest Dim webRes As ...
0
votes
1answer
638 views

SharePoint: Https WebClient Request occurred “The remote server returned an error: (401) Unauthorized”

I had the below code in a SharePoint Webpart and it worked properly: using (var wb = new WebClient()) { wb.UseDefaultCredentials = true; var data = wb.DownloadData(@"http://sharepointSite/...
0
votes
1answer
400 views

Trying to access a list from another web application, but getting an error 401 (Unauthorized)

I'm a Sharepoint beginner, I'm trying to access a list which is in another site collection under another web application in the same farm. I'm working with pnp core js library. new pnp.Web("http://...
0
votes
1answer
180 views

Facing Error while accessing SharePoint site list, The remote server returned an error: (401) Unauthorized

I am getting following error "The remote server returned an error: (401) Unauthorized." While I'm trying to read a website hosted in SharePoint. I have tried following code to access my ...
0
votes
1answer
105 views

SharePoint 2010 Client Object Model - 401 on SubSite but not root

I am trying to use the CSOM to access data from a root site, then loop through its subsites to get into files that are stored in its lists. When I go to create the ClientContext, it works fine with ...
0
votes
1answer
392 views

401 error accessing SharePoint in Firefox on mac

I'm currently getting a 401 error when I try to access my SharePoint site on Firefox on mac. Usually when I login on a windows computer using FF I'm prompted to enter credentials, but for some reason ...
0
votes
1answer
575 views

Connecting with SSRS using XML Data Source leads to 401 Unauthorized

I am currently working on Report Builder 2.0 with Reporting Services 2008 and am trying to connect to a SharePoint 2013 site using an XML data source query. SharePoint and Report Builder/Services are ...
2
votes
0answers
58 views

SP url - Problem with alias

I have a problem when using an alias to access my Sharepoint (2013) site through code. I want to retrieve a document from a SharePoint library. In my browser address bar I can type either : http://...
1
vote
0answers
143 views

SharePoint prompts for credentials again and again for 1 user only

Ours is a SharePoint 2010 environment. Authentication is based on LDAP. Since few days a user is not able to login into the intranet application. He gets prompt for login again and again. I checked ...
1
vote
0answers
172 views

I received error 401 : unauthorized when accessing my web app API

I'm trying to run one of my web app and it keep prompt me for user and pw thrice. then i tried running the API link by itself, it gives me: "sorry, this site hasn't been shared with you" (access ...
1
vote
0answers
253 views

SharePoint IIS/ URL errors

This issue started when we were going to reroute our main site (web app) to a new domain. It didn't on my end so I tried to pull it back - recalling and extending the header, changing bindings, ...
1
vote
0answers
80 views

Web service reference getting 401 only for non-local request

I am working on an event receiver in SP2010 environment. It is a 2 sp servers and 1 SQL topology. Both sp servers run exactly same services and service applications. Both have MS office installed. ...
1
vote
0answers
157 views

Accessing SharePoint 2010 (using TMG/NTLM auth) via CSOM using C#

I can't seem to get past a 401 unauthorized error when using C# to access SP2010 CSOM. The auth of SP2010 is using TMG/NTLM. I have tried this blog, but still getting 401. Anyone have luck with this ...
1
vote
0answers
301 views

<asp:loginview> gives me 401 UNAUTHORIZED error when I try and authenticate

I'm working my way through Randy Drisgills book 'Professional SharePointBranding and User Interface Design' In Ch8 p232 Step5 he explains how to use the funtion to hide the Ribbon from Anonymous ...
1
vote
0answers
737 views

How to set up custom 401 error page or redirect in WSS3 SP2 with Windows Auth

I've got a WSS3 sharepoint site that requires windows authentication both in IIS and via the Sharepoint site. What I would like to do is in the case that a user does not provide valid AD credentials ...
0
votes
0answers
110 views

404, 401, 301, blank pages, People Picker errors on sites created on brand new installation

I just set up a brand new single-server 2016 environment but have run into a puzzling issue with it. Any site collection and sub-site I create have blank home pages with only the SP icon, top nav, and ...
0
votes
0answers
577 views

Allowing Anonymous access on subsite (Blog)

I have enabled anonymous access from central administration. Now my site is accessible from public facing url but my blog is still not accessible. Check: wwwqa.nextdocs.com/en-us/blogs. I also ...