TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Shilpi Arora
NA
1
0
C# GetServiceHandle error
Nov 2 2006 1:12 AM
Hi
I am getting this strange error after 20 -30 minutes of starting of my application.
This application checks after every 2 minutes whether the status of the service has changed or not. The code is working fine elsewhere but on a particular computer the below error comes
System.InvalidOperationException: Cannot open MCXBroadcastAdapter service on computer '192.168.0.10'. ---> System.ComponentModel.Win32Exception: The remote procedure call failed
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.GetServiceHandle(Int32 desiredAccess)
at System.ServiceProcess.ServiceController.GenerateStatus()
at System.ServiceProcess.ServiceController.get_Status()
at SMPresentation.Controls.Service.refreshTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.Callback(IntPtr hWnd, Int32 msg, IntPtr idEvent, IntPtr dwTime)
Though the same check is called after every 2 minute ,the problem occurs only after 20- 30 minutes
Any suggestions , help ????
Reply
Answers (
0
)
User control from Radio Button
Add days to current Date