project server 2003安装错误的解决方法

 安装project server 2003的时候出现:错误25624,执行SQL字符串失败。导致安装失败,具体提示信息(这个提示信息是网上拷的,我的提示信息第一句是中文的。^o^)如下

error 25624. Failed to execute SQL string. (-2147217900 /* Query
#10011 */
CREATE PROCEDURE dbo.MSP_WEB_SP_QRY_GetTasksIDs
@p0 INT
AS

Select
WA.WASSN_IN,
WA.WRES_IN_MGR,
WA>WPROJ_ID, oo WP.PROJ_NAME
……

到google中搜索了一下,有人建议手动添加数据库,见文章后面的摘录。下面介绍一下如何解决这个安装的错误。希望对大家有所帮助。


    使用安装程序出现这个错误后,退出安装程序。使用安装盘上提供的工具手动创建 Project Server 2003 数据库。Project Server 2003 CD 上提供的 SQL 脚本手动创建 Microsoft Office Project Server 2003 数据库。如果不希望由 Project Server 2003 安装程序创建数据库,可以使用这一过程。

注释 建议在创建数据库的计算机上运行这些脚本。

1. 修改SQL脚本文件
    1.1 用记事本打开文件夹Database中的文件WEBSPS.SQL,最好不要用UltraEdit打开,因为在UltraEdit中好像行号和记事本中的行号对应不上。

    1.2 修改WEBSPS.SQL里面的执行语句,需要添加单词“with”,红色字体表示。注意with单词的前后都要留有空格。共3处需要修改的,也就是需要添加三个“with”。
        1.2.1 在 8781行中: 
            select WASSN_ID from MSP_WEB_ASSIGNMENTS WAT2 WITH (index... 

        1.2.1 在 19456行中: 
            select WASSN_ID from MSP_WEB_ASSIGNMENTS WA WITH (index ... 

        1.2.1 在 26315行中: 
            select WASSN_ID from MSP_WEB_ASSIGNMENTS WAT2 WITH (index...


2. 创建数据库
    2.1 在“SQL Server 企业管理器”中,创建一个用于 Project Server 2003 的新数据库,比如:ProjServDB。

    2.2 将 Project Server 2003 CD 上的“SUPPORT”文件夹里面的“DATABASE”文件夹复制到本地磁盘,比如放在:D:\DATABASE 

    2.3 打开命令提示符,使用SETUPDB.CMD命令来创建 Project Server 2003 数据库,SETUPDB.CMD的命令格式如下:
    SETUPDB.CMD <ServerName> <DatabaseName> <UserName> <Password>
    比如输入:
        D:\DATABASE\SETUPDB.CMD databaseServer ProjServDB sa mypassword
    
    这里命令的路径是:D:\DATABASE\SETUPDB.CMD,也可以定位到DATABASE文件夹后,直接输入命令,不输入路径。
    数据库服务器<ServerName>是: databaseServer
    Project Server 2003 数据库<DatabaseName>是: ProjServDB 
    数据库的登陆账号 <UserName> 是: sa
    数据库的登陆密码 <Password> 是: mypassword
    
    在数据库登陆账号中也可以使用其他具有数据库创建和安全管理员身份到数据库账号。
    脚本运行的时间还是挺长的,耐心等待……。

3. 修改数据库账号属性
    在脚本成功结束,在数据库管理工具中,安全性\登录名中可以看到新增到两个账号,MSProjectServerUser和MSProjectUser。资料中说也可能没有这两个登录账号,需要自己创建,我是有看到这两个账号,所以自己创建账号能不能安装成功我就不知道了。
    
    3.1 打开MSProjectServerUser账号的登录属性对话框,在“常规”选择页中修改账号密码,并把默认数据库都改成刚刚创建的数据库,比如:ProjServDB。

    3.2 在“用户映射”选择页中,选择数据库刚刚创建的数据(比如:ProjServDB),并在数据库角色成员身份中选择“MSProjectServerRole”。关闭MSProjectServerUser账号的登录属性对话框。

    3.3 同样打开MSProjectUser账号的登录属性对话框,同MSProjectServerUser账号一样设置在“常规”选择页中修改账号密码,并把默认数据库都改成刚刚创建的数据库。

    3.4 在“用户映射”选择页中,选择数据库刚刚创建的数据(比如:ProjServDB),并在数据库角色成员身份中选择“ MSProjectRole”。关闭登录属性对话框。


4. 安装 Project Server 2003
    4.1 重新运行安装程序,安装 Project Server 2003 。在安装向导中的“请输入数据库服务器信息”页,选择“连接到其他现有数据库”,输入“数据库服务器”和“数据库名称”。

    4.2 在安装向导中的“输入数据库账号信息”页,填入刚刚设置的数据库账号MSProjectServerUser和MSProjectUse。

    这样应该可以安装成功了吧!这样的安装过程够麻烦的!



以下是从 ::URL::http://blogs.lv0.net/mpatest 摘录
/********************************开始******************************************

Running Project Server 2003 with SQL Server 2005 
Warning: This post assumes you know SQL commands and are looking to test Project Server 2003 running in SQL Server 2005.  This is not yet supported by Microsoft
, so I do not recommend you perform these actions in a production environment.

So, you might have learned that the long-awaited SQL Server 2005 product has been released.  If you own a copy (or are patiently awaiting the DVD's arrival), you no doubt are interested in using SQL Server 2005 as a testbed for Project Server 2003.  Although it is not supported and MS Project does not set up properly with it, you can indeed get it running.  Now, I've been testing for only a two days now, but it seems pretty stable.  I have not yet tried creating an OLAP cube or installing the demo database.

Here are the steps I followed.  You will find some good tips on the SQL statements that need to be edited on the Microsoft Newsgroups, but these are the definitive steps to getting Project Server set up and configured.  As always, make sure the database server, SharePoint, etc. are already installed and configured (so far SharePoint seems to work fine with SQL Server 2005, but again, I haven't done much testing on that).

Rather than running Project Server setup, copy the following folder to your hard drive from the Project Server CD: Support\Database. 
Using Notepad, open the file called WEBSPS.SQL.  Change the following line numbers (CTRL-G) will get you to the appropriate line number.  Add the text in bold. 
Line 8781: select WASSN_ID from MSP_WEB_ASSIGNMENTS WAT2 WITH (index... 
Line 19456: select WASSN_ID from MSP_WEB_ASSIGNMENTS WA WITH (index ... 
Line 26315: select WASSN_ID from MSP_WEB_ASSIGNMENTS WAT2 WITH (index...
Save the file and go to a command prompt.  Go to the DATABASE folder you copied earlier that contains the file you just edited.  We are going to create a new Project Server database instead of having Project Server setup create it.  Type the following command (this will take awhile).  Replace “LOCALHOST“ with the SQL Server name.  Replace “sapassword“ with the password for the SQL Server administrator. 
E:\Programs\Project Server 2003\SUPPORT\DATABASE FOR SQL 2005>SETUPDB.CMD LOCALHOST ProjectServer sa sapassword
Connect to the SQL Enterprise Manager (or the SQL Server Management Studio, as it is now called).  If they do not exist, create two SQL Server Security Login accounts.  If the users were created, edit the accounts and make the same changes as listed below: 
MSProjectServerUser - Type a password you will remember; Set the default database to “ProjectServer“; User Mapping = ProjectServer, MSProjectServerRole. 
MSProjectUser - Type a password you will remember; Set the default database to “ProjectServer“; User Mapping = ProjectServer, MSProjectRole.
Run Project Server setup and follow the appropriate steps, selecting the option to connect to an existing database. 
Once setup is complete, you should be able to access Project Server.
If you encounter any problems or have other thoughts, please reply to this post so we can share experiences.

-Bill

********************************结束******************************************/

posted on 2011-08-06 10:37  不悔的青春  阅读(2306)  评论(0编辑  收藏  举报

导航