Provider Not Returning ProviderManifestToken String

367 views
Skip to first unread message

Ari

unread,
May 9, 2014, 4:40:22 PM5/9/14
to npgsq...@googlegroups.com
Hi,

I'm trying to follow this walkthrough, but I'm facing the following error when setting up npgsql + entity framework:

The type provider 'Microsoft.FSharp.Data.TypeProviders.DesignTime.DataProviders' reported an error: Error reading schema. error 7001: The provider did not return a ProviderManifestToken string. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Does anyone now how to resolve this?

Using nuget I've installed entity framekwork 6, npgsql, npgsql entity framework. I've posted my App.config settings here: http://pastebin.com/VawZmJGF


Francisco Figueiredo Jr.

unread,
May 9, 2014, 5:52:21 PM5/9/14
to Ari, npgsql-help

This is strange because the message talks about a Named Pipes Provider?


You App.config seems to be ok.

Please, check your app. Maybe it is referencing the sql server provider somewhere.

I didn't play with F# yet so it is possible that there may be some other configurations needed to make it work on F#.

Sorry for not being much helpful.



--
You received this message because you are subscribed to the Google Groups "Npgsql Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to npgsql-help...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/npgsql-help/d98f1f9c-0c23-455d-80ae-f964ccda8d3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Regards,

Francisco Figueiredo Jr.
Npgsql Lead Developer
http://www.npgsql.org
http://gplus.to/franciscojunior
http://fxjr.blogspot.com
http://twitter.com/franciscojunior
Message has been deleted

Francisco Figueiredo Jr.

unread,
May 12, 2014, 12:26:04 PM5/12/14
to Ari King, npgsql-help
Did you try to add Npgsql and Mono.Security do GAC?


On Fri, May 9, 2014 at 8:39 PM, Ari King <ari.bran...@gmail.com> wrote:
Hi Francisco,

I think the "named pipes provider" issue stems from the exclusion of the "provider" parameter:
type internal SqlConnection = SqlEntityConnection<ConnectionStringName="ClockworkDB">

If I change it to:

type internal SqlConnection
= SqlEntityConnection<ConnectionStringName="ClockworkDB", Provider="Npgsql">


The error is then becomes that the provider "Npgsql" cannot be found. Any ideas? Thanks.


-Ari



Ari

unread,
May 15, 2014, 10:36:34 PM5/15/14
to npgsq...@googlegroups.com, Ari King, fran...@npgsql.org
On Monday, May 12, 2014 12:26:04 PM UTC-4, Francisco Figueiredo Jr. wrote:
Did you try to add Npgsql and Mono.Security do GAC?

Yes, I tried adding both Npgsql & Mono.Security to GAC, but unfortunately that did not solve the error.

-Ari
Reply all
Reply to author
Forward
0 new messages