安装 Altium 本地部署企业服务器时可能出现的问题
以下列出了在安装 Enterprise Server 时可能遇到的问题。随着识别出更多潜在问题,此列表将会扩展。
-
Enterprise Server 无法安装在运行 32 位操作系统的 PC 上。如果你打算使用非服务器版本的 Windows 操作系统(Windows 10、Windows 8.1),你最多只能与 Enterprise Server 建立 10 个并发连接(Ultimate 和 Professional 版本为 10 个)。这些配置仅建议用于评估目的。
官方支持的操作系统为:Windows Server 2019 Standard Edition,64 位(推荐),或 Windows Server 2016 Standard Edition,64 位(最低要求)。
-
由于已观察到杀毒软件存在不可预测的行为,建议在安装 Enterprise Server 期间禁用此类软件。
-
Enterprise Server 依赖多个 Microsoft 运行时组件才能成功运行与访问,在某些情况下目标机器上可能不存在这些组件。如果你在尝试登录 Enterprise Server 时收到关于缺少库(DLL)的错误消息,这表明缺少 Microsoft 运行时组件。请获取并安装与你的操作系统对应的 Microsoft Visual C++ Redistributable Package。
-
如果在较早版本的 Windows 上安装 Enterprise Server,例如 Windows Server 2012 或 Windows 8.1(用于评估目的),可能需要先安装 Microsoft 提供的 Windows Universal C Runtime 更新。为此,请前往 Microsoft 的 Update for Universal C Runtime in Windows 页面,然后选择、下载并安装适用于你 PC 主机操作系统的更新包。
-
如果计算机同时运行 Microsoft Exchange Server,你在首次尝试登录时可能会收到 HTTP Error 503 错误。Exchange Server 的安装可能会更改 Internet Information Services (IIS) 配置,从而与 Enterprise Server 发生冲突。要解决此问题,需要对
applicationHost.config文件进行以下更改:<handlers accessPolicy="Read, Script">
...<add name="kerbauth" image="C:\Program Files\Microsoft\Exchange Server\V15\Bin\kerbauth.dll" preCondition="bitness64" />
<add name="WSMan" image="C:\Windows\system32\wsmsvc.dll" preCondition="bitness64" />
<add name="exppw" image="C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Owa\auth\exppw.dll" preCondition="bitness64" />
<add name="cafe_exppw" image="C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\bin\exppw.dll" preCondition="bitness64" />...
</handlers>
在新操作系统上安装
一些用户报告称,在全新搭建的主机 PC 和操作系统上安装 Enterprise Server 时会遇到 .NET 安装问题——也就是此前从未安装过 Altium 服务器的 PC。如果出现此问题,建议在 before 安装 Enterprise Server 本身之前,先安装关键的 Windows 支持服务。这些服务包括 Windows Internet Information Services (IIS) 以及 Microsoft .NET 运行时/服务器平台。
针对这种情况的替代安装流程如下:
-
通过服务器的 Server Manager Dashboard 添加 Windows 的 Internet Information Services (IIS) 功能(或通过 Windows 10 的 Windows Features 对话框添加)。
-
从 Microsoft .NET v8.0 获取并安装
Windows Desktop Runtime (x64)应用程序。 -
从 Microsoft .NET v8.0 获取并安装
Windows Server Hosting应用程序。该应用程序可通过安装 ASP.NET Core Runtime 8.0 Hosting Bundle 获得,该安装包还会提供.NET Runtimeapp(用于x86和x64)。 -
启动 Enterprise Server installation Wizard,它将调用
Microsoft .NET Framework的安装。该安装完成后,按提示重启服务器,然后再次运行 Enterprise Server 安装。
如果已在新操作系统上尝试过标准的 Enterprise Server 安装,但在某个阶段卡住了(例如在重建搜索索引时),请尝试按如下方式恢复安装:
-
在 Windows Task Manager 中结束
Altium On-Prem Enterprise Server Installation进程。 -
在 Apps & features 中修复
Microsoft .NET Windows Server Hosting安装(该安装可能已卡住)。可在 Windows Temp 文件夹中打开它,在那里可以重新启动并进行修复,如 this video 所示(示例针对.NET Core 3.1)。如果无法通过这种方式修复,请卸载Windows Server Hostingapp,然后从 ASP.NET Core Runtime 8.0 Hosting Bundle 重新安装。 -
卸载 Enterprise Server 和 Firebird,删除所有相关文件夹,然后重启服务器。
-
按正常流程安装 Enterprise Server。