Here is the error details as reported in Event Viewer:
-------------------------------------------------------------
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/1/Root/XXXXXX
Process ID: 1212
Exception: System.Net.Sockets.SocketException
Message: A request to send or receive data was disallowed because the socket had already been shut down in that direction with a previous shutdown call
StackTrace: at System.Net.Sockets.Socket.BeginSend(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)
at ALT.SMS.SmppClient.euCxoGiBO(IPacket )
at ALT.SMS.SmppClient.EXm2LxyTH(MemoryStream& )
at ALT.SMS.SmppClient.gyUVBwlit(IAsyncResult )
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CompleteCallback(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
For more information, see Help and Support Center at
Fatal Exception using SmppClient in ASP.NET web app
Moderator: alt