The provider did not return a ProviderManifestToken string
I am trying to connect an MVC 5 .Net 4.7.2 project using EF6, and I am getting this error 'The provider did not return a ProviderManifestToken string' any thoughts?
1 Reply
adverse-sapphire•6mo ago
You can check your setup against this guide:
https://neon.tech/docs/guides/dotnet-entity-framework
Also, make sure your database connection is defined correctly.
It'll look something like this:
{
"ConnectionStrings": {
"TodoDbConnection": "Host=your-neon-host;Database=your-db;Username=your-username;Password=your-password;SSL Mode=Require"
}
}
Given a connection string like this:
postgresql://alex:AbC123dEf@ep-cool-darkness-a1b2c3d4-pooler.us-east-2.aws.neon.tech/dbname?sslmode=require
The hostname is this part:
ep-cool-darkness-a1b2c3d4-pooler.us-east-2.aws.neon.tech
Neon
Connect an Entity Framework application to Neon - Neon Docs
This guide describes how to create a Neon project and connect to it from an Entity Framework Core application. The example demonstrates how to set up a basic ASP.NET Core Web API project with Entity F...