

Is in single user mode and the only available connection is already being used by someone else or by something else. The user default database is unavailable at the time of connection. The other reason why the default database cannot be open is as mentioned below You need to change the default database to other database which is online ask someone who can modify the login. Incase of the database is unavailable then. Problem with your front end side of connection to the database. Similarly,check from other users who as the same privilege like you -will they able to connect successfully if yes then there might be Please use Mark as Answer if my post solved your problem and use Vote As Helpful if a post was useful.ĭBA_Learner, First ask some one to check what is the status of your database & also did you tried connecting through the SSMS?Īlso ask DBA's or if you have accesses to SQL server error log then try to see is there any error logged in it. level 2: database user - a login is mapped to a user in a database and a user in a database is different to the same user (name) in a different database even if the user name is the same.Ī mapped user needs permission to access the database.


#MIRRORSYNC FORUM CODE#
Then when the Form is submitted, the custom code can look at the User's profile (based on the current User) for all the information you want to store in the custom post, and save that information in the corresponding post custom fields. First you would set up the corresponding custom fields in the custom post type. If that is the case, then you can use the cred_save_data hook to trigger custom code when the Form is submitted. Let's assume the Form used to create the CPT is submitted by the User. It would most likely require custom code. The values must be copied into the custom post type's custom fields, and the search filters must be created from the custom post type fields. Not really, if you want to include those custom fields to be used as search filter criteria. Second question: IF we have to sync / mirror the fields, how would we approach that? I assume this isn't possible out of the box, but I thought it wouldn't hurt to ask. My first question: Is there another way to search for user / profiles without having to sync the fields? That way we could build the search feature as described in the tutorial. And each time someone changes his or her first name, it's again copied to the CPT. How can we make the user meta available for search? The only option I see currently, is to sync / mirror fields between users and their profile.įor example the user firstname is copied to a newly created custom field in the profile CPT (e. And those information need to stay there as they are needed for administrative purposes and to sync user data to MailChimp. Some important fields are stored in the user fields. Now we would like to allow users to search for other users.įor the most part, we can follow this tutorial: Their profile is a CPT connected to the user (as author). We created a membership page with users that can create their own profile.
