"An unexpected error has occurred in the modeling server" error message when you try to create a model in Project Server 2002 (827905)
The information in this article applies to:
- Microsoft Project Server 2002
Important This article contains information about modifying the registry.
Before you modify the registry, make sure to back it up and make sure that you
understand how to restore the registry if a problem occurs. For information
about how to back up, restore, and edit the registry, click the following
article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows Registry SYMPTOMSWhen you try to create a Portfolio Model in Microsoft
Project Web Access (PWA), you may receive the following error message: An unexpected error has occurred in the modeling server. Please
see your server administrator. If you have turned on modeling error
logging, the following text may appear in the Modeler trace log: SERVER COMPONENT ERROR occurred at 12-Nov-03 10:30:25 PM
Error# = 5
Source = mspjwms
Descr = Invalid procedure call or argument
Server Component Info:
Component Title = mspjwms
Component AppName = C:\Program Files\Microsoft Project Server\Bin\MSPJWMS.(EXE or DLL)
Component Version = 10.2003.723
Server Info:
Server UserID = Test User Computer = Test1
Client Info:
Calling procedure = /tests/Modeling/modeldtl1.asp
Calling Username = Test User
Procedure Nesting: (3) procedures.
mspjwms.CSession.SaveModelDetails [95]
mspjwms.CSession.CreateModel [44]
mspjwms.CSession.LoadCalendars
-----------------------------------------------------
SERVER COMPONENT ERROR occurred at 12-Nov-03 10:30:25 PM
Error# = -2147220495
Source = mspjwms.DBFunctions
Descr = Connection opened by mspjwms.CSession.SaveModelDetails and closed by Error handler
Server Component Info:
Component Title = mspjwms
Component AppName = C:\Program Files\Microsoft Project Server\Bin\MSPJWMS.(EXE or DLL)
Component Version = 10.2003.723
Server Info:
Server UserID = Test User Computer = Test1
Client Info:
Calling procedure = /tests/Modeling/modeldtl1.asp
Calling Username = Test User
Procedure Nesting: (2) procedures.
Error handler
mspjwms.DBFunctions.DBCloseConnection CAUSEThis problem may occur if one of the following conditions is
true:
- The Microsoft SQL account that is used to access the
Microsoft Project Server database is not configured to use the current database
as the default database. This configuration may occur when multiple Project
Server sites are configured to point to different databases by using the same
pair of SQL accounts. However, the default MSProjectServerUser and
MSProjectUser accounts can only be configured for one database.
- The localized calendars are missing. For example, the
default Enterprise Calendar in the Dutch version of Project Server is labeled
"Standaard". The Portfolio Modeler tries to load the default calendar at
startup. If this calendar is missing or is corrupted, you may receive the error
message that is described in the "Symptoms" section of this article.
RESOLUTIONThe localized default calendar is missingTo resolve this problem, restore the Enterprise Global template to
make sure that the localized default calendar is valid. To do this, follow
these steps:
- Log on to Microsoft Project Professional as an
administrator.
- On the Tools menu, point to
Enterprise Options, and then click Restore Enterprise
Global.
- Select the user account, and then click
Browse to locate your Enterprise Global backup file.
Note Do not use the Global.mpt file to restore your Enterprise Global.
Make sure that you locate an actual backup of your Enterprise
Global. - Click Restore.
- Restart Project Professional.
Configure the Microsoft SQL Server accountsTo resolve this issue, each Project Server database must have its
own unique pair of SQL accounts configured to use the current database as the
default database. Additionally, the SQL accounts must be configured as an
MSProjectRole or an MSProjectServerRole role. To create and to assign
SQL accounts to a default database, follow these steps. Note This example creates a pair of SQL accounts that are named
MSProjectUser1 and MSProjectServerUser1, and configures each database that is
accessed as the default database. This example also assigns the accounts to the
correct roles in the current database.
- Click Start, point to All
Programs, point to Microsoft SQL Server, and then
click Enterprise Manager.
- Expand the tree to find the Security
container, and then expand the Security container.
- Right-click Logins, and then click
New Login.
- In the Name box, type the name of the
account.
For this example, name the account
MSProjectUSer1. - Click the SQL Server Authentication option
button, and then provide the system administrator user account
password.
- In the Database drop-down list, click the
Project Server database that you want to use as the default database for this
account.
- Click the Database Access tab.
- Click the check box next to the database that you want to
access.
- In the Permit in database role area, click
the check box that is next to MSProjectRole.
- Repeat steps 3 through 9, replacing MSProjectServerUSer1 as
the account name in step 4, and then replace MSProjectServerRole as the role in
step 9.
REFERENCES For additional information about how to
troubleshoot model errors, click the following article numbers to view the
articles in the Microsoft Knowledge Base: 815456
PSVR2002: Error message when you create a new model
822383 PSVR2002: Error message when you try to use the Portfolio Modeler
Modification Type: | Major | Last Reviewed: | 3/24/2004 |
---|
Keywords: | kberrmsg kbSysSettings kbSecurity kbprb KB827905 kbAudITPRO |
---|
|