Skip to Content
author's profile photo Former Member
Former Member

Error trying to view a RPT with SAP HANA

Hi,

I'm trying to use this version CRforVS 13_0_8 to view my report with SAP HANA and i get this error incorrect report source, but i don't know if this version support SAP HANA or is something missing on my code. Here is the code :

ConnectionInfo connectionInfo = new ConnectionInfo();

connectionInfo.ServerName = dbServ;

connectionInfo.DatabaseName = BDCompany;

connectionInfo.UserID = dbUser;

connectionInfo.Password = dbPsw;

the dbServr is the servername and the port. And I try this to

ConnectionInfo connectionInfo = new ConnectionInfo();

string hanaSername = "Driver={HDBODBC32};ServerNode=" + dbServ + ";";

connectionInfo.ServerName = hanaSername ;

connectionInfo.DatabaseName = BDCompany;

connectionInfo.UserID = dbUser;

connectionInfo.Password = dbPsw;

Greetings.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 09, 2014 at 03:30 PM

    Hi Williams,

    Unfortunately the HANA ODBC driver is not shipped with CR for Visual Studio.

    I did quick test and the report does open but if I try to refresh if fails because I don't have the Hana ODBC driver which gets install with the Hana Suite.

    I doubt you'll be able to set a new HANA server so just try setting the User Name and PW.

    And/Or change the DB driver to crdb_odbc.dll

    It may work if Hana Suite or Client and CR for VS is on the same PC....

    Bottom line is it's not supported, but it may work. See the Platforms link on the Overview tab for supported DB clients.

    Don

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.