This section will guide you through the configuration of the database and it will include the following steps:
- Create Pronestor database
- Create user account for the database
- Choosing data
Create Pronestor database
Setting up a database on the SQL server requires that you have installed or has access to a Microsoft SQL server.
To work on the SQL Server you need to launch the SQL Server Management Studio.
- Launch SQL Server Management Studio – you’ll find this tool in Start->All Programs->Microsoft SQL Server 2005/2008/2012
- Connect to the database by logging in to the SQL Server
- Choose Databases folder in the left menu, right-click and select New Database
- Give the database a name (we’ll refer to it as ‘PronestorDB’)
- Click OK to create the database, and close the “New database” window
- Choose Security in the left menu – and then right-click Logins and choose New Login
Create User account for the database
We need an account on the SQL server so we can access the Pronestor database from our application
Note – using Windows Authentication on SQL Server
Pronestor Planner supports both SQL Server Authentication and Windows Authentication on the SQL Server. If you require that the access to the SQL server uses Windows Authentication – please see section 5.1 Enabling Windows Authentication on SQL Server
- Set the Login name (we’ll use ‘PronestorUser’ in these guide)
- Choose SQL Server Authentication
You can use Windows Authentication as well - it will require that you set up the application pool to have the appropriate permissions - Set a password and confirm password
- Disable “Enforce password policy”
You can enable this, thus requiring you to enter a password that complies with the given password policies
Set database and user mapping
- Choose User Mapping in the left menu
- Enable ‘PronestorDB’ in the upper window
- Set the following database role memberships for the database as db_owner
Populating database with data
When launching Pronestor Planner for the very first time, the database will automatically be create with table etc.
If you want the default data in the database to be different from "en-US", please edit the appsettings.config as described below.
- Edit the file “appSettings.config” in Notepad (located in c:\inetpub\wwwroot\pronestor\Configuration)
- Locate the section “<appSettings>”
- Specify the “SeedCulture”, i.e. the language of the inserted data, e.g. “da-DK” for Danish:
- <add key=" SeedCulture " value="en-US "/>
- Save the file
Comments
1 comment
Hvis der er tvivl om db user har rettigheder, kan dette tjekkes via odbc.
https://help.sap.com/doc/saphelp_smp303svr/3.0.3/en-US/7c/2dae0e70061014a07bff36d684b6ab/content.htm?no_cache=true
Please sign in to leave a comment.