Not so fast on the sunshine and roses boys
 
Home My Account Forum Try It! Buy It!
About Contact Us Site Map
StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Not so fast on the sunshine and roses boysExpand / Collapse
Author
Message
Posted 02/07/2008 8:03:54 PM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: Forum Members
Last Login: 06/19/2008 11:16:33 AM
Posts: 73, Visits: 12,471
I rebuilt the security database using the DDT, added the security user and password, made the user a dbo, successfully launched the security maintenance form, tried to add a new user and viola ... there appears to be a Japanese Beetle in the rose garden.  Did I miss a step when deploying the security database?

Post #14192
Posted 02/07/2008 8:09:10 PM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: Forum Members
Last Login: 06/19/2008 11:16:33 AM
Posts: 73, Visits: 12,471
PS ... I'm able to edit the preferences information so the connection to the security database is fine ... but when I try to add a new user, either by right clicking and selecting new user or by pressing new user on the toolbar the Decrypt method craps out ... dunno.
Post #14193
Posted 02/07/2008 8:17:49 PM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: Forum Members
Last Login: 06/19/2008 11:16:33 AM
Posts: 73, Visits: 12,471
Finally, the (ByVal text As String) parameter contains "nothing" ... if I power past the error by pressing the continue button in the debugger I get the new user dialog ... providing the information and pressing the save button results in a successfully saved user.  Then, loggin in as that user results in a successful login.  Once the first record is added then I can enter wrong passwords all day long under the beautiful North Carolina sun in a rose garden!  (And, at the risk of rambling again, it is actually the North Carolina moon but that is a mere technicality and not very germane to the conversation I suppose)

However, trying to add the second new user results in the exact same problem.  As noted before, the database is a pristine one generated from the DDT process.

Thanks guys,

CT

Post #14194
Posted 02/07/2008 9:26:20 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 9:47:36 PM
Posts: 4,115, Visits: 4,185
Does the same problem occur with the Security Sample that comes with the framework?  This has the sound of data related...so though there may be a Japanese beetle in teh mix...I don't think it is necessary RBS code related...we may have to dig a little deeper to see where the issue is manifesting itself.  Since you have the source code, you might step through further up the call stack than the Decrypt to see if you can gather a clue as to why the data is coming is as Null.  That is obviously pretty suspicious...so that is where I would start.
Post #14195
Posted 02/08/2008 8:38:02 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: Forum Members
Last Login: 06/19/2008 11:16:33 AM
Posts: 73, Visits: 12,471
Right o, I'll check that out when I get home tonight.  I'll trace through the code base as well.  The reason I jumped the gun on the report was due to the nature of my attempt to recreate the problem, which was to start with a clean installation of the security database (using DDT to deploy), add the proper user to SQL Server, make the user dbo (to prevent any permissions issues creaping in), launch the security dialog, make changes to the preferences (successful), then try and add a new user.

I'll give a more detailed report tonight.

Wow, it's getting pretty pumpkiny in this thread ...

Post #14197
Posted 02/08/2008 9:39:33 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 9:47:36 PM
Posts: 4,115, Visits: 4,185
Wow, it's getting pretty pumpkiny in this thread ...

With a sprinkle of stars

Post #14198
Posted 02/08/2008 12:33:01 PM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: Forum Members
Last Login: 06/19/2008 11:16:33 AM
Posts: 73, Visits: 12,471
OK ... I did as instructed and was able to create a windows application from scratch, using a separate database, log into the application as the security administrator, add a new user (without error I might add), log out and log back into the application using the newly added users credentials.  Basically, something, not SF code, is wrong with my main application since this test one works like a CHAMP ... dang it.

I guess I'm now enjoying starlight in the pumpkin patch ... you know what's commin' ... since my name is Charles ... yep ... Charlie B. (me) is waiting on the Great Pumpkin!  Weird how this worked out ... from sunshine and roses to All Hallows Eve.

Notice:

Attached to this message is a 15 page word document that takes a user, step by step, through the entire process of creating a windows application that has security enabled where the security tables are located in a separate database from the application database.  I figured if I had to go through these steps to either prove or disprove the presence of a bug in StrataFrame, that others new to the framework would benefit greatly from a step by step tutorial describing how to do it.

  Post Attachments 
SFWAWSSample.rar (12 views, 2.01 MB)

Post #14210
Posted 02/08/2008 1:37:39 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 9:47:36 PM
Posts: 4,115, Visits: 4,185
Cool...be sure to post this on the user contributed samples as well!  Thanks!
Post #14214
« 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