Solution ID: prim12129 |
Unable to connect to the database. Would you like to configure your connection now? |
Status: Reviewed |
Version(s): 3.5, 3.5.1, 3.5.1, 3.5.2, 4.0, 4.0, 4.1, 4.1, 5.0, 6.0, 6.1, 6.2, 6.2.1 |
Problem: | Unable to connect to the database. Would you like to configure your connection now? |
Fix: | Please check/verify the following: 1) Verify that the alias information is correct, including Database Name, Database Server, Public Login Id and password, Public Group Id (or if using Oracle the Database Connection String). 2) Check to be sure the SQL service is installed and running. Check for the service in Start Menu > Control Panel > Administrative Tools > Services. The Status should be “Started” and the Startup Type should be “Automatic”. For PM 5.0 (standalone), service name = MSSQL$PRIMAVERA For PM 6.0 and higher (standalone), service name = SQL Server (Primavera) 3) Check to make sure the PM and/or MM database(s) exist on the server. For full SQL 2000: Use SQL Enterprise Manager to look for PMDB and MMDB databases. For MSDE: 1. Open a command prompt window 2. At the prompt, type: osql -U sa -P <sa password> -S <server>, press Enter
4. At the 2> prompt, type: go, press Enter 5. This should return a list of databases that are on the server. Look for the PMDB and MMDB database names. For SQL 2005 Express: 1. Launch SQL Server Management Studio Express from Start/Programs/Microsoft SQL Server 2005/SQL Server Management Studio Express. 2. Connect to the <machine name>\primavera with Windows Authentication. 3. Expand the “Databases” folder on the left side. Look for the PMDB and MMDB database names. NOTE – If the databases do not exist, you will need to create them using the ConfigAsst.exe Utility found on CD1 |