Was anyone able to resolve this? I'm trying to change the "applicationName" property to the default asp.net applicationName of "/" that many of the users and roles in our database was made using. However, changing it in the store configuration JSON did not do anything. Any ideas?
We were able to get this working using the stock ESRI SQL Configuration by setting the MachineKey section settings in the server's machine.config files.
Hi,
I have the exact same issue. I tried to workaround that issue with the settings in the server's machine.config as you mentioned. But unfortunately it doesn't work.
Could you please provide some more details?
Thanks
Here are the steps I had to take to get this working:
"userStoreConfig": {
"type": "SQL_SERVER",
"properties": {
"applicationName": "your-application-name",
"connectionString": "Data Source=your-server;Initial Catalog=your-db;User ID=your-username;Password=your-pw"
}
},
"roleStoreConfig": {
"type": "SQL_SERVER",
"properties": {
"applicationName": "your-application-name",
"connectionString": "Data Source=your-server;Initial Catalog=your-db;User ID=your-username;Password=your-pw"
}
}
3. Reboot the server.
4. Test the config settings.
Thanks a lot for your quick reply and the full description of your settings. But unfortunately this does not solve my problem. As I did exact the same things you descripted I'm wondering what else could cause the difference.
Just to be sure: if you add new users to your user-store in your SQL Server / SQL Server Express-DB, the password there would get a passowrd with the format encrypted and not hashed (PasswordFormat = 2 in the table aspnet_Membership)?
If this is the case - congrats! 😉