Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Remoting / November 2005

Tip: Looking for answers? Try searching our database.

RemotingException: Host the service in IIS with Integrated Windows Authentication to secure the server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Seth Livingston - 29 Nov 2005 01:38 GMT
Hi,

I get the following exception when a remoting client hosted in IIS talks
to a remoting server also hosted in IIS. They're both using IWA and only
IWA:

[RemotingException: Remoting configuration failed with the exception
'System.Runtime.Remoting.RemotingException: Host the service in IIS with
Integrated Windows Authentication to secure the server
   at
System.Runtime.Remoting.Channels.Http.HttpServerChannel.set_IsSecured(Boolean
value)
   at
System.Runtime.Remoting.Channels.Http.HttpChannel.set_IsSecured(Boolean
value)
   at
System.Runtime.Remoting.Channels.ChannelServices.RegisterChannelInternal(IChannel
chnl, Boolean ensureSecurity)
   at
System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(IChannel
chnl, Boolean ensureSecurity)
   at
System.Runtime.Remoting.RemotingConfigHandler.ConfigureChannels(RemotingXmlConfigFileData
configData, Boolean ensureSecurity)
   at
System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData
configData, Boolean ensureSecurity)'.]

System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData
configData, Boolean ensureSecurity) +450
   System.Runtime.Remoting.RemotingConfigHandler.DoConfiguration(String
filename, Boolean ensureSecurity) +36
   System.Runtime.Remoting.RemotingConfiguration.Configure(String
filename, Boolean ensureSecurity) +42
   ASP.global_asax.Application_Start(Object sender, EventArgs e) in
e:\wms-root\MemberSite\Global.asax:10

Further, if I refresh the page one or two times, the exception goes away
and the page works properly.

Thanks,
Seth Livingston
Seth Livingston - 29 Nov 2005 01:59 GMT
> I get the following exception when a remoting client hosted in IIS talks
> to a remoting server also hosted in IIS. They're both using IWA and only
[quoted text clipped - 6 lines]
> Further, if I refresh the page one or two times, the exception goes away
> and the page works properly.

I think I found the problem. The two applications were running under a
single web site... that web site had anonymous access turned on in
addition to IWA. I don't know why it was able to figure things out
sometimes and not others. Either way, I haven't seen the exception since
I modified the parent web site to use IWA and only IWA.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.