Hello I have a Webbase application in .NET and I'm trying to run a COM API from peoplesoft. Has anyone donde this?

First I have to define the OSession variable with the word New otherwise it will have a nothing value when running.
Dim OSession as new PeopleSoft_PeopleSoft.Session

When I run this
oSession = CreateObject("PeopleSoft.Session")
I have the error specified cast is not valid.

If I don't create the object and try to run
If Not oSession.Connect(1, strAppServerPath, strUserID, strPassword, 0) Then

It fails in this line too

Does anyone had this problem before?

Thanks in advance

Views: 280

Reply to This

Replies to This Discussion

Having the same problem.

Hi, I'm experiencing the same problem when trying to call Session.connect from .NET 2.0 :

Unable to cast COM object of type 'PeopleSoft_PeopleSoft.SessionClass' to interface type 'PeopleSoft_PeopleSoft._DISession'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{98EF9312-8626-11D2-B433-0060088C7EF7}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

Did you ever resolve it?

Thanks.

I am getting the exact error, and I was wondering if anyone has resolved this issue. 

Thanks.

it's a pleasure to meet you. I am USA Army personnel, i have an important thing to discus with you. Please write me on my email (captkristen899@gmail.com)

RSS

PeopleSoft Jobs in US

Videos

  • Add Videos
  • View All

© 2024   Created by Maisam Agha.   Powered by

Badges  |  Report an Issue  |  Terms of Service