CryptographicException


Author
Message
Larry Caylor
Larry Caylor
StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K
Any ideas what may be causing the (see attachment) error? The error is happening at

'-- Retrieve the global preferences
SFSPreferencesBO.RetrieveSecurityPreferences()

in AppMain.

The application uses CustomDataSerializtion, compression, and encryption. I've checked the encryption keys and vectors in the application and on the server and they match. It's only two application (data sources) that are having a problem. Other applications are running fine with ES. The application runs if I remove the ES connection and connect directly to the database.

-Larry


Attachments
SFES_Error.png (360 views, 19.00 KB)
Reply
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Hrm, that's odd.  Although it could be that if the assemblies weren't in the GAC, the different versions of VS might have different pathing to the referenced assemblies and the wrong version might have been brought in.  If the two versions don't line up, the sequence of data written to the stream would be different than the sequence of data expected to be read from the stream on the other end, and you would receive all kinds of errors, such as the end of stream exception you got.

Anyway, I'm glad you got it working.
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