简体   繁体   English

UCMA 4.0应用程序-缺少SIPEPS.dll或依赖项之一

[英]UCMA 4.0 application - missing SIPEPS.dll or one of dependencies

I've just made a small LYNC application using UCMA 4.0 - it all runs nice on my local machine but I have problem installing it on destination server. 我刚刚使用UCMA 4.0制作了一个小的LYNC应用程序-它在本地计算机上都运行良好,但是在目标服务器上安装它时遇到了问题。 I've already fought and won with missing assemblies but still cannot run the program properly: 我已经战斗了并且赢得了缺少的程序集,但是仍然无法正常运行该程序:

System.IO.FileNotFoundExceptionL Could not load file or assembly SIPEPS.dll or one of its dependencies.

OK - I've found some help suggesting changing the publication to x64 and .net framework to 4.5, which is fine since the server is 64 bit anyway... but that hasn't solved the problem: after running dependency checker I've found that I'm missing IESHIMS.DLL, MSCOREE.DLL and OLE32.DLL 好的-我发现了一些建议,建议将发布版本更改为x64,并将.net framework更改为4.5,这很好,因为服务器还是64位的...但是那并没有解决问题:运行依赖项检查器后,发现我缺少IESHIMS.DLL, MSCOREE.DLL and OLE32.DLL

wait, OLE32? 等待,OLE32? For 64 bit? 对于64位?

Ok, it seems I can install it on other computers but not on the server... weird. 好的,看来我可以在其他计算机上安装它,但不能在服务器上安装...很奇怪。

EDIT: problem seems to show with Windows Server 2008 R2, I can install it without issue on newer systems 编辑:问题似乎与Windows Server 2008 R2一起显示,我可以在较新的系统上安装而没有问题

Based on your question, it could be a number of things so I'll run through the list I always go through when doing this. 根据您的问题,可能有很多事情,因此我将逐一列出执行此操作时始终要经过的列表。 If this doesn't help, provide a little more background and I might be able to give you a more useful answer. 如果这样做没有帮助,请提供更多背景知识,我也许可以为您提供更有用的答案。

Luckily UCMA 4.0 installs a whole lot easier than the previous versions did. 幸运的是,UCMA 4.0的安装比以前的版本要容易得多。 UCMA 4.0 applications must ( must , must ) be compiled 64-bit to run in production. UCMA 4.0应用程序必须必须必须 )编译为64位才能在生产中运行。 The SDK will allow 32-bit compiles, but the SDK requires an installation of Visual Studio to install. 该SDK将允许32位编译,但是该SDK需要安装Visual Studio才能安装。 Because of the problems your running into, I'm led to believe you might be installing the wrong "kind" of UCMA bits on the server. 由于您遇到的问题,导致我相信您可能在服务器上安装了错误的UCMA位类型。

Check that you're using UCMA 4.0 Runtime, not SDK 检查您使用的是UCMA 4.0 Runtime,而不是SDK

On the server, you want to install the UCMA 4.0 Runtime , not the SDK. 在服务器上,您要安装UCMA 4.0 Runtime而不是SDK。 That should get you your dependencies. 那应该让你有依赖性。 In the references within your application, you want only the Microsoft.Rtc components that you're using. 在应用程序内的引用中,您只需要使用的Microsoft.Rtc组件。 SIPEPS.DLL and such are used by them but in the projects I've written against UCMA, it is not referenced directly in any one of them. SIPEPS.DLL等由它们使用,但是在我针对UCMA编写的项目中,没有直接在其中任何一个中引用它。

Check your pre-reqs 检查您的先决条件

I have UCMA 4.0 up and running (perfectly, first time) on Windows Server 2008 R2. 我已经在Windows Server 2008 R2上启动并运行了UCMA 4.0(完全是第一次)。 I noticed on the pre-req's it had a requirement for Service Pack 1 to be installed (my environment is up to the latest patch levels on everything). 我在先决条件中注意到,它要求安装Service Pack 1(我的环境在所有内容上都达到最新的补丁程序级别)。

You didn't specify your patch levels and since you indicate that you're not having problems on later versions, I suspect this might have something to do with it. 您没有指定补丁程序级别,并且由于您指出在更高版本上没有问题,因此我怀疑这可能与它有关。

You'll also need: 您还需要:

  • .Net Framework 4.5 (latest 4.5 -- I think 4.5.2 as of this moment). .Net Framework 4.5(最新版本4.5-我认为目前为4.5.2)。 Make sure this is installed before even running the installer for UCMA. 在甚至运行UCMA的安装程序之前,请确保已安装此程序。
  • Server has to be 64-bit (all of Lync has this requirement) 服务器必须为64位(所有Lync都有此要求)
  • If you are able to get up and running but have difficulty doing basic things related to connecting, etc, check your AV software . 如果您可以启动并运行,但是在执行与连接等相关的基本操作时遇到困难, 请检查AV软件 I've encountered a situation where a Symantec Endpoint Protection interfered with UCMA despite having firewall rules in place that didn't appear to be a problem. 我遇到这样一种情况的Symantec Endpoint Protection与UCMA干扰,尽管未出现是一个问题的地方有防火墙规则。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM