Entity Framework 5 and Amazon RDS - “The underlying provider failed on Open.”

前端 未结 1 1281
生来不讨喜
生来不讨喜 2021-01-20 21:54

I have a C# / Entity Framework web application runs fine against a local SQL 2012 db. I copied the db out to a new RDS instance, and can access the db via Visual Studio and

1条回答
  •  南笙
    南笙 (楼主)
    2021-01-20 22:36

    The problem was in the connection string. Specifically, I had "Application Name" and "App" properties in there. Once I removed those, it worked.

    BAD:

    
    

    GOOD:

    
    

    0 讨论(0)
提交回复
热议问题