Quantcast
Channel: Primavera Online Interaction » PMDB
Viewing all articles
Browse latest Browse all 92

prim22440:Error was received while running the Resync Script after attaching the PMDB_DATA.mdf and PMDB_LOG.ldf files were attached to the MSDE 2000.

$
0
0
Solution ID: prim22440
Error was received while running the Resync Script after attaching the PMDB_DATA.mdf and PMDB_LOG.ldf files were attached to the MSDE 2000.
Status: Reviewed
Version(s): 3.5, 3.5.1, 3.5.2, 4.0, 4.1, 5.0



Problem: Error when running the Resync Script after attaching the PMDB_DATA.mdf and PMDB_LOG.ldf files were attached to the MSDE 2000.

Server: Msg 15291, Level 16, State 1, Procedure sp_change_users_login, Line 96
Terminating this procedure. The Login name ‘pubuser’ is absent or invalid.



Server: Msg 15291, Level 16, State 1, Procedure sp_change_users_login, Line 96
Terminating this procedure. The Login name ‘privuser’ is absent or invalid.

Cause: The machine had never hosted a Primavera database.
Fix:

  1. Log in to the MSDE server as an administrator.  This is most commonly accomplished using the OSQL utility via DOS.
     
    Examples:

    C:\>osql -E -S localhost\primavera
      (or)
    C:\>osql -U sa -P prima -S localhost\primavera
     

  2. Run the scripts to create the necessary users in the database instance: ‘privuser’ and ‘pubuser’.
     
    Example:
     
    1>EXEC sp_addlogin ‘privuser’,'privuser’
    2>EXEC sp_addlogin ‘pubuser’,'pubuser’
    3>go

     

  3. Specify the database name.
     
    Examples:
     
    1>use pmdb$primavera
      (or)
    1>use pcondb
     

  4. Run the scripts to resync the users.
     
    Example:
     
    2>EXEC sp_change_users_login ‘Update_One’, ‘PUBUSER’,'PUBUSER’
    3>EXEC sp_change_users_login ‘Update_One’, ‘PRIVUSER’,'PRIVUSER’
    4>go

Viewing all articles
Browse latest Browse all 92

Trending Articles