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. VB Integration error

VB Integration error

Scheduled Pinned Locked Moved Database
helpdatabasesql-serversysadmin
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.
  • G Offline
    G Offline
    gr8coaster329
    wrote on last edited by
    #1

    i was not sure which forum to post this under but i hope someone can help me out. i am using microsoft visual basic express edition with sql server express edition. when the programs were first installed they worked fine, but recently i have been getting the error message: "Object reference is not set to an instance of an object", when i try to add anything to a sql database. i can create the database file but when i try to add a table or anything else to it i get that error. i tried uninstalling and reinstalling sql server express but it did not work. does anyone know how to fix this? any help is greatly appreciated. Thank you, - Kyle

    C 1 Reply Last reply
    0
    • G gr8coaster329

      i was not sure which forum to post this under but i hope someone can help me out. i am using microsoft visual basic express edition with sql server express edition. when the programs were first installed they worked fine, but recently i have been getting the error message: "Object reference is not set to an instance of an object", when i try to add anything to a sql database. i can create the database file but when i try to add a table or anything else to it i get that error. i tried uninstalling and reinstalling sql server express but it did not work. does anyone know how to fix this? any help is greatly appreciated. Thank you, - Kyle

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      gr8coaster329 wrote:

      "Object reference is not set to an instance of an object",

      You'll need to give us a snippet of code around the line where the exception occurrs. The error message means that something is set to null (or Nothing) when it shouldn't.


      "On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." --Charles Babbage (1791-1871) My: Website | Blog

      G 1 Reply Last reply
      0
      • C Colin Angus Mackay

        gr8coaster329 wrote:

        "Object reference is not set to an instance of an object",

        You'll need to give us a snippet of code around the line where the exception occurrs. The error message means that something is set to null (or Nothing) when it shouldn't.


        "On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." --Charles Babbage (1791-1871) My: Website | Blog

        G Offline
        G Offline
        gr8coaster329
        wrote on last edited by
        #3

        i did not enter any code for it. after adding the database to the project i tried to add a table to it by right clicking on tables under the database file in the database explorer window and selecting add new table and i get that error. - Kyle

        G 1 Reply Last reply
        0
        • G gr8coaster329

          i did not enter any code for it. after adding the database to the project i tried to add a table to it by right clicking on tables under the database file in the database explorer window and selecting add new table and i get that error. - Kyle

          G Offline
          G Offline
          gr8coaster329
          wrote on last edited by
          #4

          reinstalling visual basic express edition solved my problem. thanks anyways for the help - Kyle

          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