Installing BMC’s ARAPI.NET library


In my current job, my team is responsible for our ITIL management tool suite. We use the Remedy ITSM Suite from BMC Software. In my role on the team, I am responsible for the design, operation, and performance of the Windows Servers that host the BMC solution. There are others on the team that specialize in development and operation of the Remedy ITSM software.

I point this out to say that I am not a Remedy expert. But I have built some tools using BMC’s API libraries (ARAPI.NET). I have not been very happy with the documentation and examples that I have been able to find online (both on BMC’s site and on other developer sites). The examples don’t seem very useful. I still have not been able to find a good collection of programming patterns for using the Remedy APIs. If you know of some, please share.

This post will be the first of many. I am planning to document the what I have learned about using ARAPI.NET. I have no particular outline or agenda. I will just want to share what I have learned and hopefully provide some better examples.

Installing ARAPI.NET

Step 1: Download the bits from the BMC website. I have provided a link to the v8.0 version of the API in the Resources section below. From there you can find links to old versions but I find that this version works with Remedy 7.6 and higher. The download link is toward the bottom of the web page. You will have to accept the license terms.

Step 2: Unzip the package into a folder. The download is just a ZIP. There is no installer. I put mine in C:\Program Files (x86)\BMC Software\ARAPI80.NET. Why there? Because:

  • I don’t like to install things in the root of the drive.
  • The API library only supports 32-bit processes (hence the x86 folder).
  • %PROGRAMFILES%\BMC Software is the default location for most of the other BMC products.

Step 3: Register the Remedy API COM classes. This step may be optional if you do not plan on using the COM interfaces. If you are only writing .NET code then you can skip this. If the target machine does not have Visual Studio installed but does have the .NET Framework SDK installed, use the SDK command prompt by choosing Programs, then Microsoft .NET Framework SDK v2.0. If you cannot find it, open a command prompt at the path where Regasm is located. For example, the .NET Framework 2.0 default installation path is C:\Windows\Microsoft.NET\Framework\v2.0.50727.

On my machine I ran the following command:

C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe "c:\Program Files (x86)\BMC Software\ARAPI80.NET\BMC.ARSystem.dll" /codebase

Note that this requires administrative rights. So you need to run it from an elevated command prompt.

Step 4: Add the API folder to your system PATH environment.   When you run an ARAPI client program, make sure the ARAPI.NET directory is in the DLL search path for that process (either by copying needed files to the working directory of the program or using this installation directory as the working directory for your program).

That’s it. Now you can start creating programs and scripts using the Remedy API. In future articles, I will provide examples in C# or Powershell. Now it is time to read the available documentation. See the links below.

Download AR System .NET and COM API 8.0.0

AR System APIs Quick Start C#

AR System APIs Quick Start VB

Action Request System .NET and COM API part 1

Action Request System .NET and COM API part 2

Remedy AR System API and Integration Interfaces Overview

I am an experienced IT technologist specializing in optimizing user experiences, providing best-in-class support and developing creative solutions. I script therefore I am. I build tools to improve troubleshooting and gather supporting data.

Tagged with: , , ,
Posted in ARAPI, Remedy
7 comments on “Installing BMC’s ARAPI.NET library
  1. […] my last post I explain how to install ARAPI.NET. Now let’s take a look at how you can use the Remedy API in a PowerShell Script. The first […]


  2. […] that you have ARAPI.NET installed let’s take a look at an example using C#. In this example I am creating a simple query to […]


  3. Christopher Speed says:

    Do you know how to get this ARAPI working with ASP and JSCript. I am getting the following error. Automation server can’t create object.



    • Sean Wheeler says:

      I have not done that. But I have written an ARAPI.NET application in C#/ASP.NET. Specifically, I created a login app in ASP.NET that looked up user information in AD based on your Windows credentials then looked up the person and user records in Remedy based on this information. It used that information to pre-fill a web form with the user’s Remedy ID.


      • Christopher Speed says:

        For whatever reason, it has some issues with 32-bit compatibility. I ran your script on powershell, thanks for that, and it worked fine. Not sure how to get through this issue, I changed IIS to allow 32 bit applications and still nothing.


      • Sean Wheeler says:

        I had the same issue with ASP.NET when I started. Make sure you have followed my instructions on how to install ARAPI.NET and you have the necessary .NET DLLs copied. For IIS, you have to enable support for 32-bit applications, as you mentioned. Be sure that you have built your ASP.NET application for 32-bit format and included the proper references. Lastly, be sure to add the ARAPI.NET folder to the IIS server’s PATH in the SYSTEM environment variables.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

sean on it
Follow Sean on IT on
Blog Stats
  • 65,943 hits
Mike F Robbins

Scripting | Automation | Efficiency

%d bloggers like this: