Skip to Main Content

Oracle Developer Tools for Visual Studio

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to connect to Oracle Database (11g) using EZ-Connect in Visual Studio (With SID and not service

3165120Mar 8 2016 — edited May 12 2016

I am trying to connect to my Oracle DB using ODP.NET Managed Driver.

I have the following information available to me:

- Username

- Password

- Host Name

- Port Number

- SID

I would like to be able to connect using the EZ Connect connection type.  I would think that would make my life easier for when I deploy to different servers.

How can I make this connection?  I get an error when I substitute the SID for the service name.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 9 2016
Added on Mar 8 2016
1 comment
1,768 views