Skip to content

Error reading data from Postgres database  #369

Open
@willsam100

Description

@willsam100

Description

The following error occurs connecting to the db.
It works against a pre-production database but not dev database.

Actual

error FS3021: Unexpected exception from provided type 'FSharp.Data.Sql.SqlDataProvider,DatabaseVendor="2",ConnectionString="Server=server.url.com;Database=central;User Id=username;Password=xxxxx;Port=5432;Pooling=false",ResolutionPath="../packages/Npgsql.3.1.9/lib/net45/",IndividualsAmount="5000",UseOptionTypes="True",Owner="central"+dataContext+centralSchema+central.mobile_device' member 'GetMethods': The type provider 'FSharp.Data.Sql.SqlTypeProvider' reported an error: Exception while reading from stream

What is info is required to for a reproduction of this? How can I debug this to find out error in the stream?

Expected

Run without an exception ie connect to the database

Related information

MacOS 10.11.6
Running on Mono version 4.8.0
Postgres 9.4.9 (the pre-prod environment is 9.4.10)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions