zoukankan      html  css  js  c++  java
  • U8登录 TQLoginHelper 调用目标发生异常

    【错误】U8调用接口报错

    System. Reflection.TargetInvocationException:调用的目标发生了异常。
    --- System.lO.FileNotFoundException: Could not load file or assembly
    'securityAndCreditldentity, Version= 1.0.0.0, Culture=neutral,
    PublicKeyToken=f161522a560143f5' or one of its dependencies.系统找不到指定的
    文件。
    UFSof.U8.Framework.Login.Ul.clsLogin.InternalLogin(String pSubld, String
    Userld, String Pwd, String appServer, String operDate, String dataSource, String
    WorkStationSerial, Boolean ChangePwd, String NewPassword, Boolean
    KickOutWorkStation, Boolean ShowLoginForm)
    在UFSof.U8.Framework.Login.Ul.clsLogin.login(String pSubld, String Userld,
    String Pwd, String appServer, String operDate, String dataSource, String
    WorkStationSerial, Boolean ShowLoginForm)
    ---内部异常堆栈跟踪的结尾---
    在System. RuntimeMethodHandle. InvokeMethod(Object target, Object[]
    arguments, Signature sig, Boolean constructor)
    在System.Reflection.RuntimeMethodInfo.UnsafelnvokeInternal(Object obj,
    Object[] parameters, Object[] arguments)
    在System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
    invokeAttr, Binder binder, Object] parameters, CultureInfo culture)
    在System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags,
    Binder binder, Object target, Object] providedArgs, ParameterModifier[]
    modifiers, CultureInfo culture, String[] namedParams)
    在System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder
    binder, Object target, Object[ args)
    在UFIDA.TQ.U8CO.Common.DxComObject. DoMethod(String MethodName,
    Object[] args)
    在Ufida.TQ.U8CO.Login.TQLoginHelper.Login(String userCode, String
    userPassword, String erpService, String loginDate, String accld)
    在HuaJia ErpApi.U8Api. AddRds10JObject jo, String Accid, String constr)位置
    F:ProjectNetProjectHuaiaErpApiU8Api.cs行号45

    HuaJia.ApiAreas. api.Controllers. RdRecordController.Index(RequestRdRecord10
    form)位置
    F:ProjectNetProjectHuaiaHuaiaBarcodeHuaJia.ApiAreasapiControllersRd
    RecordController.cs行号59

    var tqLogin = TQLoginHelper.Login(sUserID, sPassword, sServer, sDate, Accid);

    【解决方法】

    将项目 bin 文件下的删掉

  • 相关阅读:
    ios testing
    Visual Studio文件自动定位功能
    如何:为 SharePoint 2013 中的 PerformancePoint Services
    sharepoint application page
    power rename batch files
    sharepoint app development configuration
    Installing and Configuring Workflow Manager 1.0
    安装用于 SharePoint 2013 的 Reporting Services SharePoint 模式
    ios dev tech
    Applications command line
  • 原文地址:https://www.cnblogs.com/xqz0618/p/12712851.html
Copyright © 2011-2022 走看看