Home

Issue with VfpEntityFrameworkProvider2

Hello,
I'm forced to play with VfpEntityFrameworkProvider2 to read some old foxpro tables.
After having installed the nuget package and configured everything as explained in codeplex, my .Net project return results correctly.
When I tried to test it with LinqPad, I get this error each time:
Schema specified is not valid. Errors:
Model.Wb90DbfModel.ssdl(2,2) : error 0152: No Entity Framework provider found for the ADO.NET provider with invariant name 'VfpEntityFrameworkProvider2'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
I tried to add the same app.config entityprovider section to Linqpad.exe.config but I still get the same error.

Any tips from you to help me ?
txs in avance
-Vince

Comments

  • You may have better luck adding your provider entries to the linqpad.config file - it is what is referenced for the queries themselves. According to the FAQ LINQPad.exe.config is reserved for the tool itself.
    I'm referencing a custom assembly that reads settings from an application configuration file (app.config). Where should I put my application config file so that LINQPad queries will pick it up?

    Create a file called linqpad.config in the same folder as LINQPad.exe and put your configuration data there. Don't confuse this with linqpad.exe.config:

    * linqpad.exe.config is for the LINQPad GUI
    * linqpad.config is for your queries.
    FAQ: http://www.linqpad.net/faq.aspx
  • Hey Goyuix,
    I dit it and it worked fine.
    A big thank you :-)
    Cheers
    -Vince
  • I am glad I was able to help out!
Sign In or Register to comment.