StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Deploying Users - Corrupt Data ErrorExpand / Collapse
Author
Message
Posted 02/13/2007 11:35:55 AM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 2 days ago @ 12:38:37 PM
Posts: 308, Visits: 1,229
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

Post #6764
Posted 02/13/2007 11:39:49 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 10:38:53 PM
Posts: 2,683, Visits: 1,883
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.


www.bungie.net
Post #6766
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 4:12am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.063. 8 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.