When you indicate install, is there an installer package that needs to be run for the netapi71 files? Basically I had copied the folder to the server, added the reference to the folder in the System environment path and added a LIB variable as well. I also did run the regasm command in the framework\v1.1.4322 folder against the BMC.ARSystem.DLL file.
Not sure if there is some other registration of the DLL that I am missing. Thanks Peter Lammey ESPN IT Packaging and Automation 860-766-4761 ________________________________ From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of Ashton, Jim (JUS) Sent: Friday, April 23, 2010 9:58 AM To: arslist@ARSLIST.ORG Subject: Re: .NET API for 7.X ** Peter, When you install the api make sure all the files (some 25 or 30 in all) are in the same directory (eg. c:\netapi71). Set your reference to BMC.ARSystem in this directory. Then try this simple code snippet: Dim oARServer As New BMC.ARSystem.Server 'requires reference be set to BMC.ARSystem assembly (dll in .NET API) oARServer.Login(ServerName, UserID, UserPassword) oARServer.SetServerPort(5555, 0) 'if specific port is required Assuming that works (and it should) you can take it from there. The use of the environment variable will potentially come into play when you're deploying your application (especially if it is server-side in an ASP.NET context) but the above is all you need to run simple test code within Visual Studio. Cheers, Jim. _attend WWRUG10 www.wwrug.com ARSlist: "Where the Answers Are"_ ________________________________ Please consider the environment before printing this e-mail. _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"