Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [401]

HTTP status code 401 represents Unauthorized access

0
votes
1answer
611 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/...
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 ...
5
votes
6answers
9k views

SaveBinaryDirect Throws Unauthorized When the Client Object Model Works fine

I have decided to use the SaveBinaryDirect Method to upload documents to the sharepoint site due to not having the request/file size limitations that the client object model has. The application does ...
1
vote
1answer
1k views

http:<server>/_api/web/webs 401 unauthorized

i'm using a jquery script embedded in a SharePoint page. i am able to load the results of a /_api/web/webs call to REST as myself (site collection admin). However, anyone that visits the page that is ...
0
votes
1answer
85 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
2answers
14k views

401 Error Unauthorized when connecting to sharepoint 2013

i have my sharepoint setup, and am rolling it out to the users. on some PCs, i've experienced "401 Unauthorized" when the user is trying to connect. ie I have full access, and have granted access to ...
0
votes
1answer
206 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 ...
1
vote
2answers
3k views

SharePoint Server 2016 Web App - 401 Unauthorized

I am running SharePoint Server 2016 with two servers: an application and database server. I have created a new web application and site collection (URL is http://mysite.local/sites/site1) in ...
1
vote
2answers
324 views

401 Unauthorized when attempting to open site in Designer or form in InfoPath

I've got a brand-new 2016 environment that is having some authentication issues. Currently, I cannot open the (only) site in SharePoint Designer, nor can I edit its forms in InfoPath. When I try, I'm ...
3
votes
1answer
916 views

How to resolve 401 Unauthorized in SharePoint 2013?

I am working with SharePoint On premises environment. I am facing a very strange issue while using the SharePoint site. Whenever I open any URL it automatically insert following string the URL ...
1
vote
2answers
69 views

Does code status 401 slow down page performance? [closed]

I have two identical (well, almost) environments and one is slower than the other one. I have been testing a OOTB site collection on each environment and one performs slower than the other. Using ...
0
votes
0answers
102 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 ...
4
votes
2answers
5k views

401 Unauthorized caused by custom master page

just customized a master page for the new SP 2013 Foundation. Deployment, activation etc. works fine (i deploy it using a .wsp built with VS2012) but every time im trying to access my sp-page with the ...
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 ...
0
votes
1answer
178 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
382 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://...
1
vote
0answers
135 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 ...
0
votes
1answer
402 views

HttpWebRequest Sharepoint API Authentication FedAuth 401

I already asked this question on StackOverflow Question on SO, but now I think I should have ask my question here in the first place. I did some changes since I ask for help on SO, and my question is ...
1
vote
0answers
171 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
243 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, ...
4
votes
1answer
4k views

401 Unauthorized when trying to connect to SP 2013 server 90% of the time from a Windows 10 machine

Setup I have a SharePoint 2013 server using what I assume is standard HTTP authorization for access. I have no problem accessing it from the server itself, as well as from various machines outside,...
1
vote
1answer
737 views

401 Unauthorised error — css & js files in https site

I have a SharePoint 2013 web application with only one zone in AAM(default configured with https). The application works fine but I see 410 errors for a few css & js files. These files are under ...
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. ...
6
votes
1answer
5k views

How to customize the “access denied” SharePoint Page

Is there a way to customize the "access denied" page that users get when trying to access a page they are not allowed to access? I need this page to have the same look and feel of the site rather ...
0
votes
1answer
803 views

Unauthorized Error using web api with REST in different site collection the add-in isn't deployed at

I'm trying to write a sharepoint 2013 add-in that reads certain list info from a bunch of site collections i get first and write into an array, however whenever i try to access any sitecollection but ...
0
votes
1answer
2k views

(401) Unauthorized SharePoint - C# Console Application Code

Unable to upload the documents in SharePoint Online using a console application. Any solution to this problem? public static void SaveFileToSharePoint(string fileName) { string Url = "...
15
votes
3answers
29k views

Getting 401/403 in High Trust App for Sharepoint 2013

I have this Cloudshare environment consisting on 3 machines: One for Sharepoint 2013 (this is where I develop with VS2012 installed) Another for SQL Server 2012 And another for Active Directory I'm ...
1
vote
0answers
155 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 ...
2
votes
4answers
2k views

SharePoint 2010 Insights (PerformancePoint): '401 Unauthorized' error on invoking 'Run Dashboard designer'

Environment: SharePoint 2010 on Windows 2008 R2 Standard + SQL Server 2008 R2 I am trying to setup the BI infrastructure Lab as outlined in this article: http://technet.microsoft.com/en-us/library/...
4
votes
4answers
14k views

Client Object Model gives 401 when impersonating logged in user - MVC App

I have an ASP.NET MVC app that connects to SharePoint 2010 via the Client OM. When I run ExecuteQuery(), I get a HTTP 401 error from SharePoint. I have the MVC app set to impersonate the logged in ...
1
vote
1answer
648 views

SharePoint site accessed via AAM url causes 401 Unauthorized error

I have a internet mapping for a SharePoint site that works fine. However, the same site's WCF REST service causes a '401 Unauthorized' error when accessed via a coded functionality. The same code ...
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://...
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 ...
2
votes
1answer
1k views

ListData.svc with complex filters, Internet Explorer, 400 Bad HTTP request,

I have a problem understanding how ListData.svc can be debugged using IE8 and IE9. I have a URL that looks like this: hostname:8181/_vti_bin/listdata.svc/ImageBanners?$filter=endswith(Path,'TopLeft'...
0
votes
1answer
390 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 ...
1
vote
2answers
922 views

Blog Subsite giving 401 UNAUTHORIZED Message

I need help and it would be great if anyone suggest/help. The Problem is: We added a blog sub-site in a SharePoint 2010 publishing site. now the site is browseable in the authoring version. But it ...
2
votes
1answer
10k views

SharePoint 2013 Workflow Authentication Error 401

I'm trying to let a SharePoint 2013 workflow run as a regular user (not a site collection administrator). When starting the workflow it fails right away with the error: RequestorId": c0c2fcc9-abfb-...
10
votes
6answers
8k views

SharePoint 2010 custom 401 error page on authenticated site

I'm trying to create a custom 401 error page for my site. The setup is a SharePoint 2010 enterprise site with subwebs. The entire solution requires authentication (no anonymous access). I've tried ...
3
votes
1answer
800 views

SharePoint 2010 asmx Web Service throws 401 after 10 hours

We've recently upgraded our existing SharePoint 2007 site to SharePoint 2010. We have a couple of internal and external sites that make use of the asmx web services provided by SharePoint. We ...
2
votes
1answer
708 views

Sharepoint Search not crawling Emails with attachments - Failing with 401

I am attempting to search Exchange public folders via SharePoint Enterprise Search. I have a content source pointing at my exchange server, and this successfully indexes some emails. However, any ...
2
votes
1answer
154 views

High Trust Provider-Hosted apps on cloudshare

I do not have sufficient resources to create my own SharePoint 2013 farm and hence started using the trial environment from CloudShare (http://www.cloudshare.com). I wanted to get a hands-on on high-...
0
votes
1answer
573 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 ...
0
votes
1answer
129 views

Running asp.net app that accesses sharepoint web services on same server - getting 401 Unauthorized

I have an asp.net appliation that makes use of sharepoint web services that is running on the same server as my sharepoint installation. I was using computername:portnumber to access the site, but ...
0
votes
3answers
300 views

Web part giving 401 on public facing site

I have created a Blog in my site and change its layout. I'm using a webpart which is giving 401 error on public facing site. My Code is: public void CustomBlogLayout() { SPSite thisSite = ...
0
votes
2answers
964 views

Password required? The remote server returned an error: (401) Unauthorized

I'm trying reference a sharepoint list item in my aspx page using the Sharepoint Client Object Model. I have been granted 'Full Control' privileges on this list. The problem is that I can only ...
2
votes
1answer
194 views

Turn on Anonymous blog comments

I've created an anonymous blog subsite. My root site is also anonymous. I can access default.aspx anonymously, but not /Lists/Posts/Post.aspx?ID=1 I've tried breaking permission inheritance and ...
3
votes
2answers
11k views

401 - unauthorized on root site collection

Just installed my SP2013 Foundation Preview and i receive a 401 Error if im trying to access the server with a domain account. I added it to the Server Roles as Owner, Member and Site Collection ...
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 ...
2
votes
1answer
3k views

Get Error 401 when trying to download a document from a library programatically

I'm trying to download a document with this code : using (Impersonator impersonator = new Impersonator()) { siteURL += "?NoRedirect=true"; System.Net.WebClient _WebClient = new System....
1
vote
1answer
36 views

Could 11.5 Million 401's be causing bottlenecks?

I'm going to preface this with a warning: My knowledge about servers and networking is VERY limited, and if you provide me with technical answers, I probably won't understand much until I research ...