Solution ID: prim28779 |
myPrimavera link in Expedition gives error : Invalid or unrecognized db host/name. |
Status: Reviewed |
Version(s): 10.0, 10.0i, 10.1, 10.1i, 5.0, 5.0 Beta, 6.0, 6.1 |
Fact: | The myPrimavera database is in a named instance of MSDE or MSSQL server. |
Problem: | myPrimavera link in Expedition Professional 10.1 gives the following error : An Error has occurred Invalid or unrecognized db host/name.
|
Fix: | This known problem in myPrimavera 5.0 has been corrected in version 5.0 Service Pack 4. To download the latest Service Pack for myPrimavera 5.0, see: Solution ID: prim29265 揥hat are the latest Service Packs for Primavera version 5.0??/A> |
Fix: | This known problem in P6 Web Access has been corrected in P6 Web Access 6.1 Service Pack 1. To download the latest Service Pack for P6 Web Access 6.1, see: Solution ID: prim70659 揥hat are the latest Service Packs for Primavera version 6.1??/A> |
Fix: | Workaround: To successfully launch myPrimavera from within Expedition Professional 10.1 when myPrimavera is connecting to a NAMED INSTANCE of MSDE or Microsoft SQL Server, edit the ODBC system data source on the Expedition Professional Web/Application server. NOTE: Configuring the ODBC system data source is not required to launch myPrimavera from within Contract Manager 11.0. Note: Creating the SQL Server alias prior to configuring the system DSN will not resolve this issue. The SQL Server alias must be created by modifying the client connection parameters in the system DSN. 1. On the Expedition Professional Web/Application server go to Start > Run and type ODBCAD32 and click OK.
2. Go to the SYSTEM DSN tab of the ODBC Data Source Administrator and select the system data source created when Expedition Professional was linked to the P5 Schedule. To verify the data source name, review the following Solution: NOTE: In this example, the name specified is TEST_EXP. (Expedition will always add the _EXP designation by default to the ODBC name specified in Server Configuration). 3. Click Configure:
4. Specify the machine name of the SQL Server you are connecting to and click Next.
5. Click on the Client Configuration button to enter in the details of the SQL Server connection.
6. Select TCP/IP under Network Libraries and enter in the machine name of the SQL server in the Server Alias and Server Name fields. Enter the port number being used to connect to the MSDE instance. NOTE: The find out what port number is being used by the MSDE database server please see the following Solution: Solution ID: prim48201 ”How to determine the port number of a MSDE named instance.”
7. After returning to the Server DSN Configuration window, provide login credentials for this SQL server connection. The default username/password is privuser/privuser. Click Next. 8. Verify that the default database is set to the name of your Project Management database. In this example it is PMDB$PRIMAVERA. Click Next.
9. At the final screen choose Finish.
10. A summary of the connection settings specified will be displayed with the option to test the data source connection. To test the connection, click on the Test Data Source Button.
11. After successful connection, click OK and close out of the ODBC Data Source Administrator.
12. Log in to Expedition Professional and launch myPrimavera. |