We downloaded C# DLL's from Novel and use sample C# code , unfortunately we are System.Net.Sockets.SocketException error on the bind .
We validated using Softerra LDAP Browser that we can establish successful connection to the server using same settings and user.
LdapErrorMessage:
Message: Connect Error
InnerException:
Cause.Message: Unable to read data from the transport connection: An existing co
nnection was forcibly closed by the remote host.
Cause.InnerException: System.Net.Sockets.SocketException (0x80004005): An existi
ng connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size,
SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 s
ize)
Cause.StackTrace: at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int
32 offset, Int32 size)
at System.IO.Stream.ReadByte()
at Novell.Directory.Ldap.Asn1.Asn1Identifier..ctor(St ream in_Renamed)
at Novell.Directory.Ldap.Connection.ReaderThread.Run( )