![]() ![]() When I debug the application, the following error shows up when the breakpoint hits db.Open() Īn exception of type 'Npgsql.PostgresException' occurred in Npgsql.dll but was not handled in user code Additional information: External component has thrown an exception.īTW, if I try to add a new Data Connection or Server from the Server Explorer tab, I don't see any PostgreSQL Provider in the list. IDbConnection db = new Npgsql.NpgsqlConnection() I'm using the following code to test the connection: string text, query I verified my web.config and nfig files and Npgsql references were already created. I also successfully installed NuGet packages EntityFramework6.Npgsql (v3.1.1) and Npgsql (v3.1.7). I've successfully installed PostgreSQL, created a database, schema and a test table. I'm new to PostgreSQL and trying to change my MVC 5 app from MSSQ to PostgreSQL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |