Remoting error over Http channel (401) Unauthorized
Hi ... I'm trying to implement Remoting with an Http Channel, to do this, I add a Remoting.config file to a WebServer Application and on the App_Start Event I run the following line :
Dim strRemConfig As String
strRemConfig = HttpContext.Current.Server.MapPath("./Remoting.config")
RemotingConfiguration.Configure(strRemConfig)
And my Remote Object is started !!
I have a test client, to check the functionallity, and It only works when the Virtual Directory is configured with an Anonymous Access in the Directory Security Options. (uses the IUSR_XXX user). but when I change to the "Integrated Windows Authentication" mode I receive the following error:
************** Exception Text **************
System.Net.WebException: The underlying connection was closed: The request was canceled.
Server stack trace:
at System.Net.HttpWebRequest.CheckFinalStatus()
I also receive a "401 Unauthorized error" sometimes.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Net.WebException: The remote server returned an error: (401) Unauthorized.
Server stack trace:
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessResponseException(WebException webException, HttpWebResponse& response)
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Sample.ICommonObj.GetDate()
Do you have any suggestions to do this ? I want the Integrated Windows Authentication, to propagate the local logued Windows user and have integrated security in the BackEnd.
Thanks from Spain
El Bruno
PD: Sorry 4 my poor English.

