Hello I am hosting remoting within IIS. Everything works just fine as long as I allow anonymous access at the IIS level. When I allow only Windows Authenticated sessions, something very strange happens: If the client activates the remote object with IP address - works fine If the client activates it using a machine name - get http 401 exception is thrown. The exception is thrown when the client calls the remote method. I set the channel's useDefaultCredentials property to true. Any idea how to allow Windows Authentication? Here is the call stack: System.Net.WebException: The remote server returned an error: (401) Unauthorized .. ---> System.ComponentModel.Win32Exception: The target principal name is incorrect at System.Net.NTAuthentication.GetOutgoingBlob(Byte[] incomingBlob, Boolean handshakeComplete) at System.Net.NTAuthentication.GetOutgoingBlob(String incomingBlob, Boolean handshakeComplete) at System.Net.NegotiateClient.DoAuthenticate(String challenge, WebRequest webRequest, ICredentials credentials, Boolean preAuthenticate) at System.Net.NegotiateClient.DoAuthenticate(String challenge, WebRequest webRequest, ICredentials credentials, Boolean preAuthenticate) at System.Net.NegotiateClient.Authenticate(String challenge, WebRequest webRequest, ICredentials credentials) at System.Net.AuthenticationManager.Authenticate(String challenge, WebRequest request, ICredentials credentials) at System.Net.AuthenticationState.AttemptAuthenticate (HttpWebRequest httpWebRequest, ICredentials authInfo) --- End of inner exception stack trace ---
4701Write a program. there are 1..n numbers placed in an array in random fashion with one integer missing. find the missing number.
1 6719Post New Infosys C Sharp Code Interview Questions
How to make websphere auto-start when server reboot?
How To Lock A User's Account?
What is difference between var_dump and print_r?
What is function overloading in javascript?
What is the max function in excel?
How do queries work in a database?
What makes .net core cross platform?
Explain me what do you think is bank reconciliation statement?
Is c# an array?
What is matrix element-wise multiplication? Explain with an example.
What is spark executor cores?
Explain what is electric traction?
Explain different http methods supported by restful web services?
How do I add javascript to chrome?
Why shouldn't I use mysql_* functions in php?