08-03-2005 08:52 AM
Hi,
I am having problems with the Simple DataSocket example. As soon as I try to connect to the DataSocket server on the local machine using dstp the server crashes. The error signature is:
AppName: cwdss.exe AppVer: 4.2.3.1 ModName: mfc42.dll
ModVer: 6.2.4131.0 Offset: 0001bc9b
By restarting the server I am sometimes able to connect but most of the time this only results in a repeated crash. Furthermore when I try to close either the reader or the writer after such a crash I get the error message “the RPC-server is not available”. The only way to close the program is to use the task manager. I am using Measurement Studio 7.1 and Visual Studio 2003 version 7.1.3088 and I have successfully used DataSocket to communicate with an OPC server on the local machine. I would appreciate any suggestions on how to solve the problems since I would like use dstp in my own applications.
Adam
08-05-2005 10:59 AM
08-08-2005 06:52 AM
Thanks for the reply! I have done as you suggested but unfortunately this did not solve the problem. Have you got any other suggestions?
Adam
08-08-2005 09:50 AM
08-08-2005 10:12 AM
As I wrote in the original post, it is the simple datasocket example that I am having trouble with. I have managed to get the reader and writer to talk to each other by restarting the datasocket server repeatedly, but since the datasocket server crashes most of the times when I try to connect to it (i.e. I press either manual or auto update connect) this is rather tedious work. I think that the files were replaced correctly; at least the file cwdss.exe reappeared. The version of cwdss.exe is 4.2.3.1. Which other files should I check? The version of nids.dll is the same, i.e. 4.2.3.1.
Adam
08-09-2005 11:00 AM
08-10-2005 08:56 AM
I have now reinstalled every component of measurement studio and before doing so I made sure that every file had been deleted. This did not help. However, I tried installing measurement studio on another machine and on this everything seems to work fine. The machine it works on runs win2k while I’m running win xp pro. I suppose that this shouldn’t make a difference, or? I would very much like to get measurement studio to run on my own machine. What else could I try?
Adam
08-11-2005 05:51 PM
09-12-2005 04:35 AM
I finally found the solution to my problem by uninstalling various software on my PC. It seems like there is a conflict between Panda Platinum Antivirus and Datasocket. By uninstalling this program I managed to get Datasocket to work properly. I would like to point out that disabling Panda Antivirus entirely was not sufficient. I had to uninstall the program. Perhaps this is something you would like to look into.
Thanks for your efforts!
Adam