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. Database & SysAdmin
  3. Database
  4. SQL Server 2005 & .MDF Files

SQL Server 2005 & .MDF Files

Scheduled Pinned Locked Moved Database
helpcsharpasp-netdatabasesql-server
4 Posts 2 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.
  • U Offline
    U Offline
    Unsy
    wrote on last edited by
    #1

    Hi everybody. I'm more of a c# kinda guy so not all that well up with the hard core sql stuff. The problem I have is I have recently uninstalled all instances of SQL Server off my machine. Then I installed SQL Server 2005, and found that my web applications which relied on SQL express stopped working :doh: So I went to microsoft, and downloaded Express 2005 which did not do the trick. (it tells me it cant start up a user instance) Anyhoo, this upset me somewhat, and as much as I play about with permissions and settings for express I just can't get it working. So, I think it would be better to ship all my .MDF files into real sql server which would be better anyway, but I cant find how to do this... Please can somebody help???? Is it actually possible??? Thanks in advance. (sorry about the rambling story...)

    W 1 Reply Last reply
    0
    • U Unsy

      Hi everybody. I'm more of a c# kinda guy so not all that well up with the hard core sql stuff. The problem I have is I have recently uninstalled all instances of SQL Server off my machine. Then I installed SQL Server 2005, and found that my web applications which relied on SQL express stopped working :doh: So I went to microsoft, and downloaded Express 2005 which did not do the trick. (it tells me it cant start up a user instance) Anyhoo, this upset me somewhat, and as much as I play about with permissions and settings for express I just can't get it working. So, I think it would be better to ship all my .MDF files into real sql server which would be better anyway, but I cant find how to do this... Please can somebody help???? Is it actually possible??? Thanks in advance. (sorry about the rambling story...)

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      Hi,

      Unsy wrote:

      it tells me it cant start up a user instance

      Have you had a look ath this: http://msdn.microsoft.com/en-us/library/ms143684(SQL.90).aspx[^]. If I remember correctly, user instanes aren't allowed by default, so you may need to use sp_configure to change the setting.

      Unsy wrote:

      , I think it would be better to ship all my .MDF files into real sql server which would be better anyway, but I cant find how to do this...

      That's possible. Basically SQL Server Standard and Express Editions have the same codebase. Express has just some limitations. I'm just wondering why you use user instances. User instance is run in the users account who makes the connection. You could also use normal instance and have the database running all the time and your web application could connect to that. It could make things simpler (administration, backups etc) Mika

      The need to optimize rises from a bad design.My articles[^]

      U 1 Reply Last reply
      0
      • W Wendelius

        Hi,

        Unsy wrote:

        it tells me it cant start up a user instance

        Have you had a look ath this: http://msdn.microsoft.com/en-us/library/ms143684(SQL.90).aspx[^]. If I remember correctly, user instanes aren't allowed by default, so you may need to use sp_configure to change the setting.

        Unsy wrote:

        , I think it would be better to ship all my .MDF files into real sql server which would be better anyway, but I cant find how to do this...

        That's possible. Basically SQL Server Standard and Express Editions have the same codebase. Express has just some limitations. I'm just wondering why you use user instances. User instance is run in the users account who makes the connection. You could also use normal instance and have the database running all the time and your web application could connect to that. It could make things simpler (administration, backups etc) Mika

        The need to optimize rises from a bad design.My articles[^]

        U Offline
        U Offline
        Unsy
        wrote on last edited by
        #3

        Hi Mika Thank you for your help. I have fixed my problem by simply attaching the MDF files to SQL 2005 which gives me the usual SQL server control and its on constantly. Thanks again... :-D

        W 1 Reply Last reply
        0
        • U Unsy

          Hi Mika Thank you for your help. I have fixed my problem by simply attaching the MDF files to SQL 2005 which gives me the usual SQL server control and its on constantly. Thanks again... :-D

          W Offline
          W Offline
          Wendelius
          wrote on last edited by
          #4

          You're welcome :)

          The need to optimize rises from a bad design.My articles[^]

          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