Questions tagged [401]

HTTP status code 401 represents Unauthorized access

Filter by
Sorted by
Tagged with
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 ...
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 ...
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 ...
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 ...
4
votes
4answers
15k 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 ...
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 ...
4
votes
1answer
5k 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,...
3
votes
1answer
1k 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 ...
3
votes
2answers
12k 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 ...
3
votes
1answer
802 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
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'...
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....
2
votes
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 ...
2
votes
1answer
156 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-...
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-...
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 ...
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
0answers
59 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://...
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 ...
2
votes
2answers
427 views

401 IIS Error for SearchAdmin.asmx

I have a three server SharePoint 2007 MOSS environment where my IIS logs continue to get pounded with 401.1 and 401.2. These logs are filling up so much that they consume my HDD. I can tell from ...
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/...
1
vote
1answer
660 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 ...
1
vote
2answers
72 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 ...
1
vote
2answers
348 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 ...
1
vote
1answer
785 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
2answers
925 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 ...
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 ...
1
vote
0answers
34 views

Odata query returns 401

I'm working with the SharePoint 2016 OnPremis OData Rest Api. The filter parameter is defined followings: $filter=Art/Value eq 'aString' and year(Received) eq 2019 Art is a choice value and Received ...
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
1answer
421 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
150 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
175 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
265 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
81 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
162 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
739 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
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 = "...
0
votes
1answer
2k views

Blank 401 Unauthorized page when authentication fails

I have a MOSS 2007 webapp with 3 sites: Root web with anonymous access enabled Subsite with anonymous access enabled Subsite with anonymous access disabled When attempting to open site #3 while not ...
0
votes
2answers
15k 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
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
0answers
9 views

401 Unauthorized after OAuth 2 authentication

I am developing a native app (WinInet/C++) and after completing OAuth2 as described here and getting auth token, try to send any request to my SharePoint but get 401. The site is SharePoint online (...
0
votes
0answers
13 views

Jquery and CSS file not load in Firefox only

We are testing some JQuery function on SharePoint 2016 on-premise farm. The same function works fine for Chrome and IE. We can directly open the browser and open the site without type in login/...
0
votes
0answers
17 views

Encounter 401 error when try to update a list item using Python

So I am trying to write a Python script that will be able to update a list item in company's SharePoint (intranet), and for some reason in the script when I do the "post request" (for updating item) ...
0
votes
1answer
133 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
231 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
683 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
0answers
117 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
1answer
435 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 ...