Hi
I am trying to call a Window Service written in 1.1, through 2.0 code, using remoting, and serviceController class.
But i am getting the error,
Error System.Runtime.Remoting.RemotingException: Cannot load type BServiceReporter...
Source "mscorlib"
when I try to call the method GetBWorkerStatusList.
oReporter = (BServiceReporter)Activator.GetObject(typeof(BServiceReporter), sTcpAddr);
m_xBatchWorkersStatusList = oReporter.GetBWorkerStatusList();
The lines work, if the ServiceController class uses, WindowService, written in framework 2.0 (But we have to use older windows service; business requirements)
I also looked at the following article, which i suspected, and installed the patch, but i think the problem is different
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=300062&SiteID=1
Any help in this, will be highly appreciated
thanks in advance
Jan