Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
GeneralRe: transferring global variable values from one form to another Pin
freak200413-Mar-06 3:28
freak200413-Mar-06 3:28 
GeneralRe: transferring global variable values from one form to another Pin
sa_keles13-Mar-06 7:29
sa_keles13-Mar-06 7:29 
QuestionDLL Problems Pin
cjengler11-Mar-06 3:01
cjengler11-Mar-06 3:01 
AnswerRe: DLL Problems Pin
CWIZO11-Mar-06 4:04
CWIZO11-Mar-06 4:04 
AnswerRe: DLL Problems Pin
cjengler11-Mar-06 6:46
cjengler11-Mar-06 6:46 
QuestionFind Host name from IP Pin
J512198211-Mar-06 1:43
J512198211-Mar-06 1:43 
AnswerRe: Find Host name from IP Pin
Dave Kreskowiak11-Mar-06 4:39
mveDave Kreskowiak11-Mar-06 4:39 
QuestionA remoting problem unresolved for days :( Pin
rickywong11-Mar-06 1:09
rickywong11-Mar-06 1:09 
I have a simple project called QuestionBank. When the clientside connects to the serverside. An exception will be throwed which message shows "Could not find the requested service". I don't know what happen because according to msdn, my project doesn't have any mistakes. OK, let me show the detail:

--- QuestionBankservice.config---
// This is a server config file.
<service>
<wellknown
mode="Singleton"
type="QuestionBankService,QuestionBankService"
objecturl="QuestionBankService.rem"
/>
</service>
<channels>
<channel
ref="http"
port="8087"
/>
</channels>

--- RemotingClient.config ---
// This is a client config file.
<client>
<wellknown
type="QuestionBankService,QuestionBankService"
url="http://localhost:8087/QuestionBankService.rem"
/>
</client>
<channels>
<channel
ref="http"
port="0"
/>
<clientProviders>
<formatter ref="binary"/>
</clientProviders>
</channels>

--- source code: Server ----
class Program
{
static void Main(string[] args)
{
// This is a console app that referenced the
// remoting module "QuestionBankService.dll".
RemotingConfiguration.ApplicationName = "QuestionBankService";
RemotingConfiguration.Configure("QuestionBankService.config", false);
Console.WriteLine("Server running...Press enter to exit.");
Console.ReadLine();
}
}

--- source code: Client ---
public class RemotingClient
{
QuestionBankService service;
public RemotingClient()
{
RemotingConfiguration.Configure("RemotingClient.config", false);
service = new QuestionBankService();
}
//Do something.
}

Is it simple? Then tell me how to resolve this problem.Thank you very much.

-- modified at 20:15 Saturday 11th March, 2006
QuestionLogin window for cyber cafe SW Pin
amit_for_net11-Mar-06 0:33
amit_for_net11-Mar-06 0:33 
AnswerRe: Login window for cyber cafe SW Pin
da vinci coder11-Mar-06 1:49
da vinci coder11-Mar-06 1:49 
QuestionLetting users write methods Pin
dennizsoftware.se10-Mar-06 21:12
dennizsoftware.se10-Mar-06 21:12 
AnswerRe: Letting users write methods Pin
Steve Pullan11-Mar-06 0:25
Steve Pullan11-Mar-06 0:25 
GeneralRe: Letting users write methods Pin
dennizsoftware.se11-Mar-06 2:16
dennizsoftware.se11-Mar-06 2:16 
GeneralRe: Letting users write methods Pin
dennizsoftware.se11-Mar-06 6:38
dennizsoftware.se11-Mar-06 6:38 
QuestionSecurity problem in .net remoting Pin
xys10-Mar-06 17:32
xys10-Mar-06 17:32 
QuestionWriting a Funtion in C#|VB.NET and using it in Crystal Report Pin
superdragon10-Mar-06 16:21
superdragon10-Mar-06 16:21 
Questiondetect runtime process Pin
azusakt10-Mar-06 16:04
azusakt10-Mar-06 16:04 
AnswerRe: detect runtime process Pin
Stefan Troschuetz10-Mar-06 21:36
Stefan Troschuetz10-Mar-06 21:36 
GeneralRe: detect runtime process Pin
azusakt12-Mar-06 14:37
azusakt12-Mar-06 14:37 
Questionhow to send message from client to another client through the server Pin
sa_keles10-Mar-06 15:52
sa_keles10-Mar-06 15:52 
AnswerRe: how to send message from client to another client through the server Pin
Divyang Mithaiwala10-Mar-06 17:44
Divyang Mithaiwala10-Mar-06 17:44 
GeneralRe: how to send message from client to another client through the server Pin
sa_keles11-Mar-06 0:16
sa_keles11-Mar-06 0:16 
GeneralRe: how to send message from client to another client through the server Pin
Divyang Mithaiwala12-Mar-06 17:02
Divyang Mithaiwala12-Mar-06 17:02 
AnswerRe: how to send message from client to another client through the server Pin
sa_keles11-Mar-06 15:33
sa_keles11-Mar-06 15:33 
GeneralRe: how to send message from client to another client through the server Pin
sa_keles11-Mar-06 16:45
sa_keles11-Mar-06 16:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.