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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you achieve it (possibly without CSP programming)?

Status
Not open for further replies.

radkkc

Programmer
Jul 8, 2003
6
US
I am logging into CE8 to query CI_INFOOBJECTS to get SI_ID of the reports i added to the enteprise system.
I am able to create Enterprise SessionManager.And able to log the user onto Crystal Enterprise. But after this once i create infostore object and trying to store it in session variable it throws me a error ASP 0185 - Missing default property. I am doing all this in ASP , Any ideas ...if i can acheive this without CSP.

1) Set SessionManager = CreateObject("CrystalEnterprise.SessionMgr")
2) Set Sess = SessionManager.Logon(UserID, Password, APS, Aut)
3)Set IStore = Sess.Service ("", "InfoStore")
4) Session("IStore") = iStore
throws missing default error

 
For a start I think the line:

Session("IStore") = iStore

Should be:

Set Session("IStore") = iStore

Dan.
 
Dan ,
thanks for quick reply ..

As above I changed my statement to
Set Session("IStore") = iStore .
It doesn't throw any error , but if i am trying to get the infostore object back from the session variable and use it in other asp's like

Set iStore = Session("IStore")
Set result = iStore.Query("Select SI_ID from CI_INFOOOBJECTS")

it throws me same error ASP 0185, Any ideas..

thanks...

 
With:

Set result = iStore.Query("Select SI_ID from CI_INFOOOBJECTS")


I don't think it knows which report to return you the id.
It should be:

Set Result = IStore.Query("Select SI_ID From CI_INFOOBJECTS Where SI_NAME = '" & ReportName & "'")



 
[celticshores and radkkc and other Crystal Experts]

Have you see (or have any idea with) some error like this ?
-----------------------------------------------------
Error Type:
webReporting.dll (0x80004005)
"The rowset column could not be found. File 5b42f5f41b6fd2.rpt."
/crs/getreport.asp, line 231
-----------------------------------------------------



My getreport.asp works with most of reports.. but for some report... the script returns the above error:

Line 231:
Call exportControl.ProcessHttpRequest(Request, Response, Session)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top