Posted By: El Bruno | May 9th, 2005 @ 9:41 AM
page 1 of 1
Comments: 7 | Views: 14776
El Bruno
El Bruno
El Bruno

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.


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
bcapuano@gmail.com

PD: Sorry 4 my poor English.

ZippyV
ZippyV
Fired Up
Have you tried giving access rights to the Network service (in Win server 2k3) or IUSR_xxx on that folder (not the virtual version).
ZippyV
ZippyV
Fired Up
I'm just guessing here, maybe it's a problem with the extension? Try changing the extension (.config) to another one (like .txt or .xml).
Maurits
Maurits
AKA Matthew van Eerde
Is the browser prompting for credentials?
If this is IE, does the server name (as typed in the address bar) contain a dot?
Bit of a long shot, but does the server try to use the user's credentials to access a third computer?
cooler
cooler
Whatever
What credentials are you trying to connect with?
Is it a local user?

Try setting the useDefaultCredentials property on the HttpChannel To True

check this out: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconhttpchannelwebsecurity.asp
page 1 of 1
Comments: 7 | Views: 14776
Microsoft Communities