Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Calling Crystal Report having Stored Procedure in


This is the first time i am calling the crystal report(Version 9.2 or Crystal Report 2008 any version is ok) that has stored Procedure through While setting the DBLOGON i am getting "The table could not found" error. Would it possible tosend some peace of code ?

The Code iam using to set the log on information.

htConnectionInfo = ParseConnectionString(objBaseDAL._oracleConnection);

ConnectionInfo connectionInfo = new ConnectionInfo();

connectionInfo.ServerName = htConnectionInfo["SERVERNAME"].ToString();

connectionInfo.DatabaseName = "";

connectionInfo.UserID = htConnectionInfo["USERID"].ToString();

ConnectionInfo.Password = htConnectionInfo["PASSWORD"].ToString();

Tables tables = reportDocument.Database.Tables;

foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)


tableLogonInfo = table.LogOnInfo;

tableLogonInfo.ConnectionInfo = connectionInfo;

_ table.ApplyLogOnInfo(tableLogonInfo);_

* table.Location = tableLogonInfo.TableName; -



table.Location i am getting the error that "The table could not found".


OK, so you are using RAS. That being the case, the query should have been posted to the .NET Development - BusinessObjects Enterprise, BusinessObjects Edge, Crystal Reports Server forum. Searching that forum should provide quite a bit of help on RAS. Also see the article [How to use the RAS SDK .NET with In-process RAS Server|].

[Programming the RAS Insight 2007|]

[Developer Library|]

[This|] wiki provides links to RAS sample and may be of help in the future.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question