Project Database Restoration

J

jcagots

Our SQL server bug downed last saturday, and unfortunately, the system
restore is not working. So what we did was reformat and re-install SQL.. now
the issue was when we restore all the database, i cant access PWA and MS
Project Pro.. i got an error 5001 which is cannot access to the server, cant
login. I tried both Projectserver authenticated accounts and valid windows
account but still cant access. Re-configure the Sharepoint services, stop and
re-start IIS still cant access. Is there other way to solve this? did i miss
something? please help and thanks!
 
G

Gary L. Chefetz [MVP]

Did you correctly recreate the MSProjectUser and MSProjectServerUser
accounts in SQL? Download the EditSite tool from Microsoft Downloads and use
the test button to test the site, and let us know what the tool reports.
 
J

jcagots

Hi Gary,

yeah, i already re-created the MSProjectServerUser and MSProjectUser. I run
the edit site and the result says that i cant connect to the database. Any
other work around? thanks in advance..
 
R

Rolly Perreaux

Question
Did you delete the MSProjectServerUser and MSProjectUser SQL accounts
before recreating them? I know that has caused problems for some of our
clients in the past.

Did you get a chance to review the following KB article:
How to back up, schedule, and restore a Microsoft Project Server
database
http://support.microsoft.com/kb/323330/

Food for thought?

--
Rolly Perreaux, PMP, MCSE
Project Server Trainer/Consultant

TriMagna Corporation
Microsoft Gold Partner
http://www.trimagna.com
 
J

jcagots

Hi Rolly,

Yes, i deleted the accounts before i re-created them. I already followed
what is instructed on the KB article, still the problem continue.
 
R

Rolly Perreaux

Hi jcagots,

Can you provide us with more information of your EPM deployment?
For example, How many servers, which application versions, service packs
installed, what network configuration, etc.

In other words, give us the big picture
The more info you give us, the better we can try to help you

Many thanks!

--
Rolly Perreaux, PMP, MCSE
Project Server Trainer/Consultant

TriMagna Corporation
Microsoft Gold Partner
http://www.trimagna.com
 
J

jcagots

hi Rolly,

Ok, here's our current setting, we have a seperate box for EPM (where PS
2003 and SharePoint Services are installed) and other box for our SQL
(SQL2000 SP4).
2 weeks ago, we have a disk failure on our SQL Server, and since it was
still under warranty, the vendor's technical guy came and replaced the disk.
First, i showed the which disk (using dell open manager)and whats the raid
configuration (raid 1). Since we are using raid 1, we are confident that we
will just remove the failed disk and replaced it with the new one. When he
pulled it out, the system re-booted. when we check the bios configuration,
the server is set on raid 0!! we dont know how this sudden change of raid
setup occured, anyway, since we dont have any choice that time and what we
need was to restore and run the server immediately. We inserted the new disk,
reformatted it and first, try to restore the system state (using the NT
restore). After rebooting, the system hangs. We repeated it again for 3-5
times until we decided to reformat and re-install SQL and just restore the
databases. After applying the windows update and latest SP's, we restored the
databases. After that, i re-started the server and check the PWA connection.
Thats when i saw the error. I cant log to PWA (using both windows and project
server accounts). I did some reconfiguration, icnluding the deletion and
re-creation of MSProject accounts, re connect to the Sharepoint central
databases..reset iis..run edit site (which also resulted on an error on the
connection)

Yesterday, i restored one of the old backup (around last week of july) and
now i was able to connect, but the problem is, the WSS services hangs, or
dont display the status / page of risk, issues and document per team sites.
Also the OLAP is not updating, even i forced it to update.

currently, im browsing the internet to look for other ways to solve this. I
think there was something wrong with the indexes of the database, (wild guess
only) and im not a DBA or a guy who has intensive knowledge on SQL, to be
honest, what i only knew was to backup and restore, attach and detache
databases.

Hope everything is clear now, hope for your fast analysis on this issue.
Thanks!
 
J

jcagots

Hi,
hope that somebody can help me..

thanks

jcagots said:
hi Rolly,

Ok, here's our current setting, we have a seperate box for EPM (where PS
2003 and SharePoint Services are installed) and other box for our SQL
(SQL2000 SP4).
2 weeks ago, we have a disk failure on our SQL Server, and since it was
still under warranty, the vendor's technical guy came and replaced the disk.
First, i showed the which disk (using dell open manager)and whats the raid
configuration (raid 1). Since we are using raid 1, we are confident that we
will just remove the failed disk and replaced it with the new one. When he
pulled it out, the system re-booted. when we check the bios configuration,
the server is set on raid 0!! we dont know how this sudden change of raid
setup occured, anyway, since we dont have any choice that time and what we
need was to restore and run the server immediately. We inserted the new disk,
reformatted it and first, try to restore the system state (using the NT
restore). After rebooting, the system hangs. We repeated it again for 3-5
times until we decided to reformat and re-install SQL and just restore the
databases. After applying the windows update and latest SP's, we restored the
databases. After that, i re-started the server and check the PWA connection.
Thats when i saw the error. I cant log to PWA (using both windows and project
server accounts). I did some reconfiguration, icnluding the deletion and
re-creation of MSProject accounts, re connect to the Sharepoint central
databases..reset iis..run edit site (which also resulted on an error on the
connection)

Yesterday, i restored one of the old backup (around last week of july) and
now i was able to connect, but the problem is, the WSS services hangs, or
dont display the status / page of risk, issues and document per team sites.
Also the OLAP is not updating, even i forced it to update.

currently, im browsing the internet to look for other ways to solve this. I
think there was something wrong with the indexes of the database, (wild guess
only) and im not a DBA or a guy who has intensive knowledge on SQL, to be
honest, what i only knew was to backup and restore, attach and detache
databases.

Hope everything is clear now, hope for your fast analysis on this issue.
Thanks!
 
R

Rolly Perreaux

Hi jcagots,

I'm almost finished a very detailed reply in regards to your situation.
Return back here in about 8-10 hours. It'll be worth it :)

But now I'm off to bed zzzzz

--
Rolly Perreaux, PMP, MCSE
Project Server Trainer/Consultant

TriMagna Corporation
Microsoft Gold Partner
http://www.trimagna.com
 
R

Rolly Perreaux

Hi jcagots,

Sorry for the delay
I wish it was a fast analysis and fix :)

OK, let's do a recap...
If I have questions during the recap, I'll place them in parenthesis.

So you have 2 servers in you EPM configuration

Server 1
- Project Server 2003
- Windows SharePoint Services
(Did you install the latest service packs for both products)

Server 2
- SQL Server 2000 w SP4
- Analysis Services (Did you load SP4?)

1. Hard disk fails on SQL Server hosting the Project Server database.
2. Tried to restore entire hard disk unsuccessfully
3. Re-installed OS and SQL Server 2000 w SP4
4. Restored the databases (assuming ALL databases)
5. Attempted to access Project Web Access but received 5001 error
SEE KB Article 839773 for additional info
http://support.microsoft.com/kb/839773/en-us?spid=2525&sid=292
6. Attempted reconfiguration of Project Server SQL user accounts,
reconnecting SharePoint databases, etc.
7. Restored old Project Server database backup
8. Now you can access Project Web Access but now there's a problem with
Windows SharePoint Services. (What do you mean the service hangs? Does
it take a long time to get a Web Error?)
9. The OLAP Cube is not updating.

Would this be a fair representation of what happened?
If so, I can see two issues:

A. It appears that you are missing the installation of the Analysis
Services client and DSO component on Server 1 (OLAP Cube creation)

B. It sounds like your databases (Project Server & WSS) are potentially
out-of-sync when you restored the old Project Server database backup.

So... Let's try a few things


CONFIGURE PROJECT SERVER COMPONENTS - OLAP CUBE/PORTFOLIO ANALYZER VIEWS
========================================================================

1. Make sure that Service Pack 4 for Analysis Services is installed on
Server 2

2. Install the Analysis Services Decision Support Object (DSO) component
on Server 1.
a. Then install Service Pack 4 for Analysis Services. (All
Analysis Services components must use the same version in order to
communicate properly)

b. Then add the OLAP service account to the newly created OLAP
Administrators local group on Server 1

2. Creating a SQL Server OLAP Administrators account
a. On Enterprise Manager, expand the console tree to Security,
right-click Logins, and click New Login.

b. On the SQL Server Login Properties - New Login dialog box,
click the ellipse button (?) next to the Name box.

c. On the SQL Server Login Properties - New Login dialog box, in
the List Names From, select \\<SQL Server Name>*, select OLAP
Administrators, click Add and then click OK.

d. On the SQL Server Login Properties - New Login dialog box,
under Defaults select Repository from Database.

e. On the SQL Server Login Properties - New Login dialog box,
click Server Roles tab, and select the Security Administrators and
Database Creators check boxes.

f. Click the Database Access tab, select the Permit check box for
Repository, and in the Permit in Database Role, select the
db_owner check box and click OK.

g. Close SQL Server Enterprise Manager.

3. Migrate the SQL Analysis Services Repository

a. Open Analysis Services - Analysis Manager.

b. In Analysis Manager right-click <SQL Server Name> and click
Migrate Repository.

c. On the Migrate Repository Wizard page, complete the
configuration. When you get to "Which SQL Server database do you
want to use for the repository?" Select the Repository database,
and then click Finish.

4. Re-Build the OLAP Cube

5. Settings the Roles and Permissions on the OLAP Cube

a. Open Analysis Services-Analysis Manager.

b. In Analysis Manager, expand the console tree, expand to <OLAP
Cube Name>, right-click Database Roles and click Manage Roles.

c. In the Database Role Manager window, click New.

d. In the Create a Database Role window, complete the
configuration by using the following information and then click
OK.

Role name: Type Portfolio
Membership: Click Add and add Active Directory Groups or Users:
Cubes: Click the Cubes tab and select the following Cube
names:
MSP_ASSN_FACT
MSP_PORTFOLIO_ANALYZER
MSP_RES_AVAIL_FACT

6. Create a Portfolio Analyzer view

a. Log on to PWA as Administrator and click Admin --> Manage
views.
b. On the Specify Views page, click Add View.
c. On the Specify Views web page, complete the configuration by
using the information in the following table:
View Type: Select Portfolio Analyzer
Name: <Name of Portfolio Analyzer View>
Mode: <PivotTable with Chart>
d. Click anywhere on the chart to bring up the PivotTable Field
List dialog box.
e. Drag and drop the fields to the corresponding zones to create a
chart.
f. In the Categories section, select the category(ies) allowed to
view this Portfolio Analyzer view and click Save Changes.

You're done!

Next...On to the SharePoint Issue


RE-SYNC WINDOWS SHAREPOINT DATABASE
===================================

1. Restore SharePoint database (configuration and conntent) to the same
point in time as the restoration of the Project Server database

2. Check connectivity to SharePoint Central Administration

a. Start Menu --> Programs --> Administrative Tools --> SharePoint
Central Administration
b. At the Central Administration page, under Virtual Server
Configuration, click Configure virtual server settings.
c. At the Virtual Server List, there should be two virtual
servers, one for Project Server, one for SharePoint. They should
also have two distinct URLs.

For example, on my demo machine Project Server is listed as
http://psdemo/ and version is Not Installed (since it's using
Active Server Pages)
SharePoint is listed as http://psdemo:90/and version is 6.0.2.5530
since the virtual server has been extended with SharePoint.

(What are your settings on this page? Write them down)

d. Close SharePoint Central Administration

3. Check WSS connectivity from Project Web Access

a. Log on to PWA as Administrator and click Admin --> Manage
Windows SharePoint Services.
b. On the Connect to SharePoint Server page, click the link
http://<WSSVirtualServer>/sites/MS_ProjectServer_PublicDocuments

(Does it connect and open the Public Documents Project Workspace?)

d. Close the Public Documents Project Workspace.
e. On the Connect to SharePoint Server page, click Site
provisioning settings.
f. On the Windows SharePoint Services team Web site provisioning
settings page, verify that Settings for Web site creation is set
for "Automatically create..." and both check boxes are checked and
click Save Changes and then click Manage SharePoint Sites.

4. Check Connectivity to Project Workplace Sites

a. On the Manage Windows SharePoint Services sites page are the
URLs displayed? If they are, is the virtual server URL (not the
whole link) displaying the same URL as the Public Documents
Project Workspace in Step 3?

For example, my demo machine displays:
http://psdemo:90/sites/projectserver_101 for Project ID 101

b. Click the Site Address of a Project ID (101). If you can open
the Project Workplace for the Project ID, then full connectivity
works.

If not, reply back with the error message and we'll take the next
step.

Please let us know if this helped when you have a chance

Cheers,

--
Rolly Perreaux, PMP, MCSE
Project Server Trainer/Consultant

TriMagna Corporation
Microsoft Gold Partner
http://www.trimagna.com
 
J

jcagots

Hi Rolly,

Thanks for the effort and time to reply. I do really deeply appreciate it.
Anyway, for some clarification and also
answers to your question(s), i included a <jcagots> for my answers and also
inquiries below:

Server 1
- Project Server 2003
- Windows SharePoint Services
(Did you install the latest service packs for both products)
<jcagots> yup, it has the latest SP (SP2a)

Server 2
- SQL Server 2000 w SP4
- Analysis Services (Did you load SP4?)
<jcagots> the analysis services is running on Server1; dont know why the
former admin set this up this way.
and yes, i already installed the SP4 for SQL and analysis services

8. Now you can access Project Web Access but now there's a problem with
Windows SharePoint Services. (What do you mean the service hangs? Does it
take a long time to get a Web Error?)
<jcagots> what i meant was, on the home page of the PWA, on the "risk" and
"issue" part (lower part of the page) it only show the message "Loading
summary data from the server running Windows SharePoint Services. Please wait
...." and when i go to Admin->ManageSharepoint Site, the page does not
display. also when i go to the collaboration part (risk, issue, document)
when i click the team site, it will also show that the page cannot be
displayed (hope you got it.)


1. Make sure that Service Pack 4 for Analysis Services is installed on
Server 2
<jcagots> yup, its installed already.

2. Install the Analysis Services Decision Support Object (DSO) component
on Server 1.
a. Then install Service Pack 4 for Analysis Services. (All Analysis
Services components must use the same version in order to communicate
properly)

<jcagots> is it ok for me to install the DSO component on server1? because
i already installed the SP4 for
Analysis Manager.

b. Then add the OLAP service account to the newly created OLAP
Administrators local group on Server 1
< jcagots> did it during my previous troubleshooting.

2. Creating a SQL Server OLAP Administrators account

d. On the SQL Server Login Properties - New Login dialog box, under
Defaults select Repository from Database.
<jcagots> i get a little lost here, is the "Repository" that you are
pointing is the ProjectServer database? if not, what is it?

3. Migrate the SQL Analysis Services Repository

a. Open Analysis Services - Analysis Manager.

b. In Analysis Manager right-click <SQL Server Name> and click Migrate
Repository.
<jcagots> since my ProjectServer and Analysis Manager are inside one box
(Server1) can you please ellaborate more on how to do this? thanks..

c. On the Migrate Repository Wizard page, complete the configuration. When
you get to "Which SQL Server database do you want to use for the repository?"
Select the Repository database, and then click Finish.
<jcagots> when i tried this, because i thought that the "Repository" is the
ProjectServer dbase, when i come to this part, the default is the
msdb..again, need some more explanation on this part..sorry if i cant catch
it quickly..

RE-SYNC WINDOWS SHAREPOINT DATABASE
===================================
<jcagots> regarding this subject, i can connect to the Sharepoint Central
Administration, for the item(s) you
pointed on #1 & 2, there's no problem on doing this (by the way, the version
is 6.0.2.6361)
but on the procedures #3 &4, i cant perform this because i cant open the
"Manage Windows Sharepoint.." at the PWA (page cannot be displayed) even if i
type the url (http://virtual server:port#/MS_ProjectServer_Public Documents
or witht the team site ) i cant view the page. also, when i try to browse the
web site on IIS, cant view it, only the Sharepoint Central Administration is
viewable..

Rolly, i do appreaciate the kindness, time and patience that you gave in
answering my question, i do hope that
you can help me out on this one. You can email me if you want to ask me more
info.

Regards,

jcagots
 
J

jcagots

Hi guys!

any news about my problem? im still looking for a solution for this. hope
you can help me.
thanks in advance!!

jcagots
 
R

Rolly Perreaux

Sorry jcagots,

I accidentally marked your message as read :-(

OK, let's review...

Current Server Configuration
============================
Server 1
- Project Server 2003 with SP2a
- Windows SharePoint Services with SP2a
- Analysis Services with SP4

Server 2
- SQL Server 2000 with SP4


CONFIGURE PROJECT SERVER COMPONENTS - OLAP CUBE/PORTFOLIO ANALYZER VIEWS
=======================================================================
Analysis Services loaded on Server 1 with Project Server and WSS isn't
the most ideal configuration for future scalability. Before we try
anything, can you install Analysis Services with SP4 on Server 2 and
uninstall on Server 1?

If you can then you will be able to complete the configuration using the
detailed steps in my previous post. If you can't then we'll have to
reconfigure the installation.


RE-SYNC WINDOWS SHAREPOINT DATABASE
===================================
When you say, " i cant perform this because i cant open the "Manage
Windows Sharepoint.." at the PWA..." are you saying that you cannot
click on the link called "Manage Windows Sharepoint Services" from the
Administration Overview page or when you click the link you receive an
error and the web page is not displayed?

When you are attempting this task, are you logged on to PWA as
Administrator?

Question...
Do you have 2 separate IIS Web Sites on Server 1 for Project Server and
WSS?

Let us know what you find.
Many thanks!

--
Rolly Perreaux, PMP, MCSE
Project Server Trainer/Consultant

TriMagna Corporation
Microsoft Gold Partner
http://www.trimagna.com
 
J

jcagots

Hi Rolly,

thats ok, accidents do happen sometimes =>

anyway, the reason why we installed the Analysis services on Server1 (this
came
from the former dba of our group) is because we were planning to migrate our
sql
databases on our enterprise sql server (that has a load balance) which until
now is
on the process of testing and configuration. Still, as part of isolating and
checking
the problem, i will install the analysis services on our sql server
(server2) and re-build
the cube.

" When you say, " i cant perform this because i cant open the "Manage
Windows Sharepoint.." at the PWA..." are you saying that you cannot click on
the link called "Manage Windows Sharepoint Services" from the
Administration Overview page or when you click the link you receive an
error and the web page is not displayed? "

- i can click the "Manage Windowsd sharepoint services" only the page will
not load, though on the status bar of IE, you can its reading, but when it
reaches
the peak of the bar, you will received the "page cannot be displayed"
message. Also
it takes more than 2 hours, before it loads the page (error).


" When you are attempting this task, are you logged on to PWA as
Administrator?"

- yes, i have an account both windows authentication and project
authentication that has
admin rights. Im currently using them on our troubleshooting


" Question...
Do you have 2 separate IIS Web Sites on Server 1 for Project Server and
WSS?"

- Yup, each one has its own web sites

I'll perform the Analysis installation within the day and will give feedback
to you ASAP.

Many thanks Rolly !

regards

jcagots
 
J

jcagots

Hi Rolly,

After doing what you just suggested (install the analysis services on
server2, un-install Analysis services on server1) still the cube is not
rebuilding and not updating.

hope that you got my answer on your last question about Sharepoint..

thanks for the time and help about this. hope to hear some answers from you
ASAP.

Regards,

jcagots
 
R

Rolly Perreaux

Hi jcagots,

Let's try one last thing...
It may solve both problems...

Step 1
Since Analysis Services has moved to Server 2, install Analysis Services
Decision Support Object (DSO) on Server 1 (Project Server) and install
the same service pack version on Server 1 that is installed on Server 2

Step 2
Add the OLAPserviceAccount to the OLAP Administrators local group on
Server 1

Step 3
1. From the Server 1 (Project Server) open Windows Explorer and navigate
to C:\Program Files\Microsoft Office Project Server 2003\BIN\1033
2. Double click PSComPlus.exe
3. In the Microsoft Office Project Server COM+ Settings dialog box,
configure the settings as follows:

Analysis Service (OLAP) Access Identity
Username: <DomainName>\<OLAPserviceAccount>
Password: *******

Windows SharePoint Services Administration Identity
Username: <DomainName>\<WSSserviceAccount>
Password: *******

4. Click Create/Update COM+ Apps

Let us know how it turns out...

Cheers,

--
Rolly Perreaux, PMP, MCSE
Project Server Trainer/Consultant

TriMagna Corporation
Microsoft Gold Partner
http://www.trimagna.com
 
J

jcagots

Hi Rolly,

sorry for the late reply, im out of the office for a almost a week..
anyway, the following are the things that i did:

1. did all the instructions from you previous post, still the same.

2. got windows update, a liitle improvement, i can click the sharepoint
configuration
page at PWA, the problem is the team site and the collaboration, it is
suggesting to
re- create the site. There are information and files (docs and pictures)
already uploaded. If i re-create the site, will the files and updates on the
collaboration will be removed??

still, the homepage says that i still have problem connecting to the
sharepoint database. Hope you can still assist me on this one. Thanks

jcagots
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top