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 Server express Edition

SQl Server express Edition

Scheduled Pinned Locked Moved C#
databasesql-serversysadminquestionannouncement
7 Posts 6 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.
  • A Offline
    A Offline
    Agyeman
    wrote on last edited by
    #1

    Question to anyone please. Is SQl Server express Edition read only from an application. Insert and Update doesn't work. I cannot find the answers anywhere. thx

    Nana

    D J P K S 5 Replies Last reply
    0
    • A Agyeman

      Question to anyone please. Is SQl Server express Edition read only from an application. Insert and Update doesn't work. I cannot find the answers anywhere. thx

      Nana

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Agyeman wrote:

      Is SQl Server express Edition read only from an application

      That woiuld make it pretty useless as a desktop database, wouldn't it?

      Agyeman wrote:

      Insert and Update doesn't work

      The problem is most assuredly with your code. It would help if you posted a segment of the code you're using to try and update the database.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007

      P 1 Reply Last reply
      0
      • A Agyeman

        Question to anyone please. Is SQl Server express Edition read only from an application. Insert and Update doesn't work. I cannot find the answers anywhere. thx

        Nana

        J Offline
        J Offline
        Johnny 0
        wrote on last edited by
        #3

        There is no difference between SQL server 2005 and SQL 2005 Express except for certain limitations in the database size and features. Other than that iit is a fully implemented SQL database

        1 Reply Last reply
        0
        • A Agyeman

          Question to anyone please. Is SQl Server express Edition read only from an application. Insert and Update doesn't work. I cannot find the answers anywhere. thx

          Nana

          P Offline
          P Offline
          Paul Conrad
          wrote on last edited by
          #4

          Agyeman wrote:

          Is SQl Server express Edition read only from an application

          No. You can read and write with it.

          Agyeman wrote:

          Insert and Update doesn't work

          Like Dave said, problem may be in your SQL statement, go ahead and post your Insert and Update that aren't working...

          1 Reply Last reply
          0
          • D Dave Kreskowiak

            Agyeman wrote:

            Is SQl Server express Edition read only from an application

            That woiuld make it pretty useless as a desktop database, wouldn't it?

            Agyeman wrote:

            Insert and Update doesn't work

            The problem is most assuredly with your code. It would help if you posted a segment of the code you're using to try and update the database.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007

            P Offline
            P Offline
            Paul Conrad
            wrote on last edited by
            #5

            Dave Kreskowiak wrote:

            That would make it pretty useless as a desktop database

            No kidding :laugh:

            1 Reply Last reply
            0
            • A Agyeman

              Question to anyone please. Is SQl Server express Edition read only from an application. Insert and Update doesn't work. I cannot find the answers anywhere. thx

              Nana

              K Offline
              K Offline
              kubben
              wrote on last edited by
              #6

              sql server express edition is only made ready only if that is what your users rights have been defined as. You can set up your user rights anyway you want. Normally you should control access to your tables through stored procedures. So one stored procedure to read data from the table, a different stored procedure to insert, another stored procedure to update, finally a stored procedure to delete. Ben

              1 Reply Last reply
              0
              • A Agyeman

                Question to anyone please. Is SQl Server express Edition read only from an application. Insert and Update doesn't work. I cannot find the answers anywhere. thx

                Nana

                S Offline
                S Offline
                SimulationofSai
                wrote on last edited by
                #7

                If I'm guessing right, you most probably have a buggy code that inserts/updates (or) the folder in which the database file (.mdf) is located is readonly. If your database file is located in someplace other than the default SQL Server installation path, check the folder and file permissions. This is a common issue in using the Express edition in ASP.NET for user management. So maybe you're stuck somewhere similar. SG

                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