Hi,
I've watched the video D_SF_1 now a large number of times and when I get the the end of the process 'working preview' allows me to enter a new user name and password correctly. The new user appears as in the Users and Groups genie, but no role is defined.
I thought this must be because the hidden 'UserRoles' control wasn't bound properly. I looked at the 'Data Binding - Specify Tables' dialog, expecting to see my websecurity.dbf table, but alas the table pane was bare! Selecting Table type = dbf failed to display the security tables. Probably as a result, the 4 fields (UserPassword, UserConfirmPassword, UserRoles and UserGuid) have no table alias or fields shown in the 'data binding' table. The 'UserRole' default value property is also blank - as I believe it should be.
I also tried creating the second of the web security dialoges - 'create new user account and add user information to an existing table.' In this example I also found difficulty in binding the fields. There is nothing on the videos about specifying the tables to which the personal data is going to be mapped. When I add my SQL connection string and attach the user table to the RegisteredUsers dbf table, I get the Error message below.
WebSecurityTableBindingError.PNG
I am using an Access backend, A5 V11 and have about 60 users already set up and operating happily on the web server. The problem has only arisen because I am now needing to change some user roles. I'm trying to get around having to import the server security tables for every user I want to change.
I've read a fair few other threads, some of which point to some elaborate solutions to custom set-ups. Mine is a very basic structure that doesn't deviate from the videos at all - no code whatsoever, and shouldn't need any special tratment (I hope).
Although this seems simple to write down, it may not be simple to follow. The video link shows the second data-binding error in another way.
http://screencast.com/t/Rlc3PwBacK0
Many thanks for any help from those who have gone here before. Malcolm
I've watched the video D_SF_1 now a large number of times and when I get the the end of the process 'working preview' allows me to enter a new user name and password correctly. The new user appears as in the Users and Groups genie, but no role is defined.
I thought this must be because the hidden 'UserRoles' control wasn't bound properly. I looked at the 'Data Binding - Specify Tables' dialog, expecting to see my websecurity.dbf table, but alas the table pane was bare! Selecting Table type = dbf failed to display the security tables. Probably as a result, the 4 fields (UserPassword, UserConfirmPassword, UserRoles and UserGuid) have no table alias or fields shown in the 'data binding' table. The 'UserRole' default value property is also blank - as I believe it should be.
I also tried creating the second of the web security dialoges - 'create new user account and add user information to an existing table.' In this example I also found difficulty in binding the fields. There is nothing on the videos about specifying the tables to which the personal data is going to be mapped. When I add my SQL connection string and attach the user table to the RegisteredUsers dbf table, I get the Error message below.
WebSecurityTableBindingError.PNG
I am using an Access backend, A5 V11 and have about 60 users already set up and operating happily on the web server. The problem has only arisen because I am now needing to change some user roles. I'm trying to get around having to import the server security tables for every user I want to change.
I've read a fair few other threads, some of which point to some elaborate solutions to custom set-ups. Mine is a very basic structure that doesn't deviate from the videos at all - no code whatsoever, and shouldn't need any special tratment (I hope).
Although this seems simple to write down, it may not be simple to follow. The video link shows the second data-binding error in another way.
http://screencast.com/t/Rlc3PwBacK0
Many thanks for any help from those who have gone here before. Malcolm
Comment