function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
iva030iva030 

Unable to create a transport connection. ---> System.Net.Sockets.SocketException

When my C#/.NET pgm executes standalone (called from command line or debugger) it is able to make a connection to the server we are trying to access. However, when I call the same program from our Java application, I get the following:

>>Unhandled Exception: System.IO.IOException: Unable to create a transport connection. ---> System.Net.Sockets.SocketException: The requested service provider could not be loaded or initialized
>> at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
>> at System.Net.Connection.StartConnectionCallback(Object state, Boolean wasSignalled)
>> --- End of inner exception stack trace ---
>> at System.Net.Connection.StartConnectionCallback(Object state, Boolean wasSignalled)

A member named Juventuss had this same problem in MArch of 2005... if anyone knows the resolution to that issue, I'd appreciate the info.

We are in desperate need of a solution to this issue.

Thanks,
Ivan
DevAngelDevAngel
So you are writing a .Net com component to be executed from a Java application?

??
iva030iva030
yes, that is correct.
SuperfellSuperfell
I think your best bet at this point is to contact Microsoft Support.
iva030iva030
IS there a way to email users that have posted messages here in the past?
I noticed that a user named juventuss had the same issue in March 2005.
I'd like to see if he found a resolution to this.