Error 6003 using EdmGen.exe RRS feed

  • Question

  • I'm trying to generate the ADO.NET entity model for my PostgreSQL database using EdmGen.exe. I'm using the latest Npgsql library that supports ADO.NET and I've added it to my machine.config and EdmGen.exe definitely recognizes the library. However, running the following command returns the following error:

    edmgen.exe /provider:Npgsql /mode:fullgeneration /connectionstring:"Server=..." /project:TestProj

    Microsoft (R) EdmGen version
    Copyright (C) 2008 Microsoft Corporation. All rights reserved.

    Loading database information...
    error 6003: An error occurred while executing the command definition. See the inner exception for details.
        ERROR: XX000: failed to find conversion function from unknown to text

    Generation Complete -- 1 errors, 0 warnings

    Has anyone seen this before and any suggestions on where to look to solve it? I was hoping there was some verbose mode of the tool so I could see exactly what it's doing, but there isn't. I've never used EdmGen before and the support for it is kind of weak. This one is driving me crazy so any input would be greatly appreciated.

    Thank you.
    Wednesday, October 15, 2008 12:40 PM