Groups | Blog | Home
all groups > dotnet remoting > february 2005 >

dotnet remoting : Remoting Hosted on IIS not working windows xp sp2 .net 1.1 vs.net2


sahridhayan
2/22/2005 2:51:03 AM
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
Dan Kelley
2/25/2005 1:09:03 AM
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

[quoted text, click to view]
sahridhayan
2/25/2005 5:45:04 AM
Hi Dan

Thanks for your reply, i am not calling remotingconfiguration..
we are using activator...

We solved this problem two findings,

1. web.config should not contain application tag.
2. for IIS virtual directory we need to give application name (as ur site
name)
in my example "RemotingServerIIS"

Regards
Sahridhayan


[quoted text, click to view]
AddThis Social Bookmark Button