<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Bentley Web Services Gateway安装步骤</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/w/chinawiki/31314/bentley-web-services-gateway</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Bentley Web Services Gateway安装步骤</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/w/chinawiki/31314/bentley-web-services-gateway</link><pubDate>Thu, 20 Oct 2016 06:57:47 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:88f51501-9229-4c58-9404-d67b36595d4a</guid><dc:creator>Jing Ma</dc:creator><comments>https://communities.bentley.com/communities/other_communities/chinafirst/w/chinawiki/31314/bentley-web-services-gateway#comments</comments><description>Current Revision posted to 技术资料库 by Jing Ma on 10/20/2016 6:57:47 AM&lt;br /&gt;
&lt;h1&gt;Bentley Web Services Gateway安装步骤&lt;/h1&gt;
&lt;p&gt;安装了Bentley Web Services的网关服务器用于各种平台上运行的服务、用户和移动端的数据访问。安装包可以从bentley官方网站下载，这篇安装说明的安装包是mas02000465en.exe。&lt;/p&gt;
&lt;h2&gt;安装前准备：&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;操作系统：&lt;/li&gt;
&lt;/ul&gt;
&lt;p class="Default"&gt;a. 64-bit Windows Server 2008 R2 SP1, IIS 7.5 with ASP.NET configured&lt;/p&gt;
&lt;p class="Default"&gt;b. 64-bit Windows Server 2012, IIS 8 with ASP.NET configured&lt;/p&gt;
&lt;p class="Default"&gt;c. 64-bit Windows Server 2012 R2, IIS 8.5 with ASP.NET configured&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;安装.NET framework 4.5.1&lt;/li&gt;
&lt;li&gt;管理员登录&lt;/li&gt;
&lt;li&gt;服务器管理器里，确认Web Server (IIS) 角色的下面选项都勾上&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;a. Application Development&lt;/p&gt;
&lt;p&gt;- ASP.NET&lt;/p&gt;
&lt;p&gt;- .NET Extensibility&lt;/p&gt;
&lt;p&gt;- ISAPI Extensions&lt;/p&gt;
&lt;p&gt;- ISAPI Filters&lt;/p&gt;
&lt;p&gt;b. Performance&lt;/p&gt;
&lt;p&gt;- Dynamic Content Compression&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;服务器管理器里，确认.NET Framework功能已经开启。&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-04-10/7587.1.png"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-04-10/7587.1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;在指定网站里，添加https并指定ssl证书。&lt;/li&gt;
&lt;li&gt;安装下面的任何一个软件：&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Bentley ProjectWise Explorer SS4 (08.11.11.111) or SS4 RU (08.11.11.590) or CONNECT Edition (10.00.01.56).&lt;/p&gt;
&lt;h2&gt;安装Bentley Web Services Gateway&lt;/h2&gt;
&lt;p&gt;运行mas02000465en.exe后，在解压缩的C:\BentleyDownloads\mas02000465en里面分别安装BentleyWebServicesGateway02.00.exe和BentleyWSGProjectWisePlugin02.00.exe&lt;/p&gt;
&lt;h2&gt;部署Bentley Web Services Gateway&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;在开始菜单或者C:\Program Files\Bentley\Bentley Web Services Gateway 02.00文件夹开启Deploy Bentley Web Services Gateway。&lt;ol&gt;
&lt;li&gt;点击&amp;ldquo;Deploy Bentley Web Services Gateway&amp;rdquo; ,点击next。&lt;/li&gt;
&lt;li&gt;选择要发布的站点。&lt;/li&gt;
&lt;li&gt;自定义程序名。&lt;/li&gt;
&lt;li&gt;（可选的）重新定向url。&lt;/li&gt;
&lt;li&gt;选择projectwise插件。&lt;/li&gt;
&lt;li&gt;选择工作目录用于存储临时文件和目录。&lt;/li&gt;
&lt;li&gt;点击finish。&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;测试发布：在IE中输入&lt;a href="https://localhost/ws"&gt;https://localhost/ws&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-04-10/8171.2.png"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-04-10/8171.2.png" alt=" " /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;常见问题：&lt;/p&gt;
&lt;p&gt;提示Could not load type &amp;#39;System.ServiceModel.Activation.HttpModule&amp;#39; from assembly &amp;#39;System.ServiceModel&lt;/p&gt;
&lt;p&gt;解决：.Net Framework4.0被.Net Framework 3.5覆盖了，只需要重新注册一下.Net Framework 4.0组件即可，方法如下：&lt;/p&gt;
&lt;p&gt;开始&amp;mdash;&amp;mdash;运行&amp;mdash;&amp;mdash;输入C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_regiis.exe -iru回车即可。&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>