Remoting config file

TripleB

Active member
Joined
Jul 19, 2004
Messages
38
Location
Belgium
Hey all,

Having bit of a problem with a remoting config file I am just learning about remoting when I hardcode it everthing works fine but when I use a config file I get an error about missing a file System.Runtime.Remoting Not sure what is meant by this because I added a refference to the dll and again when i set the channel up in my code it works fine here is my config file
Code:
<configuration>
	<system.runtime.remoting>
		<application name="ListServer">
			<service>
				<wellknown mode="Singleton"   type="ListServer.CompanyList,ListServer" 
objectUri="CompanyList"/>;
			</service>
			<channels>
				<channel type="System.Runtime.Remoting.Channels.Http.HttpChannel,
System.Runtime.Remoting" port="8080"/>
			</channels>
		</application>
	<debug loadTypes="true"/>
	</system.runtime.remoting>
</configuration>
Do I have a Typo somewhere because i looked it over severall times and cant find anything...

Thx in advance
 
It may be a very late reply, but I believe that your typo lies in the objectUrl.
You have objectUri="CompanyList"
 
Where have you placed your config file. It should be in the same directory as where the application is built...
 
Hey guys thx for your replies,

i fixed my problem by replacing the definition of the http channel by ref="http"
and that worked, and if i added the runtime.remoting dll to the GAC then the the first solution also worked

greetz
 
Back
Top