Sign in to follow this  
ellfeeenity

some errors in logs

Recommended Posts

Hello, in my bridge logs i find this errors. Who know how fix it?

System.ArgumentException: 'windows-1250' is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.
Parameter name: name
   at int System.Globalization.EncodingTable.internalGetCodePageFromName(string name)
   
   
   System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Net.Sockets.resources'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)

 

Share this post


Link to post
Share on other sites

Add this line to the top of your script initialization:

Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);

Maybe it will ask for a new assembly reference after adding it, not sure.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.