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. Web Development
  3. ASP.NET
  4. SQL Server Does not exits or Access denied

SQL Server Does not exits or Access denied

Scheduled Pinned Locked Moved ASP.NET
helpdatabasecsharpasp-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.
  • A Offline
    A Offline
    Aswanikumarj
    wrote on last edited by
    #1

    We have sql server with the name production1 (IPID:100.102.33.33) ,from asp.net iam able to connect properly ,yesterday we changed the ip Id of this system(production1) from that time if iam trying to connect from asp.net code it is giving error sqlserver does not exists access denied. Iam able to connect in query analyzer for the same sql server by using same userid,password. Iam able to connect in vb.net for the same sql server with same connection string which iam using in asp.net Iam unable to connect in asp.net error sqlserver does not exists access denied. Please help me is there any problem with asp user or what? Thanks

    A 1 Reply Last reply
    0
    • A Aswanikumarj

      We have sql server with the name production1 (IPID:100.102.33.33) ,from asp.net iam able to connect properly ,yesterday we changed the ip Id of this system(production1) from that time if iam trying to connect from asp.net code it is giving error sqlserver does not exists access denied. Iam able to connect in query analyzer for the same sql server by using same userid,password. Iam able to connect in vb.net for the same sql server with same connection string which iam using in asp.net Iam unable to connect in asp.net error sqlserver does not exists access denied. Please help me is there any problem with asp user or what? Thanks

      A Offline
      A Offline
      asithangae
      wrote on last edited by
      #2

      Hai, add the user ASPNET to the database you are using. select the user from the list not by typing... the user must be in the list of local users list or add the production webserver aspnet user to the database, if iis and database are in different machine. this will work.. lot of links is available in google, try the appropriate one for you, cheers asithangae

      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