• 0

Visual Studio 2010 problems with ado .net entity framework


Question

i'm trying to use ado net entity framework 4 with visual studio 2010, but i'm having some issues. i've created a data connection to a remote sql server, and now i'm trying to create a data model, the wizard goes ok, up until the ending part when i'm presented with the following error:

Unable to generate the model because of the following exception: 'An error occurred while executing the command definition. See the inner exception for details.

A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An established connection was aborted by the software in your host machine.)

'.

i've checked and remoting is working. i can browse the database using visual studio, but the model isn't configured. i've tried refreshing the model from database and the same problem occurs.

can anyone give some pointers on how to create the model without any issues?

thanks in advance

3 answers to this question

Recommended Posts

  • 0

Make sure your SQL Server instance accepts TCP/IP connections (seems to be disabled by default in Developer Edition) - you can check the status in 'Sql Server Configuration Manager' on the left side find 'SQL Server Network Configuration' then 'Protocols for <name of instance>' make sure TCP/IP is Enabled.

This topic is now closed to further replies.
  • Posts

    • Let Apple have its way, as customers will eschew Apple in favor of more open solutions--which is what they should be doing anyway!... I'm not a fan of Apple at all, but when the lawyers in the EUC start dictating to companies how their software should be made, I think the companies should just drop the EU altogether as a market. EUC lawyers make a mint every time they levy a fine on a successful American software company. What a racket. The EU consumer should be the final word on what products he buys and which ones he doesn't, but the EUC seeks to put itself into the position of the EU customer, and make those decisions for him, under the guise of "helping him." Q. What do you do when the person at your door says, "Hi! I'm from the government, and I'm here to help you make intelligent buying decisions!" A. Grab your possessions and run for the hills...
    • Just another show from my childhood ruined by wokeness 'politically correct' BS. They should let some things just die out gracefully.
    • "Pot meet kettle" "Is the shoe on the other foot?" "It's only okay when I am lying about stuff" F*** off nigel 
    • Some Doctor Who news... 'Doctor Who' Officially Has a New Streaming Home (AMC+) DOCTOR WHO Christmas Special Canceled, Russell T Davies Leaving Show
    • My Xbox One is already the most power efficient console I've ever owned. Haven't turned the thing on in ten years.
  • Recent Achievements

    • First Post
      StaticMatrix earned a badge
      First Post
    • Week One Done
      StaticMatrix earned a badge
      Week One Done
    • Rookie
      lamborghiniv10 went up a rank
      Rookie
    • One Month Later
      pinnclepd earned a badge
      One Month Later
    • First Post
      X-No-file earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      520
    2. 2
      PsYcHoKiLLa
      210
    3. 3
      +Edouard
      147
    4. 4
      Steven P.
      92
    5. 5
      ATLien_0
      80
  • Tell a friend

    Love Neowin? Tell a friend!