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 ---
4786Write a program. there are 1..n numbers placed in an array in random fashion with one integer missing. find the missing number.
1 6820Post New Infosys C Sharp Code Interview Questions
Explain the role of data provider in ado.net? What is the role of data provider in ado.net?
Explain the purpose of keywords that are used for writing a scenario in cucumber.
Explain different way of using thread?
How will you get the objects?
What are handlers?
Difference between collection, collection and collections in java?
WHAT IS THE DIFFERENCE BETWEEN PUBLIC COMPANY AND PRIVATE COMPANY? MUTUAL FUNDS? GOOD WILL? ABOUT YOUR PROJECTS?
Why is blockchain a trustworthy approach?
Explain what is sslpeer in ibm websphere mq?
Tell me what are the causes of having ociw32.dll error in the database of web logic server?
How Global.asax is used ?
Explain the Tunneling, Encapsulation, and Dialup Phone Line.
Do we need to create index on primary key?
What are the roles played by packages in uml?
What is the relation between a controlling area and a company code?