本文介绍了SwyxAdminApp.dll中出现“System.TypeInitializationException”类型的异常,但未在用户代码中处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

private LibManager connect()
{
ClassTrace.TraceSwitch.Level = TraceLevel.Verbose;
this.libManager = new LibManager();
this.libManager.WSBaseUrl = "localhost";
this.libManager.AuthenticationMode = SProxyObject.AuthenticationMode.UsernamePassword;
this.libManager.Username = "Administrator@cloudphone.com";
this.libManager.Password = "SwyxCloudAlpha";

return this.libManager;
}







这里我得到以下错误



SwyxAdminApp.dll中出现'System.TypeInitializationException'类型的异常,但未在用户代码中处理



附加信息:'SWConfigDataClientLib.LibManager'的类型初始值设定项引发异常。




here I am getting following Error

An exception of type 'System.TypeInitializationException' occurred in SwyxAdminApp.dll but was not handled in user code

Additional information: The type initializer for 'SWConfigDataClientLib.LibManager' threw an exception.

推荐答案


这篇关于SwyxAdminApp.dll中出现“System.TypeInitializationException”类型的异常,但未在用户代码中处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 22:26