Hi Lyle, As suggested by you i have updated the system path with the api dlls folder.
Hurray..it worked properly.:):) Thanks a lot Regards, Gopal Lyle Taylor wrote: > > If I'm understanding what you wrote below correctly, you created or > updated a USER environment variable for the Path? If that's the case, > you'll need to switch that to the SYSTEM environment variable for your web > service to be able to use it. It probably can't find the native DLLs when > you start your service, because the directory is not in the system Path > variable. > > Lyle > > -----Original Message----- > From: Action Request System discussion list(ARSList) > [mailto:arsl...@arslist.org] On Behalf Of Gopal-SRG > Sent: Thursday, September 16, 2010 6:42 AM > To: arslist@ARSLIST.ORG > Subject: Urgent: ARS NET API Error > > Hi list, > I am using ARS 7.5 Remedy NET C# API in an NET C# window service > application. > I have done all the steps for installing the api from the developer > community download as instructed in the readme file: > -> installing it in the local system > -> registring the BMC.ARSystem.dll in the .NET Frame work(1.1 and 2.0) > -> created the user environment variable PATH for dll reference and ARPORT > with value 5920 for ARSystem interaction > > I have created an console application in C# with proper reference to the > BMC > ARSYSTem.dll and arnettoc.dll and able to succeesfully interact with the > ARS > and able to retrive and create entries in ARS > > But the error came when i tried to use the ArSystem API in an window > service > application in C#.I have created the setup for the solution and created > the > service also.In my program i am logging in to an file in local system.In > that i am logging the execptions also. > When i run the service from the services.msc, i am getting the following > error, > mcWindowsService: Service Started > > ARSystem.Exception caught > System.IO.FileNotFoundException: The specified module could not be found. > (Exception from HRESULT: 0x8007007E) > at BMC.ARSystem.Server._Eval(Object v) > at BMC.ARSystem.Server._performLogin(String methodName, String server, > String user, String password, String authentication, String locale, String > charSet, Int32 port, String apiCmdLog, String apiResLog, Boolean > logInitAndTerm) > at BMC.ARSystem.Server.Login(String server, String user, String > password) > at Test_WS.Service1.OnStart(String[] args) > > > Please help in guiding through this...Its Urgent..... > > Regards, > gopal > > > > > -- > View this message in context: > http://old.nabble.com/Urgent%3A-ARS-NET-API-Error-tp29728058p29728058.html > Sent from the ARS (Action Request System) mailing list archive at > Nabble.com. > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are" > > > NOTICE: This email message is for the sole use of the intended > recipient(s) and may contain confidential and privileged information. Any > unauthorized review, use, disclosure or distribution is prohibited. If you > are not the intended recipient, please contact the sender by reply email > and destroy all copies of the original message. > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are" > > -- View this message in context: http://old.nabble.com/Urgent%3A-ARS-NET-API-Error-tp29728058p29735604.html Sent from the ARS (Action Request System) mailing list archive at Nabble.com. _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"