We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I am trying to download player info from my WebApi project but UnrealCs crashing when i run this code
using (WebClient wc = new WebClient()) { var json = wc.DownloadString("http://localhost:2556/api/*****/" + username + "/" + password); LogInfo(json.ToString()); }
LogMono:Warning: Unhandled Exception: System.Net.WebException: An exception occurred during a WebClient request. ---> System.TypeInitializationException: The type initializer for 'System.Net.WebRequest' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. ---> System.ArgumentException: The 'ExeConfigFilename' argument cannot be null. at System.Configuration.ExeConfigurationHost.CheckFileMap (ConfigurationUserLevel level, System.Configuration.ExeConfigurationFileMap map) <0x22b835c4e60 + 0x00122> in <filename unknown>:0 at System.Configuration.ExeConfigurationHost.InitForConfiguration (System.String& locationSubPath, System.String& configPath, System.String& locationConfigPath, IInternalConfigRoot root, System.Object[] hostInitConfigurationParams) <0x22b835c47b0 + 0x00142> in <filename unknown>:0 at System.Configuration.InternalConfigurationSystem.InitForConfiguration (System.String& locationConfigPath, System.String& parentConfigPath, System.String& parentLocationConfigPath) <0x22b835c4730 + 0x00052> in <filename unknown>:0 at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) <0x22b835c4510 + 0x000f1> in <filename unknown>:0 at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) <0x22b835c3f90 + 0x00084> in <filename unknown>:0 at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly, System.String exePath) <0x22b835c2f80 + 0x00408> in <filename unknown>:0 at System.Configuration.ClientConfigurationSystem.get_Configuration () <0x22b835c2d00 + 0x0004a> in <filename unknown>:0 --- End of inner exception stack trace --- at System.Configuration.ClientConfigurationSystem.get_Configuration () <0x22b835c2d00 + 0x00106> in <filename unknown>:0 at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) <0x22b835c2c60 + 0x00022> in <filename unknown>:0 at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) <0x22b835c2940 + 0x00039> in <filename unknown>:0 at System.Net.WebRequest..cctor () <0x22b835c25b0 + 0x00099> in <filename unknown>:0 --- End of inner exception stack trace --- at System.Net.WebClient.GetWebRequest (System.Uri address) <0x22b835c2390 + 0x00025> in <filename unknown>:0 at System.Net.WebClient.DownloadDataInternal (System.Uri address, System.Net.WebRequest& request) <0x22b835c1fa0 + 0x00070> in <filename unknown>:0 --- End of inner exception stack trace --- at System.Net.WebClient.DownloadDataInternal (System.Uri address, System.Net.WebRequest& request) <0x22b835c1fa0 + 0x0037b> in <filename unknown>:0 at System.Net.WebClient.DownloadString (System.Uri address) <0x22b835c1cc0 + 0x00060> in <filename unknown>:0 at System.Net.WebClient.DownloadString (System.String address) <0x22b835b5a40 + 0x00044> in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Net.WebClient:DownloadString (string) at Game.MainUI.OnClickSummit () <0x22b8359a570 + 0x0023a> in <filename unknown>:0
The text was updated successfully, but these errors were encountered:
Are you missing some .Net dynamic library files?
Sorry, something went wrong.
I am using Visual Studio 2017 to compile and used your demo project added System.Net to Usings . And i am not sure what is .Net dynamic library files
Is this plugin supports Visual Studio 2017?
No branches or pull requests
Hello,
I am trying to download player info from my WebApi project but UnrealCs crashing when i run this code
LogMono:Warning: Unhandled Exception: System.Net.WebException: An exception occurred during a WebClient request. ---> System.TypeInitializationException: The type initializer for 'System.Net.WebRequest' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. ---> System.ArgumentException: The 'ExeConfigFilename' argument cannot be null. at System.Configuration.ExeConfigurationHost.CheckFileMap (ConfigurationUserLevel level, System.Configuration.ExeConfigurationFileMap map) <0x22b835c4e60 + 0x00122> in <filename unknown>:0 at System.Configuration.ExeConfigurationHost.InitForConfiguration (System.String& locationSubPath, System.String& configPath, System.String& locationConfigPath, IInternalConfigRoot root, System.Object[] hostInitConfigurationParams) <0x22b835c47b0 + 0x00142> in <filename unknown>:0 at System.Configuration.InternalConfigurationSystem.InitForConfiguration (System.String& locationConfigPath, System.String& parentConfigPath, System.String& parentLocationConfigPath) <0x22b835c4730 + 0x00052> in <filename unknown>:0 at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) <0x22b835c4510 + 0x000f1> in <filename unknown>:0 at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) <0x22b835c3f90 + 0x00084> in <filename unknown>:0 at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly, System.String exePath) <0x22b835c2f80 + 0x00408> in <filename unknown>:0 at System.Configuration.ClientConfigurationSystem.get_Configuration () <0x22b835c2d00 + 0x0004a> in <filename unknown>:0 --- End of inner exception stack trace --- at System.Configuration.ClientConfigurationSystem.get_Configuration () <0x22b835c2d00 + 0x00106> in <filename unknown>:0 at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) <0x22b835c2c60 + 0x00022> in <filename unknown>:0 at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) <0x22b835c2940 + 0x00039> in <filename unknown>:0 at System.Net.WebRequest..cctor () <0x22b835c25b0 + 0x00099> in <filename unknown>:0 --- End of inner exception stack trace --- at System.Net.WebClient.GetWebRequest (System.Uri address) <0x22b835c2390 + 0x00025> in <filename unknown>:0 at System.Net.WebClient.DownloadDataInternal (System.Uri address, System.Net.WebRequest& request) <0x22b835c1fa0 + 0x00070> in <filename unknown>:0 --- End of inner exception stack trace --- at System.Net.WebClient.DownloadDataInternal (System.Uri address, System.Net.WebRequest& request) <0x22b835c1fa0 + 0x0037b> in <filename unknown>:0 at System.Net.WebClient.DownloadString (System.Uri address) <0x22b835c1cc0 + 0x00060> in <filename unknown>:0 at System.Net.WebClient.DownloadString (System.String address) <0x22b835b5a40 + 0x00044> in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Net.WebClient:DownloadString (string) at Game.MainUI.OnClickSummit () <0x22b8359a570 + 0x0023a> in <filename unknown>:0
The text was updated successfully, but these errors were encountered: