CFF KB - Carrz-Fox-Fire Promotions Knowledge Base

CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.
  • Breadrumbs:
  • gacutil is not recognized as an internal or external command, operable program or batch file

  • CFF Knowledge Base - Share With Facebook CFF Knowledge Base - Share on Twitter CFF Knowledge Base - Share on Reddit CFF Knowledge Base - Share on Digg It CFF Knowledge Base - Share on Stumble Upon It CFF Knowledge Base - Share on Delicious
    Share With Friends (Updated 6-8-2010)
  • Article ID:
    7272
  • Date Created
    Monday, April 8, 2024
  • Last Updated
    Monday, April 8, 2024
  • This Article Has been Viewed
    98 times
  • Short Desc
    When trying to register a dll file, I get 'gacutil' is not recognized.
  • Details
    When you try registering a DLL or EXE file on your server, you may receive the following error.

     

    gacutil -l ID3TagLibrary.dll
    gacutil is not recognized as an internal or external command, operable program, or batch file


    This error will happen if you are not running it from the location.
    You will also need the Microsoft SDK installed on the server to use it.
    To watch our video on how to install it without all the other unneeded items, click here.
    SDK Installation on a Windows 2016 Server for the gacutil.exe file to register ID3TagLibrary.dll«
    Download Windows SDK«
  • Recreate Issue
    When trying to register a file without first opening the location of the file to be used.
    From your CMD prompt, Type in (Your location, mine is G drive.)
    G:
    Next, CD to the folder location.
    cd InetPub\wwwroot\demo.example.com\Bin
    Next, run the code to register your file. (This will give the error)

    gacutil -i G:\InetPub\wwwroot\demo.example.com\Bin\ID3TagLibrary.dll
  • Resolve Issue
    You will have to navigate to the location of the .net folder.
    From your CMD Prompt, Type in
    cd /
    Click [Enter]
    Next, paste this in.

    cd "Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools"

    Next, run the code to register your file.

    C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools>gacutil -i G:\InetPub\wwwroot\demo.example.com\Bin\ID3TagLibrary.dll


    Watch the video on how to install the Windows SDK on your server.
    SDK Installation on a Windows 2016 Server for the gacutil.exe file to register ID3TagLibrary.dll«
    Download Windows SDK«