all groups > dotnet remoting > october 2007 >
You're in the

dotnet remoting

group:

RemotingConfiguration problem



RemotingConfiguration problem dsavy4 NO[at]SPAM gmail.com
10/2/2007 5:41:04 PM
dotnet remoting: I am having difficulty calling the static method of
RemotingConfiguration class. Here is what I have

using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Remoting;


namespace MyServer
{
public class Class1
{
RemotingConfiguration.Configure("");
}
}

The error happens after I type "Configure" it does not see that
static method for some reason. I right click on RemotingConfiguration
and go to reference and I see the two overloaded functions. What can
be the problem?

Error 1 Invalid token '(' in class, struct, or interface member
declaration c:\Test\MyServer\Class1.cs 11 41 GeoServer


Thank you,

Dave
Re: RemotingConfiguration problem Azza
10/3/2007 12:00:00 AM
Hi Dave,

I thought you would have to use it like

RemotingConfiguration.Configure("rPhoneServer.exe.config",False) ?

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