Help getting C# MVC Entity Framework to work with Npgsql

Web, Mobile & Software Dev Web Development Posted 1 year ago

Fixed Price

Delivery by July 9, 2014




We have an intranet project created with the base MVC template from Visual Studio 2013.  The application will connect to a PostgreSQL database for mainly reading tables. We added the connectionstring to web.config and was able to connect using the standard connector in the HomeController.

However, when we try to switch it over to Entity Framework, we are getting errors such as:
"Additional information: Failed to set Database.DefaultConnectionFactory to an instance of the 'Npgsql.NpgsqlFactory, Npgsql' type as specified in the application configuration. See inner exception for details."

We just want someone to help us get this Entity framework working with Npgsql so we can continue building the model part of the application.  We already created "PortalEntites.cs" (DbContext) and "EnforcementMetrics.cs" model to attempt to use the EF with zero luck.

You can get the solution from here:

The candidate should be able to fix this solution to the point we can continue with the project.

  • Programming Languages Required:
  • Software Frameworks that will be used:
  • One-time Project: Fix a bug
  • Project Stage: This doesn't apply
  • Other Skills:

Client Activity on this Job

Last Viewed: 1 year ago

Proposals: 16

Hired: 1

About the Client

(4.35) 36 reviews

Windsor 01:44 AM

88 Jobs Posted
60% Hire Rate, 1 Open Job

Over $30,000 Total Spent
74 Hires, 6 Active

$17.17/hr Avg Hourly Rate Paid
1,830 Hours

Member Since Jan 21, 2011