Problem
When opening PeopleSync Console, the following error message is shown:
...
Code Block |
---|
The application cannot connect to the specified database, because the latter doesn't exist or its version is older than that of the application. This error occurred because the automatic database update was disabled when the application was started without debugging. To avoid this error, you should either start the application under Visual Studio in debug mode, or modify the source code of the 'DatabaseVersionMismatch' event handler to enable automatic database update, or manually create a database using the 'DBUpdater' tool. Anyway, refer to the 'Update Application and Database Versions' help topic at http://www.devexpress.com/Help/?document=ExpressApp/CustomDocument2795.htm for more detailed information. If this doesn't help, please contact our Support Team at http://www.devexpress.com/Support/Center/ |
Solution
This error may be shown when the user running the console doesn't have permission to access the PeopleSync database.
...
In SQL Server Management Studio, go to the tree in the left-hand side. From top level, go to Security\Logins.
Open context menu and select "New Login".
For "Login Name", select your AD group. Also select "Windows Authentication" and set "Default Database" to the PeopleSync DB.:
Go to "Securables" and select the PeopleSync database. Then select db_datareader and db_datawriter permissions:
Save.
Add your user to this AD group, logoff/logon and try opening the PeopleSync console again.
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...