I just upgraded my existing v9.7 server to v10.0. Previous it was operating normal. Now calls over SSL fail with the error:
Error:
RemObjects.SDK.Exceptions.ConnectionClosedException: Connection was closed.
at RemObjects.SDK.Http.HttpClient.TryDispatch(HttpClientRequest request)
at RemObjects.SDK.IpHttpClientChannel.IntDispatch(Stream request, IMessage response)
at RemObjects.SDK.ClientChannel.Dispatch(IMessage message)
at RemObjects.SDK.DynamicRequest.InternalMakeRequest()
at RemObjects.DataAbstract.RemoteDataAdapter.SendFillRequest(DataTable table, TableRequestInfo tableRequest, WhereExpression whereClause, Boolean applySchema)
at RemObjects.DataAbstract.DataAdapter.InternalFill(DataTable table, TableRequestInfo tableRequestInfo, WhereExpression whereClause, Boolean applySchema)
at RemObjects.DataAbstract.DataAdapter.FillWithDASql(DataTable table, String sql, DataParameter parameters)
at LatestClientTest.DATableDisplay.DATableDisplay_Load(Object sender, EventArgs e) in C:\Users\todd7\source\repos\LatestClientTest\LatestClientTest\DATableDisplay.cs:line 96
This is the client code:
using RemObjects.DataAbstract;
using System;
using System.Data;
using System.Windows.Forms;
namespace LatestClientTest
{
public partial class DATableDisplay : Form
{
public DataModule fDataModule;
public DATableDisplay(DataModule fDataModule1)
{
fDataModule = fDataModule1;
InitializeComponent();
}
private void DATableDisplay_Load(object sender, EventArgs e)
{
try
{
Bin2DataStreamer lDataStreamer = new Bin2DataStreamer();
RemoteDataAdapter lDataAdapter = new RemoteDataAdapter();
lDataAdapter.DataStreamer = lDataStreamer;
lDataAdapter.RemoteService = fDataModule.DataAdapter.RemoteService;
string SQL = "SELECT " +
" E.COMMUNICATIONID, " +
" E.EMAILFULLADDRESS, " +
" E.EMAILCOMMENT, " +
" P.PERSONFIRSTNAME, " +
" P.PERSONLASTNAME, " +
" PC.PERSONID, " +
" P.PERSONIDNAME, " +
" OAC.ORGANIZATIONID, " +
" O.ORGANIZATIONNAME, " +
" OA.ADDRESSID, " +
" OA.ORGADDRESSDESC, " +
" A.ADDRESS1 " +
"FROM EMAIL E " +
" LEFT JOIN PERSONCOMM PC ON (E.COMMUNICATIONID = PC.COMMUNICATIONID) " +
" LEFT JOIN PERSON P ON (PC.PERSONID = P.PERSONID AND P.PERSONFETCH = 'Y' AND P.SYSTEMCATEGORYID <> 6) " +
" LEFT JOIN ORGANIZATIONADDRESSCOMM OAC ON (E.COMMUNICATIONID = OAC.COMMUNICATIONID) " +
" LEFT JOIN ORGANIZATION O ON (OAC.ORGANIZATIONID = O.ORGANIZATIONID) " +
" LEFT JOIN ORGANIZATIONADDRESS OA ON (OAC.ADDRESSID = OA.ADDRESSID AND OAC.ORGANIZATIONID = OA.ORGANIZATIONID AND OA.ORGADDRESSFETCH = 'Y') " +
" LEFT JOIN ADDRESS A ON (OA.ADDRESSID = A.ADDRESSID) " +
"WHERE " +
" upper(E.EMAILFULLADDRESS) LIKE '%WAL%'";
Console.WriteLine("DASQL: {0}", SQL);
DataTable lTable = new DataTable();
lDataAdapter.FillWithDASql(lTable, SQL, null);
dgvTableData.DataSource = lTable;
}
catch (System.Net.Sockets.SocketException sockEx)
{
MessageBox.Show("Are you sure your server is up and operational?");
}
catch (Exception ex)
{
MessageBox.Show($"Error: {ex}");
}
}
}
}
It appears to be a client side problem because a v9.7 client can log into the v10 server. What am I missing? Has the client SSL changed in v10? I have did I miss it in the change log?
Thanks,
Todd