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. Connection problem pls help

Connection problem pls help

Scheduled Pinned Locked Moved Database
helpdatabasesysadmincsharpasp-net
2 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.
  • M Offline
    M Offline
    micydon
    wrote on last edited by
    #1

    Hi I am using asp.net 2003(vb code behind). I hve given the connection in web.config like this when i changed the data source to another server this is working properly in a lan network i hve uploaded my project to a site for eg. if i give like www.mysite.com/login.aspx then if i enter the user id and password wht i want is i hve to access the local systems sql database( i want to get data from the database test whose connection i give above). But this is showing error as object reference not set. What should i do now to Any body pls help me to resolve this problem.do i give any other thing in the connection string Thanks in advance with regards anitha

    P 1 Reply Last reply
    0
    • M micydon

      Hi I am using asp.net 2003(vb code behind). I hve given the connection in web.config like this when i changed the data source to another server this is working properly in a lan network i hve uploaded my project to a site for eg. if i give like www.mysite.com/login.aspx then if i enter the user id and password wht i want is i hve to access the local systems sql database( i want to get data from the database test whose connection i give above). But this is showing error as object reference not set. What should i do now to Any body pls help me to resolve this problem.do i give any other thing in the connection string Thanks in advance with regards anitha

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

      micydon wrote:

      showing error as object reference not set

      Set the object reference using New might be a start...

      "Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus

      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