Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create ACCPac xapiSession in ASP failed

Status
Not open for further replies.

johnbritto

Programmer
Jun 17, 2003
7
US
Hi Guys,

I'm trying to create the ACCPAC xapiSession object and it comes up with an error 006~ASP 0177~Server.CreateObject Failed~8007007e

This is my code

Set objsess = server.CreateObject("ACCPAC.xapiSession")

Any idea?

John Britto
 
Are you referencing the correct library? I believe that the xAPI was designed for VB and not ASP. Try referencing and using the 'ACCPAC ASP Session Object' library.

Unfortunatly I have not done any work with Accpac objects in ASP so I can't be of much help.

Thanks and Good Luck!

zemp
 
Thanks for ur help.

Do u know the 'ACCPAC ASP Session Object' library name.
So how does the SET commant look like?

The c:\CA_APPSW folder was not in the environment vaiable, which has some dll's, so I added that and now its working but got an another problem.

When I call this
Call objsess.Open("ADMIN", "ADMIN", "ADATTS", Date, 0)

I get "IDS_USER_ERROR" error.


Any idea?

John britto


 
Sorry john, as I mentioned I have not used the Accpac ASP objects at all. I just noticed the library in my references and thought that it might help you out.

The name of the library, as I see it in my references, is 'ACCPAC ASP Session Object 1.0 Type Library'.

Thanks and Good Luck!

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top