Web service gives 401 error on https

I am using a web service with jQuery. My web service works fine on http:// but it gives me a 401 (unauthorized) error when running on https://.

Please advise me on what I need to do.

Answers


Do you have any bindings for HTTPS? Do you have a sever certificate installed?


Not sure if this is your issue but I had a similiar problem and because the IIS web server was set up to not use anonymous authentication, I had to add the following line to my web service call

myProxy.Credentials= System.Net.CredentialCache.DefaultCredentials;

Need Your Help

Read an Excel (.xlsx) file in Sharepoint C# to a gridview

c# asp.net excel

I want to read an Excel file stored on my local system and show it in a gridview.

Log to output window when using T4

.net t4

I'm using T4 for code generation. Its working well but one thing I'd like to do is some simple logging, I'm happy if this simply took the form of throwing messages into the Output window.