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. why i cannot login to my sql server 2005?

why i cannot login to my sql server 2005?

Scheduled Pinned Locked Moved Database
databasesql-serversysadminhelpquestion
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.
  • X Offline
    X Offline
    xingselex
    wrote on last edited by
    #1

    i don know why i cannot login to sql server 2005 after create an file Access connect to sql server? it show message when login "TITLE: Connect to Server ------------------------------ Cannot connect to SOKHENG. ------------------------------ ADDITIONAL INFORMATION: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061) ------------------------------ but if i change server name from "Sokheng" to "Sokheng\SQLEXPRESS" it can login, but i found my database name in that. do anybody kno why ? please show me some guid line .......

    L 1 Reply Last reply
    0
    • X xingselex

      i don know why i cannot login to sql server 2005 after create an file Access connect to sql server? it show message when login "TITLE: Connect to Server ------------------------------ Cannot connect to SOKHENG. ------------------------------ ADDITIONAL INFORMATION: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061) ------------------------------ but if i change server name from "Sokheng" to "Sokheng\SQLEXPRESS" it can login, but i found my database name in that. do anybody kno why ? please show me some guid line .......

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      xingselex wrote:

      but if i change server name from "Sokheng" to "Sokheng\SQLEXPRESS" it can login,

      "Sokheng" isn't the name of the server, but the name of the computer on which the server is installed. The name of the server-instance is "SQLEXPRESS". You'll need to specify both in order to connect. You can substitute the PC-name for an IP-address, if you want;

      127.0.0.1\SQLEXPRESS

      You can specify the name of the instance during the installation of SQL Server. Good luck :)

      I are troll :)

      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