Skip to Main Content

ODP.NET

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Scaffold-DbContext ORA-01017: invalid username/password; logon denied

jb06May 23 2019 — edited May 30 2019

I am trying to scaffold some classes from an Oracle database for use with a .NET Core Web API. I have installed the Oracle.EntityFrameworkCore nuget package, v2.18.0-beta3

Scaffold command - Scaffold-DbContext "User ID={UserId};Password={Password};Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(COMMUNITY=tcpcom.world)(PROTOCOL=tcp)(HOST={Host})(PORT={Port})))(CONNECT_DATA=(SID={SID})))" {Provider} -o Models

The error I receive: ORA-01017: invalid username/password; logon denied

I can use the connection string from the scaffold command to query the database and return records.

References:

StackOverflow question

This post has been answered by Alex Keh-Oracle on May 29 2019
Jump to Answer

Comments

Post Details

Added on May 23 2019
4 comments
2,510 views