[Tutorial] How to fix missing DLL errors PROPERLY
#1

How to FIX missing DLL errors PROPERLY
This tutorial is in regards to the various "XXXX.dll is missing" errors.

It's also in regards to plugins failing to load.


Please, before proceeding with any changes, read the entire thread.

The reason you have these errors, is that you are missing a runtime, usually mentioned in the release thread of the plugin you are using.


Many times, you can find what runtime it actually is by simply googling the dll you are missing.

Sure, you will hit results of "Download missing DLL here", but scroll down a bit more, enter into some other threads, and there will be mentions of what runtime that particular DLL actualy comes from.

When people suggest others to download those third party DLLs, they're advocating running untrusted versions of files that should be from verified sources. They're also avocating that you should trust everything you download on the internet, which is a very big no-no.

The people who suggest to download the dll directly and put it in the application folder, have no idea the damage they can cause.
  • By encouraging you to download a third party sites dll (Which could be compromised)
  • By ignoring the problem that if the person has to reinstall the application, and forgets the file, they'll have exactly the same issue as before. Chances are, they'll ask the same question, again, recieve the same answer, and the cycle will continue.
It's not that hard to actually find the right runtimes.


The main runtimes you really want, today are listed below.


Firstly, you want to get from microsoft DotNet 4.0 to start with.

https://www.microsoft.com/en-us/down....aspx?id=17851

Then you want the actual C runtimes.

https://support.microsoft.com/en-us/kb/2977003

Then you want to upgrade DotNet to 4.5.

https://www.microsoft.com/en-us/down....aspx?id=30653

If you have 64 bit windows, you'll need to install both the x86 and x64 versions of the runtimes. DotNet doesn't have this issue.

Everything should be installed in order of release date.

For a complete install of all, you should go...

Код:
2005
2008
DotNet 4.0
2010
2012
2013
2015
DotNet 4.5
I made this tutorial because I hate seeing people suggesting terrible "fixes" that aren't fixes, simply avoiding the problem.
Reply
#2

Good tut Sew
Reply
#3

Worth noting that the .Net framework is generally only required to run the compiler. The C++ redistributables are required to run the actual plugins.

And a note about safety: for some obscure reason people are wary about downloading random .exe files, but .dll files are somehow completely fine. Both contain compiled executable code and the only difference is that a dll acts through another program.
Reply
#4

Whats The reason of download first .net 4.0 then 4.5 Why Not Directly Download, 4.5 Version?
Reply
#5

Quote:
Originally Posted by BlackbirdXd
Посмотреть сообщение
Whats The reason of download first .net 4.0 then 4.5 Why Not Directly Download, 4.5 Version?
4.0 got libraries used only by dotnet 4.0 applications.
4.5 got libraries used only by dotnet 4.5 applications.
The same applies to MSVC Redist packages.


"If you have 64 bit windows, you'll need to install both the x86 and x64 versions of the runtimes. DotNet doesn't have this issue."
SA-MP is a 32bit application, so even if you are running the server on a 64-bit Windows machine, you'll need only x86 version.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)