Friday, September 10, 2010

Get free P3, P6, Project tips & tricks, register to
our newsletter!

To be able to post message in forums, please login or register.

Registration is free (also spam-free)!

configure Restore Database
Last Post 14 Mar 2010 09:26 AM by mbdars. 7 Replies.
AddThis - Bookmarking and Sharing ButtonPrinter Friendly
Sort:
PrevPrev NextNext
AuthorMessages
hany elkazzazUser is Offline
New Member
New Member
Send Private Message
Posts:1
hany elkazzaz

--
25 Aug 2009 02:11 PM QuoteQuoteReplyReply  
hi allllllllll
my problem i restore the bakup database v.good

but when i connect P6 with this restore database give me error messege

bad command etc...............

any one have sol. plze provided me

regards

TibiUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:30
Tibi

--
25 Aug 2009 06:32 PM QuoteQuoteReplyReply  
hi. you should check the database security login credentials for users privuser and pubuser. default installation settings use passwords identical to the username, unless strong password policy is enforced.

you sould make sure that the password field for user "pubuser" in the DBConfig wizard window is not blank when trying to connect to the P6 database.

if necessary, you can reset login settings for the restored database by running the following script on your PMDB database (default name)

EXEC sp_change_users_login 'Update_One', 'privuser', 'privuser'
EXEC sp_change_users_login 'Update_One', 'pubuser', 'pubuser'
TibiUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:30
Tibi

--
25 Aug 2009 06:39 PM QuoteQuoteReplyReply  
then again it really depends on that message you get. is it
Bad public user name or password. Database Server Error: Login failed for user 'pubuser'?
hany elkazzaz
Posts:386
hany elkazzaz

--
29 Aug 2009 03:21 PM QuoteQuoteReplyReply  

alot of thanks for u reply
plz i need to explain this step
How i make this & where? by photo if avilable
if necessary, you can reset login settings for the restored database by running the following script on your PMDB database (default name)

EXEC sp_change_users_login 'Update_One', 'privuser', 'privuser'
EXEC sp_change_users_login 'Update_One', 'pubuser', 'pubuser'

step by step bacause iam new in this field
syedUser is Offline
New Member
New Member
Send Private Message
Posts:1
syed

--
30 Aug 2009 04:22 PM QuoteQuoteReplyReply  
please help me for configuring data base
i make the configuration like below
1. project manager database - PMDB
2. database alias - PMDB
3. driver type - microsoft SQL server / MSDE
4. host name - computername\primavera
5. database name - pmdb$primavera
6. database alias - PMDB
7. user name - i entered these three option privuser or pubuser or admin/admin
8. password - i entered these three option privuser or pubuser or case-sensative
9. public group id 1 - 1

this is the error i am getting
Bad public user name or password. External exception 80000004;

please give me the solution for this problem.

Thanks
TibiUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:30
Tibi

--
31 Aug 2009 02:23 PM QuoteQuoteReplyReply  
save the following 2 lines

EXEC sp_change_users_login 'Update_One', 'privuser', 'privuser'
EXEC sp_change_users_login 'Update_One', 'pubuser', 'pubuser'

in a .txt file and renanme the file to a .sql extension
open the file with MS SQL Management Studio (double-click it)
or
open MS SQL Management Studio (Start \MS SQL\Management Studio or
"C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\SqlWb.exe")

you will have to:

- login to your SQL instance using SQL sistem administrator (sa) password or Windows authentication (if logged into Windows with an admin user)

- make sure you select your P6 database (ex: PMDB or pmdb$primavera) in the pane on the left.

- under File menu either Open and navigate to the file or New Query (Ctrl+N) and paste the contents of the file

IMPORTANT!
this is pretty harmless and simple but other scripts may cause you to lose or permanently trash your data!!
BEFORE running querries it is recommended to back up your database (if you are't sure how it is better not to run querries at all (simple or not)!!

- execute the 2 querry lines (F5). you can select and execute selected query/ies separately if you need to.
hope this helps
tatiap95
Posts:386
tatiap95

--
08 Mar 2010 12:12 PM QuoteQuoteReplyReply  

Thank you so much.  This has helped me.  Didn't realize I had to do this script even when doing the automatic upgrade.

mbdars
Posts:386
mbdars

--
14 Mar 2010 09:26 AM QuoteQuoteReplyReply  
بصراحة ربنا يكرمك بقولهالك من كل قلبي و ربنا يزيدك علم و يكتبلك كل خير دنيا و آخرة


Quick Reply
toggle
 Username:
Subject:
Body:
Security Code:
CAPTCHA image
Enter the code shown above in the box below

Submit
Active Forums 4.2