Deployment with ADO.net to entities support.
-
- Posts: 9
- Joined: Fri 01 Aug 2008 10:27
- Location: Crediton
Deployment with ADO.net to entities support.
We have been using postgreSQLDirect.net wtih the entity framework. We are looking to deploy this by including the installer for postgreSQLDirect and setting the install to "minimal" (as i read in the FAQ) but this then gives me an error:
Error: The store provider factory type 'CoreLab.PostgreSql.PgSqlDirectFactory' does not impliment the IServerProvider interface. Use a store provider that inplements this interface
If i install the full version from the installer the application works fine but the full install is not included in the licence.
Cheers,
Andrew
Cognito Software.
Error: The store provider factory type 'CoreLab.PostgreSql.PgSqlDirectFactory' does not impliment the IServerProvider interface. Use a store provider that inplements this interface
If i install the full version from the installer the application works fine but the full install is not included in the licence.
Cheers,
Andrew
Cognito Software.
-
- Posts: 9
- Joined: Fri 01 Aug 2008 10:27
- Location: Crediton
-
- Posts: 9
- Joined: Fri 01 Aug 2008 10:27
- Location: Crediton
i read this in the FAQ as a possilbe way of installing the correct files:AndreyR wrote:Could you please specify more details on the situation?
You cannot redistribute the installer of PostgreSqlDirect .NET.
Another way to install the *.dll files needed is to launch setup program of PostgreSQLDirect .NET and choose "compact" option. Note that according to License Agreement this is the only setup mode that you can use on target machine.
I believe the problem i have is that when using the ADO.net to entities visual studio doesn't include the correct dll in the referance list stopping me from selecting them in the installer. If you could give me the names of the DLL's i need to put in the GAC it may slove the problem.
Hopfully this is a little clearer.
-
- Posts: 9
- Joined: Fri 01 Aug 2008 10:27
- Location: Crediton
Thanks for advice.AndreyR wrote:Assemblies you need to put in GAC for ADOEntities support are CoreLab.Data.dll, CoreLab.PostgreSql.dll and CoreLab.PostgreSql.Entity.dll.
I have added these assembiles into the GAC but iam getting an error of:
"Unable to find the requested .Net Framework Data Provider. It may not be installed"
Cheers,
Andrew Twitchett
Cognito Software.
Try adding the following line to the DbProviderFactories section of the local app.config or machine.config file (%WinDir%\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config):
Code: Select all
...
...
...
...
-
- Posts: 9
- Joined: Fri 01 Aug 2008 10:27
- Location: Crediton