Bug 53403 - The requested feature is not implemented: System.Net.WebResponse.get_SupportsHeaders ()
Summary: The requested feature is not implemented: System.Net.WebResponse.get_Supports...
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: System ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-03-16 16:43 UTC by admin
Modified: 2017-04-03 16:02 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description admin 2017-03-16 16:43:18 UTC
Hey,
When i' m trying to use the sharepoint client library(logging in, using the client context at all) on debian server it always tells me that "The requested feature is not implemented".
Would it be possible to implement the System.Net.WebResponse.cs class so that i can use the sharepoint client library on my server?
Thank you!

Stack trace:
Unhandled Exception:
System.Net.WebException: The requested feature is not implemented. ---> System.NotImplementedException: The requested feature is not implemented.
  at System.Net.WebResponse.get_SupportsHeaders () [0x00000] in <filename unknown>:0
  at Microsoft.SharePoint.Client.Idcrl.IdcrlUtility.GetWebResponseHeader (System.Net.WebResponse response) [0x00000] in <filename unknown>:0
  at Microsoft.SharePoint.Client.Idcrl.SharePointOnlineAuthenticationProvider.GetIdcrlHeader (System.Uri url, Boolean alwaysThrowOnFailure, System.EventHandler`1 executingWebRequest) [0x00000] in <filename unknown>:0
  at Microsoft.SharePoint.Client.Idcrl.SharePointOnlineAuthenticationProvider.GetAuthenticationCookie (System.Uri url, System.String username, System.Security.SecureString password, Boolean alwaysThrowOnFailure, System.EventHandler`1 executingWebRequest) [0x00000] in <filename unknown>:0
  at Microsoft.SharePoint.Client.SharePointOnlineCredentials.GetAuthenticationCookie (System.Uri url, Boolean refresh, Boolean alwaysThrowOnFailure) [0x00000] in <filename unknown>:0
  at Microsoft.SharePoint.Client.SharePointOnlineAuthenticationModule.GetSpoAuthCookieAndUpdateRequest (System.Net.WebRequest request, Microsoft.SharePoint.Client.SharePointOnlineCredentials spoCredentials, Boolean preAuthentication) [0x00000] in <filename unknown>:0
  at Microsoft.SharePoint.Client.SharePointOnlineAuthenticationModule.Authenticate (System.String challenge, System.Net.WebRequest request, ICredentials credentials) [0x00000] in <filename unknown>:0
  at System.Net.AuthenticationManager.DoAuthenticate (System.String challenge, System.Net.WebRequest request, ICredentials credentials) [0x00000] in <filename unknown>:0
  at System.Net.AuthenticationManager.Authenticate (System.String challenge, System.Net.WebRequest request, ICredentials credentials) [0x00000] in <filename unknown>:0
  at System.Net.HttpWebRequest.CheckAuthorization (System.Net.WebResponse response, HttpStatusCode code) [0x00000] in <filename unknown>:0
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
  at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0
  at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in <filename unknown>:0
  at System.Net.WebClient.DownloadFileCore (System.Uri address, System.String fileName, System.Object userToken) [0x00000] in <filename unknown>:0
  at System.Net.WebClient.DownloadFile (System.Uri address, System.String fileName) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Net.WebException: The requested feature is not implemented. ---> System.NotImplementedException: The requested feature is not implemented.
  at System.Net.WebResponse.get_SupportsHeaders () [0x00000] in <filename unknown>:0
  at Microsoft.SharePoint.Client.Idcrl.IdcrlUtility.GetWebResponseHeader (System.Net.WebResponse response) [0x00000] in <filename unknown>:0
  at Microsoft.SharePoint.Client.Idcrl.SharePointOnlineAuthenticationProvider.GetIdcrlHeader (System.Uri url, Boolean alwaysThrowOnFailure, System.EventHandler`1 executingWebRequest) [0x00000] in <filename unknown>:0
  at Microsoft.SharePoint.Client.Idcrl.SharePointOnlineAuthenticationProvider.GetAuthenticationCookie (System.Uri url, System.String username, System.Security.SecureString password, Boolean alwaysThrowOnFailure, System.EventHandler`1 executingWebRequest) [0x00000] in <filename unknown>:0
  at Microsoft.SharePoint.Client.SharePointOnlineCredentials.GetAuthenticationCookie (System.Uri url, Boolean refresh, Boolean alwaysThrowOnFailure) [0x00000] in <filename unknown>:0
  at Microsoft.SharePoint.Client.SharePointOnlineAuthenticationModule.GetSpoAuthCookieAndUpdateRequest (System.Net.WebRequest request, Microsoft.SharePoint.Client.SharePointOnlineCredentials spoCredentials, Boolean preAuthentication) [0x00000] in <filename unknown>:0
  at Microsoft.SharePoint.Client.SharePointOnlineAuthenticationModule.Authenticate (System.String challenge, System.Net.WebRequest request, ICredentials credentials) [0x00000] in <filename unknown>:0
  at System.Net.AuthenticationManager.DoAuthenticate (System.String challenge, System.Net.WebRequest request, ICredentials credentials) [0x00000] in <filename unknown>:0
  at System.Net.AuthenticationManager.Authenticate (System.String challenge, System.Net.WebRequest request, ICredentials credentials) [0x00000] in <filename unknown>:0
  at System.Net.HttpWebRequest.CheckAuthorization (System.Net.WebResponse response, HttpStatusCode code) [0x00000] in <filename unknown>:0
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
  at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0
  at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in <filename unknown>:0
  at System.Net.WebClient.DownloadFileCore (System.Uri address, System.String fileName, System.Object userToken) [0x00000] in <filename unknown>:0
  at System.Net.WebClient.DownloadFile (System.Uri address, System.String fileName) [0x00000] in <filename unknown>:0
Comment 1 Marek Safar 2017-04-03 16:02:51 UTC
It should be fixed already in recent mono versions