剑花 烟雨

   江南  好 风景旧曾谙 日出江花红胜火 春来江水绿如蓝 能不忆东北

理想中的建筑师应该是一个诗人、数学家、精通历史、精通心理学、熟悉音乐、了解医学、还要具备天文学和计算的基本知识。
                                                                                                                         ------------------公元前25年,罗马建筑学家Vitruvius
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

NetBpm安装指南(windows)用户,在MS SQL Server2000下

Posted on 2007-04-06 21:51  落花人独立  阅读(2855)  评论(16编辑  收藏  举报
1. Requirements
• The Microsoft .Net Framework 1.1
• A relational database. All scripts are tested with MySql 4.1 and MS Sql Server 2000.
如果安装了.NET2.0,那么就要做:右击"默认网站"->属性->Asp.NET页->Asp.net version改成1.1.4322,就是要改成1.1版本的(因为我只是试了这种版本,2.0的版本还没有做测试)
2. Setup
• Get the NetBpm distribution from the SourceForge site http://sf.net/projects/netbpm
(click on files to find the downloads). Get the latest release bundle unless you are looking
for a particular version.
• Unzip the bundle
• To prepare the database start with the initialisation of the tables with the script
在进行执行Sql语句前,要做的工作就是创建一个名为nbpm的数据,注意数据库的名字一定不要错。然后执行下面的步骤。当然要选中nbpm数据库,然后再选择查询分析器。
sql/CreateSqlServer.sql for MS Sql Server. For the test
and the examples add the organisational data with the script sql/Organisation.sql
• Set the nhibernate properties in the file app_config.xml to your environment
在这里要把app_config.xml中的MYSQL Config节注释掉,而把下面的MSSql Config启用。并且要根据你的设置更新连接字符串,启用用户名和密码验证等。例如:
<item key="hibernate.connection.connection_string">Database=nbpm;Data Source=localhost;User Id=sa;Password=***</item>
• IIS Installation
• Go to Control Panel -> Administrative Tools -> Internet Information Services and
add a virtual directory named netbpm. The virtual directory point to your installation
directory.
这步可以这样来做,在wwwroot文件夹中建立一个netbpm文件夹,然后将netbpm版本的文件放入其中例如:netbpm的上级目录就是wwwroot。
• Go into IIS manager to the Web application's properties and directory >Configuration
(button) > Mappings > Application mappings. 这步可以这样来做,在IIS中选择netbpm,右击,选择属性->directory页->create->单击configure配置 button,在mappings页,选择add button,然后Add an extension for .rails that points
to the aspnet_isapi.dll. Make sure that "veryfy that file exists" is unchecked.
• To test your installation surf to http://localhost/netbpm/intro/index.rails. Login as a
user and go to the developer page. There deploy the holiday example by uploading
the file example/holiday.par.
常见的错误是出现了登录页面,但是无法登录的情况:
首先查看:是否有NetBpm.log文件存在,如果没有,那就是因为没有给netbpm目录中的network service用户授予全部权限。
做法:右击netbpm文件夹,然后选择安全,然后找到network service用户给予完全的权限。
还有其它的一些问题请参照如下的链接:
http://blog.csdn.net/voyager512/archive/2006/10/19/1341546.aspx
我也是参照了其中的一些做法,在这里表示感谢啦;)
count hit
欢迎您到紫阁阳光坐客