Division

Always 'Could not load the specified file' but server is working

Recommended Posts

Hey,

I always get errors like:

==================[24.03.2019 21:39:41]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Runtime'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[24.03.2019 21:39:45]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Data.Common'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

First they result in server crash, than I added all needed .dll files into /bin/Debug/netcore2.2/.
Now the server and functions are working without crashing but the server_exceptions.txt always writing this errors.

How can I fix this errors?

Share this post


Link to post
Share on other sites

Did you install the Gtanetworkapi thru NuGet? Are you using MySQL .NET connector? Had similar error messages before.

Share this post


Link to post
Share on other sites
vor 18 Stunden schrieb MiMIMi:

Did you install the Gtanetworkapi thru NuGet? Are you using MySQL .NET connector? Had similar error messages before.

First I did, than I removed it and added the bootstrapper.dll as reference.
I use MySQL .NET connector (thru nuget)

Share this post


Link to post
Share on other sites

Seems like the more libraries I use, they are always throwing exceptions

==================[26.03.2019 22:41:50]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Runtime'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[26.03.2019 22:41:50]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Threading.Timer'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[26.03.2019 22:42:50]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Collections'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[26.03.2019 22:42:50]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Linq'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[26.03.2019 22:45:19]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Data.Common'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[26.03.2019 22:45:19]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Linq.Expressions'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[26.03.2019 22:46:32]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'Newtonsoft.Json'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[26.03.2019 22:46:32]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Diagnostics.Debug'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.