Skip to main content
Avalara Help Center

Why am I getting a .dll is not registered error when trying to use Sage 100?


You want to know why you received a DLL error, "One or more AvaTax objects could not be created. The AvalaraAvaTaxAdapter.dll must be registered to continue", when trying to start Sage 100 or calculate tax.


Sage 100


For Sage 100 2015 and newer or Sage 100 2014 (beginning with build 8)

  • For all builds of Sage 100 2015 and newer builds of Sage Sage 100 2014 (beginning with build 8), replace the text in the register_for_com file with C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe avalara.avatax.adapter.dll /tlb /codebase 
  •  If you have both a SQL server AND a Terminal server this needs to be done on the SQL server as well. If you do not see the registered successfully message, run the command prompt as administrator to register the dll:
    • Type "cd c:\AvaTax\" and press enter. This is the default path, it can be different depending on the path used for the install of that specific workstation.
    • Type Register_for_com.bat and press enter.
    • Wait until you receive the "registered successfully" message
  • To run the command prompt as administrator:
    • Click Start.
    • In the Start Search box, type cmd, and then press CTRL+SHIFT+ENTER.

    • In the User Account Control dialog box, click Continue.

  • If you get a "RegAsm: error" run the command prompt as an admin, and have it open before running the batch file. 


For Sage 100 2014 (beginning with build 7) and older

  • Close Sage 100
  • Locate the AvaTax folder in the MAS directory and copy it to the C: drive on the local workstation.
  • Once copied, locate register_for_com in that folder.
    • Right-click and select Edit.
    • Replace the text with the following:
        C:\Windows\Microsoft.NET\Framework\v2.0.50727\regasm.exe avalara.avatax.adapter.dll /tlb /codebase
  • Save the change
  • Open register_for_com to run it
  • Wait until you receive the "registered successfully" message
  • If you don't receive the success message above, run the command prompt as an administrator. Navigate to that folder using the CD command and then run the register_for_com file through the command prompt. 
    • Your IT team may need to assist with this. 
    • Windows 10 requires this method be used.