Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. SQL Connection dropping

SQL Connection dropping

Scheduled Pinned Locked Moved C#
csharpdatabasehelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    iitksculler
    wrote on last edited by
    #1

    I have a series of strongly typed datasets in my .NET v2 project. When I shift the project to .NET v3.5 the system runs the first connection but refuses any further connections giving me a Named Pipes error... I thought that there were no code changes required to migrate from v2 to v3.5, well obviously there should have been because it no longer works, but what should I be looking for? Any ideas? Thanks

    E S 2 Replies Last reply
    0
    • I iitksculler

      I have a series of strongly typed datasets in my .NET v2 project. When I shift the project to .NET v3.5 the system runs the first connection but refuses any further connections giving me a Named Pipes error... I thought that there were no code changes required to migrate from v2 to v3.5, well obviously there should have been because it no longer works, but what should I be looking for? Any ideas? Thanks

      E Offline
      E Offline
      Ennis Ray Lynch Jr
      wrote on last edited by
      #2

      Make sure your connections are properly released. Also, make sure that your application accesses the database in a linear manner. Then make sure that SQL server is properly configured, etc. Your error, unfortunately, has many potential causes. The current project I am working can be built in 2.0 or 3.5 and access the database without an error so it can happen seamlessly depending on your code.

      Need custom software developed? I do C# development and consulting all over the United States. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

      1 Reply Last reply
      0
      • I iitksculler

        I have a series of strongly typed datasets in my .NET v2 project. When I shift the project to .NET v3.5 the system runs the first connection but refuses any further connections giving me a Named Pipes error... I thought that there were no code changes required to migrate from v2 to v3.5, well obviously there should have been because it no longer works, but what should I be looking for? Any ideas? Thanks

        S Offline
        S Offline
        saurabh sahay
        wrote on last edited by
        #3

        There must not be any code changes while migrating from 2.0 to 3.5 as framework core(structure) remains the same retaining all previous functionality. All the enchancements are additional to the 2.0.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups