Skip to Content

Dot Net Connection to HANA Trial

Hi,

is it possible to connect to the HANA Trial Instance using Dot Net?

I found the Dot Net Data Provider for Hana Dot Net Data Provider but I don't know how the connection string should look like. I thought of something like (instance)(username)trial.hanatrial.ondemand.com:30015, but that does not work.

Thanks,

Oliver

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Oct 31, 2016 at 08:44 PM

    Hi Oliver - I'm not sure if you're referring to the SAP HANA, express edition or another version. With Express, we have created a tutorial that you may find helpful when connecting with .NET to HANA - see here:

    http://go.sap.com/developer/how-tos/hxe-dot-net-connection.html

    Regards, Mike

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 02, 2016 at 08:52 AM

    Hi Mike,

    I wanted to connect to the HANA MDC (<trial>) database I've created in the SAP Cloud (NEO_PxxxxxxxxxTRIAL_DEV@IW5), not a local Express version and was looking for the connection string parameters to do that but I am not sure if this is possible at all.

    Thanks,

    Oliver

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 02, 2016 at 02:06 PM

    I will forward this to someone more familiar with the trial version to see if they can help.

    Regards, Mike

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 02, 2016 at 02:25 PM

    Oliver - I checked with some of my colleagues who are more familiar with the HANA trial landscape.They indicated that there’s no direct way to connect to the HANA instances on HCP from outside. The only way to make that work is to open a tunnel - once the tunnel is open all the credentials username/password (24h) are provided.They pointed me to a tutorial doing this with JDBC.Based on the info provided, perhaps you can modify for your particular situation.Here’s the link:

    https://help.hana.ondemand.com/help/frameset.htm?6930850a8f9a40489c01ed1aa381946d.html

    Regards, Mike
    Add comment
    10|10000 characters needed characters exceeded