Unhandled Exception


Author
Message
Larry Caylor
Larry Caylor
Advanced StrataFrame User (902 reputation)Advanced StrataFrame User (902 reputation)Advanced StrataFrame User (902 reputation)Advanced StrataFrame User (902 reputation)Advanced StrataFrame User (902 reputation)Advanced StrataFrame User (902 reputation)Advanced StrataFrame User (902 reputation)Advanced StrataFrame User (902 reputation)Advanced StrataFrame User (902 reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K

I’ve got the ES server set up on Windows Server 2003 Web Edition with SP1. I’m able to access the ES status page but when it try to run a client application I get the following exception. Any suggestions on what I may have missed?

-Larry

 


Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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). 

 


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search