Barcode Fonts, Components, ActiveX and .NET Windows Forms Controls, Java Servlets, 
DLLs and Barcode Scanners., Inc., Computers Hardware, Software & Services, Tampa, FL   This site chose the Norton Secured Seal to promote trust online with consumers.    View your cart in the IDAutomation Store   

404 error with Server Control DLLs in IIS

How to copy Server Control DLLs to the GAC in Windows to prevent the "404 (File Not Found) error" in Microsoft IIS.


The 404 or Not Found error message is a HTTP response indicating that the server could not find what was requested. In many cases, this is because of an incorrectly formed URL, insufficient access rights to the file, a renamed file, or a deleted file on the server. When using the ASP Barcode Server for IIS or the Barcode Server Controls, a "404 (File Not Found) error" may also be received if the Server Control DLL is not placed in the Global Assembly Cache (GAC). When this is the case, security in IIS will prevent the server from reading the DLL file and cause the error.

The latest versions of IIS may require the Server Control DLL's to be placed in the GAC in addition to the bin folder of the Virtual Directory. To place the DLLs in the Global Assembly Cache, follow these steps:

  1. Locate the Global Assembly Cache folder. On most systems, this is the C:\windows\assembly folder. If the assembly folder does not exist, use a registry-editing tool such as RegEdit and find the key HKLM\Software\Microsoft\Fusion\CacheLocation
  2. Copy the Server Control DLL to the Global Assembly Cache directory. This is best performed with two windows explorer windows; right-click on the file, drag it to the GAC of the other explorer window and choose Copy.
  3. Restart IIS.

For more information, refer to the Microsoft Global Assembly Cache Site.

NOTE: In deployment scenarios, use Windows Installer 2.0 or greater to install assemblies into the global assembly cache. Use Windows Explorer only in development scenarios.

Related Documents:
 ©Copyright 2018, All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us

Training Videos on YouTube  Join us on Google Plus  Join us on LinkedIn  Follow us on Twitter  Like us on Facebook
Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.