This generally occurs when the pre-shared key is not the same on both the server and the client. If you go to the server status page, make sure that you are initializing the client connection with the same key. '-- Establish Locals
Dim loESDS As MicroFour.StrataFrame.Data.Enterprise.EnterpriseDataSourceItem
'-- Create the Enterprise Server data source item
loESDS = New Enterprise.EnterpriseDataSourceItem("", "My.Host.Name", 80, "", New SqlDataSourceItem(""))
'-- Set the encryption and compression properties. Refer to the documentation for more
' information about these settings.
loESDS.IsEncrypted = True
loESDS.EncryptionKey = New Byte() {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24}
loESDS.EncryptionVector = New Byte() {1, 2,3,4,5,6,7,8}
loESDS.IsCompressed = True
'-- Manually add the ES data source
DataBasics.DataSources.Add(loESDS)
When you get the message "Bad Data" it means that the server and the client connection are not talking with the same handshake. You can also get this message when you add a license file and do not restart the application pool (just restarting IIS will restart the pool also).