StrataFrame Forum

Deploying Users - Corrupt Data Error

http://forum.strataframe.net/Topic6764.aspx

By Tim Dol - 2/13/2007

I want to include two users with my application so our support staff have common user access on all sites.

I created the two users in my security project and built my deployment project to include the role based security data.

When I deploy the package my two users show up but an error message is displayed

'Invalid user. This is not a valid user. The user data is corrupt.

Is it possilbe to deploy users?

Thanks

Tim

By StrataFrame Team - 2/13/2007

Yes, you can deploy users.  However, you have to set the seed for the user's data encryption to the same value as the security project project.  Go to the properties for your security project within the Security Editor and copy the value from the Security Key: textbox.

Then, in the InitApplication() of your AppMain.vb file, add SecurityBasics.SetSecurityKeyAndVectorForUserAuthentication() and pass the same value that you put in the project properties.