![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a client and a server and I am using remoting. All written in C# with no umanaged code. I am using a TCP channel to communicate and I have tried this with a server both as a console application and as a windows service application. The problem is the same. Whenever I close the client, the server crashes with the following exception: System.AccessViolationException was unhandled Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt." Source="System" StackTrace: at System.Net.UnsafeNclNativeMethods.OSSOCK.WSAGetOve rlappedResult(SafeCl os eSocket socketHandle, IntPtr overlapped, UInt32& bytesTransferred, Boolean wait, IntPtr ignored) at System.Net.Sockets.BaseOverlappedAsyncResult.Compl etionPortCallback(UI nt 32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) at System.Threading._IOCompletionCallback.PerformIOCo mpletionCallback(UIn t3 2 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) Does anyone have any idea about this? I am using .NET2.0 |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |