15,889,899 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Rahul saraswat (Top 4 by date)
Rahul saraswat
13-May-14 1:06am
View
I have applied all the things on my system related to IPC, but still unable to resolve. Even facing same problem with Crystal report viewer, when I click print button inside the Crystal Report Viewer, i got the same message "The RPC Server is unavailable".
Rahul saraswat
3-Sep-12 8:25am
View
Hi,
Thank you for reply.C i am using IPCChannel for remoting under the namespace of System.Runtime.Remoting.Channels.Ipc. and i have made two applications one is server and another is client.I have registered IPCChannel in server with
Portname(9090). server is other system than client. and now i run server. and when i try to connect my client application to server. then i get an erroe...
"Failed to connect an Ipc port"
here is my code with BL part:
//This is my BL part
namespace RTMSyncStatusLib
{
public interface IRTMSyncStatus
{
void SetServiceStatus(string status);
string GetServiceStatus();
}
public class RTMSyncStatus : MarshalByRefObject, IRTMSyncStatus
{
private string ServiceStatus = string.Empty;
public void SetServiceStatus(string status)
{
ServiceStatus = status;
}
public string GetServiceStatus()
{
return ServiceStatus;
}
}
}
//This is my server code
IpcChannel channel = new IpcChannel("192.168.2.207:9090");
ChannelServices.RegisterChannel(channel, false);
RemotingConfiguration.RegisterWellKnownServiceType(typeof(RTMSyncStatusLib.RTMSyncStatus), "RTMRemoteStatus", WellKnownObjectMode.Singleton);
Console.WriteLine("RTMSync Ststus Server is ready at "+DateTime.Now.ToString());
Console.ReadLine();
//This is my client Part
IpcChannel ipcChannel = new IpcChannel();
ChannelServices.RegisterChannel(ipcChannel, false);
objRTMStatus = (RTMSyncStatusLib.IRTMSyncStatus)Activator.GetObject(typeof(RTMSyncStatusLib.IRTMSyncStatus), "ipc://192.168.2.207:9090/RTMRemoteStatus");
if (objRTMStatus != null)
{
timerRTM.Start();
}
else
{
MessageBox.Show("Any Problem Occured! or RTMSync Status Server is not running!");
}
plz c my code. and help me.
Thanks
Rahul saraswat
14-Jul-12 6:45am
View
I am very thankful to you. but, how can i use.....
Please help me.
Regards
Rahul
Rahul saraswat
18-Jun-12 6:21am
View
no,please tell me only that How can i get value of all controls on that page after starting timer. When I start timer before filling all textbox values, i dont get text of any textBox after fired of Elapsed event. when i start timer after filling all contols on page, i get all values of all controls after firing Elapsed event.