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. Connecting to Data in a SQL Server Express Database. [modified]

Connecting to Data in a SQL Server Express Database. [modified]

Scheduled Pinned Locked Moved C#
helpdatabasecsharpsql-servervisual-studio
5 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.
  • D Offline
    D Offline
    Darrall
    wrote on last edited by
    #1

    I have Visual Studio 2010 Professional and SQL Server Express installed. I am following the MSDN walkthrough for connecting to Data in a SQL Server Express Database (Windows Form). I have downloaded and installed the Northwind sample. I opened a new windows form project and then attempted to add a Service-based Database. An error message comes up: Failed to generate a user instance of Sql Server due to a failure in starting the process for the user instance. The connection will be closed. This message comes up everytime I make an effort to connect to SQL in any way. Can anyone help me? Thanks Darrall Also I have a 64 bit OS and that was a bit of a problem in installing the SQL

    modified on Tuesday, May 18, 2010 2:29 PM

    V H 2 Replies Last reply
    0
    • D Darrall

      I have Visual Studio 2010 Professional and SQL Server Express installed. I am following the MSDN walkthrough for connecting to Data in a SQL Server Express Database (Windows Form). I have downloaded and installed the Northwind sample. I opened a new windows form project and then attempted to add a Service-based Database. An error message comes up: Failed to generate a user instance of Sql Server due to a failure in starting the process for the user instance. The connection will be closed. This message comes up everytime I make an effort to connect to SQL in any way. Can anyone help me? Thanks Darrall Also I have a 64 bit OS and that was a bit of a problem in installing the SQL

      modified on Tuesday, May 18, 2010 2:29 PM

      V Offline
      V Offline
      venym76
      wrote on last edited by
      #2

      http://www.aspdotnetfaq.com/Faq/fix-error-Failed-to-generate-a-user-instance-of-SQL-Server-due-to-a-failure-in-starting-the-process-for-the-user-instance.aspx[^] Try this link, hopefully doing one of these things will work for you.

      D 1 Reply Last reply
      0
      • D Darrall

        I have Visual Studio 2010 Professional and SQL Server Express installed. I am following the MSDN walkthrough for connecting to Data in a SQL Server Express Database (Windows Form). I have downloaded and installed the Northwind sample. I opened a new windows form project and then attempted to add a Service-based Database. An error message comes up: Failed to generate a user instance of Sql Server due to a failure in starting the process for the user instance. The connection will be closed. This message comes up everytime I make an effort to connect to SQL in any way. Can anyone help me? Thanks Darrall Also I have a 64 bit OS and that was a bit of a problem in installing the SQL

        modified on Tuesday, May 18, 2010 2:29 PM

        H Offline
        H Offline
        Henry Minute
        wrote on last edited by
        #3

        See if any of the solutions in this[^] thread on MSDN helps.

        Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” Why do programmers often confuse Halloween and Christmas? Because 31 Oct = 25 Dec.

        D 1 Reply Last reply
        0
        • V venym76

          http://www.aspdotnetfaq.com/Faq/fix-error-Failed-to-generate-a-user-instance-of-SQL-Server-due-to-a-failure-in-starting-the-process-for-the-user-instance.aspx[^] Try this link, hopefully doing one of these things will work for you.

          D Offline
          D Offline
          Darrall
          wrote on last edited by
          #4

          Thank you!!!! This is the answer I have been looking for for weeks :)

          1 Reply Last reply
          0
          • H Henry Minute

            See if any of the solutions in this[^] thread on MSDN helps.

            Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” Why do programmers often confuse Halloween and Christmas? Because 31 Oct = 25 Dec.

            D Offline
            D Offline
            Darrall
            wrote on last edited by
            #5

            Thanks. See the reply above. That site specifically solved the problem. Your answer is greatly appreciated.

            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