asp.net - COM Service Error: Received an unexpected EOF or 0 bytes from the transport stream -
i have .net application uses 3rd party web service authentication.
my code:
var sso = new com.myclient.auth.service(); string userid = sso.decryptuser(encrypteduserstring, decryptionkey);
this has been working quite time. i've since been forced convert application .net 2.0 in vs 2008 .net 3.5 in vs 2010 , no longer works. error @ "decryptuser": "received unexpected eof or 0 bytes transport stream".
i don't see changes made code during conversion. tried used solution error of forcing securityprotocoltype.ssl3 -- did not work either. if revert vs 2008 , build, page works -- no error.
okay -- did full file compare entire project, , found change in properties/settings.designer.cs occurred during vs conversion:
public string myproj_com_myclient_auth_service { { string urlsetting = system.configuration.configurationsettings.appsettings["com.myclient.auth"]; if (urlsetting != null) { return urlsetting.tostring(); } else { return ((string)(this["myproj_com_myclient_auth_service"])); } } }
...was changed to:
public string myproj_com_myclient_auth_service { { return ((string)(this["myproj_com_myclient_auth_service"])); } }
i changed , working in new environment.
Comments
Post a Comment