TripleB Posted October 11, 2004 Posted October 11, 2004 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 Quote
jdemackio Posted October 27, 2004 Posted October 27, 2004 It may be a very late reply, but I believe that your typo lies in the objectUrl. You have objectUri="CompanyList" Quote - The only true knowledge is knowing that you know nothing.
Roey Posted October 28, 2004 Posted October 28, 2004 Where have you placed your config file. It should be in the same directory as where the application is built... Quote
TripleB Posted October 28, 2004 Author Posted October 28, 2004 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.