控制台初始化错误:  Server was unable to process request. ---> Could not load file or assembly 'AmpLicensingProxy

Version 3

    适用的环境:

    LDMS 9.0 sp3

    LDMS 9.5

     

    报错信息:

    登录到控制台,出现如下错误信息:

    Console Initialization Error:  System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileNotFoundException: 
    Could not load file or assembly 'AmpLicensingProxy, Version=3.0.1.72, Culture=neutral, PublicKeyToken=null' or one of its dependencies. 
    The system cannot find the file specified. 
    File name: 'AmpLicensingProxy, Version=3.0.1.72, Culture=neutral, PublicKeyToken=null' at LANDesk.ManagementSuite.MBSDK.MBSDK.GetRights(Boolean clearCache) 
    
    WRN: Assembly binding logging is turned OFF. 
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. 
    Note: There is some performance penalty associated with assembly bind failure logging. 
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. 
    
       --- End of inner exception stack trace ---.
    
    
    
    
    
    
    

    2013_01_28_12_37_31_Kolhar_vSphere_Client.png

     

    原因:

    这是由于MBSDK没有所需的权限导致,有很多因素会干扰MBSDK。

     

    解决方案:

    可以按如下步骤进行操作:‘

     

    • 在核心服务器,添加本地用户"NETWORK SERVICE"到这两个目录"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" and "C:\Program Files (x86)\LANDesk\ManagementSuite",赋予"NETWORK SERVICE"完全控制权限。
    • 如果数据库在一个独立的SQL实例,确定设置数据库名称为“机器名\实例名”
    • 清空临时文件夹ASP.NET的所有文件
    • 重新启动数据库,然后重新启动核心服务器

    相关英文文档连接:https://community.landesk.com/support/docs/DOC-27505