Skip to content Skip to sidebar Skip to footer

Sql F# Type Provider, App.config, And Connectionstrings?

I am trying to use app.config file to load the connection string into the type provider but I am receiving the following error: error FS3033: The type provider 'Microsoft.FSharp.D

Solution 1:

Please provide providerName for the connection string.

<?xml version="1.0" encoding="utf-8"?><configuration><runtime><assemblyBindingxmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentityname="FSharp.Core"publicKeyToken="..."culture="neutral" /><bindingRedirectoldVersion="0.0.0.0-4.3.1.0"newVersion="4.3.1.0" /></dependentAssembly></assemblyBinding></runtime><connectionStrings><addname="Server1"connectionString="Server=..."providerName="System.Data.SqlClient"/><addname="Server2"connectionString="Server=..."/></connectionStrings></configuration>

I've adjusted the provided app.config, Server1 functions, Server2 fails with the message you've reported.

Post a Comment for "Sql F# Type Provider, App.config, And Connectionstrings?"