Solution ID: prim29631 |
Bad public user Name or password. SQL Server Error: [DBNETLIB][ConnectionOpen(Connect()).]SQL Server does not exist or access denied.; |
Status: Reviewed |
Version(s): 5.0 |
Fact: | MSDE on Windows XP SP2 |
Fact: | SQL 2000 |
Problem: | Bad Public Hostname on MSDE standalone installation |
Problem: | Bad public user Name or password. SQL Server Error: [DBNETLIB][ConnectionOpen(Connect()).]SQL Server does not exist or access denied.; Image may be NSFW. |
Problem: | Receive error Bad public user Name or password. SQL Server Error: [DBNETLIB][ConnectionOpen(Connect()).]SQL Server does not exist or access denied.; when configuring an alias to connect to a MSDE database on another machine. |
Problem: | Bad public user name or password. Database Server Error: Login failed for user ‘pubuser’.; |
Cause: | The client application is not able to successfully connect to the database. Please review all possible causes/solutions below. |
Fix: | CAUSE 1: Customer is installing 5.0 after deleting the 4.0 client. Customer gets the error: Bad public user Name or password. SQL Server Error: [DBNETLIB][ConnectionOpen(Connect()).]SQL Server does not exist or access denied.; NOTE: The default configuration entries for a standalone installation are localhost\primavera for the server host name and PMDB$primavera for the database name. FIX 1: Image may be NSFW. |
Fix: | CAUSE 2: FIX 2:
|
Fix: | CAUSE 3: When XP SP2 is installed on a machine, this disables access to all of its ports so that no other external machines can connect to it. FIX 3: |
Fix: | |
Fix: | CAUSE 4: On a machine that does not have a network cable plugged in, ‘localhost’ is not recognized as a valid replacement for the machine name. (This is common in a ‘stand alone’ environment.) FIX 4: |
Fix: | CAUSE 5: User made a typo in the server name. Accidentally typed ” / ” (forward slash) instead of the correct ” \ ” (back slash). FIX 5: |
Fix: | CAUSE 6: Databases were not created during standalone installation. To verify:
FIX 6: |
Fix: | CAUSE 7: MSSQL database windows service is not started for a MS SQL database Image may be NSFW. FIX 7: Image may be NSFW. Set the service to Automatic so it will restart after a shutdown of the machine. |
Fix: | CAUSE 8: If running full SQL 2000, Authentication setting is set to “Windows Only”. FIX 8: Within Enterprise Manager, right click on servername, go to “Properties”. On Security tab, set Authentication to “SQL Server and Windows” Image may be NSFW. |
Fix: |
CAUSE 9: The SQL port was changed on the server and either: 1.) the new port is not dynamcially resolving, or 2.) there is already a static port specified on the client machine. FIX 9: (to be done from the machine that can’t connect to the database)
|
Fix: | CAUSE 10: The application was installed using the “Client Applications” whereas the intention was to install the Stand-alone version of the software, which installs a database locally for the client to connect to. Image may be NSFW. FIX 10: Uninstall the software and re-install, choosing Stand-alone rather than Client applications |
Fix: |
CAUSE 11:
FIX 11:
|
Fix: | CAUSE 12:
FIX 12:
|