Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

<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 can't find anything...

 

Thx in advance

  • 3 weeks later...
Posted

It may be a very late reply, but I believe that your typo lies in the objectUrl.

You have objectUri="CompanyList"

- The only true knowledge is knowing that you know nothing.
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...