Thanks for your reply, i am not calling remotingconfiguration..
1. web.config should not contain application tag.
2. for IIS virtual directory we need to give application name (as ur site
"Dan Kelley" wrote:
> Just to check, you are not calling RemotingConfiguration.Configure from
> within your code are you? If you are, then remove the code as IIS will
> automatically read the config for you, starting your channels.
>
> HTH
> Dan
>
> "sahridhayan" wrote:
>
> > hi all
> >
> > i am getting these errors when i try to access the Remoting server through
> > IE
> >
> > (different machine)
> >
> >
http://10.20.1.144/RemotingServerIIS/RemotingIISBLClass.rem?WSDL
> >
> > Error is:
> > --------------------------------------------------------------------------
> > The page cannot be displayed
> > There is a problem with the page you are trying to reach and it cannot be
> > displayed.
> >
> > --------------------------------------------------------------------------------
> >
> > Please try the following:
> >
> > Open the 10.20.1.144 home page, and then look for links to the information
> > you want.
> > Click the Refresh button, or try again later.
> >
> > Click Search to look for information on the Internet.
> > You can also see a list of related sites.
> > HTTP 500 - Internal server error
> > Internet Explorer
> > --------------------------------------------------------------------------
> >
> > and
> > same machine
> > http://localhost/RemotingServerIIS/RemotingIISBLClass.rem?WSDL
> >
> > --------------------------------------------------------------------------
> > System.Runtime.Remoting.RemotingException: Remoting configuration failed
> > with the exception System.Runtime.Remoting.RemotingException: The remoting
> > application name, RemotingServerIIS, had already been set.
> > at
> > System.Runtime.Remoting.RemotingConfigHandler.set_ApplicationName(String
> > value)
> > at
> > System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData).
> > at
> > System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData)
> > at System.Runtime.Remoting.RemotingConfiguration.Configure(String filename)
> > at
> > System.Runtime.Remoting.Channels.Http.HttpRemotingHandler.InternalProcessRequest(HttpContext context)
> >
> > --------------------------------------------------------------------------
> >
> > My Server Config file contains information (web.config) like this..
> >
> >
> > <configuration>
> > <system.runtime.remoting>
> > <application name="RemotingIISBL">
> > <channels>
> > <channel ref="http"/>
> > </channels>
> > <service>
> > <wellknown mode="SingleCall" type="RemotingIISBL.RemotingIISBLClass,
> > RemotingIISBL" objectUri="RemotingIISBLClass.rem" />
> > </service>
> >
> >
> > </application>
> > </system.runtime.remoting>
> > </configuration>
> >
> > any direction would be helpful
> >
> > same in console application hosting works fine..
> >
> > Remoting Hosted on IIS not working windows xp sp2 .net 1.1 vs.net2003
> >
> > Regards
> > Sahridhayan