I am trying to connect with Oracle database in VS2022. When i try to create connection it says 'There was an error trying to establish Oracle connection with database server'.Please help on this

Priyanka R 20 Reputation points
2024-08-19T05:35:11.7533333+00:00

I am trying to connect with Oracle database in VS2022 to create SSIS package. I have installed microsoft connector both 32 and 64bit.When i try to create connection it says 'There was an error trying to establish Oracle connection with database server'. Please help on this.

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,592 questions
0 comments No comments
{count} votes

Accepted answer
  1. ZoeHui-MSFT 37,671 Reputation points
    2024-08-19T07:27:40.12+00:00

    Hi @Priyanka R,

    Connection manager information

    TNS service name

    Input the name of the Oracle database you work with. The TNS service name could be:

    The connection name defined in the tnsnames.ora file

    EzConnect format: [//]host[:port][/service_name]

    To use a tnsnames.ora file, you may need to add a system environment variable to the machine running the SSIS package. The TNS_Admin environment variable specifies the location of the folder that contains the tnsnames.ora file.

    Please follow this documentation and make sure you have set the manager correctly.

    Microsoft Connector for Oracle

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.