jQWidgets Forums

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts

  • balob
    Member

    Hi,

    By studying your project I figured out what I was doing wrong. In the Entity Framework diagram (.edmx file) the tutorial says that I should right click and choose ADO.NET DbContext Generator. In my templates I did only had two templates which where named “ADO.NET EntityObject Generator” and “ADO.NET Self-Tracking Entity Generator”. Since I couldn’t find the one mentioned in the tutorial I did choose the closest one, “ADO.NET EntityObject Generator” and everything seems to work fine (exept for the issue mentioned above) and I didn’t see the connection until now.

    To fix my problem I did choose Online Templates and choosed “EF 4.x DbContext Generator”. After that everyting worked fine. 🙂

    Thanks a lot for your help and thanks for a great project.

    Kind regards,
    Balob


    balob
    Member

    Hmm… The web.config is removed from my post. I guess it is filtered out. I have put the webconfig on my server as txt file.
    webconfig

    Thanks.


    balob
    Member

    Hi again!

    Forgot to copy my web.config…


    balob
    Member

    Hi!

    I have checked that the reference to Enitity Framework is there. I also tried to remove and add the reference again. But I still got the error. But when I look in my web.config file I get some warnings:

    – Could not find schema information for the element ‘entityFramework’.
    – Could not find schema information for the element ‘defaultConnectionFactory’.
    – Could not find schema information for the attribute ‘type’.
    – Could not find schema information for the element ‘parameters’.
    – Could not find schema information for the element ‘parameter’.
    – Could not find schema information for the attribute ‘value’.

    I guess this has something to do with my error, but I don’t know why I get these warnings. Everything is autogenerated in my web.config.

    My web.config looks like this:


    Thanks a lot for helping.

    Kind regards.

Viewing 4 posts - 1 through 4 (of 4 total)