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. C# Windows application: connection string to connect to remote sql server 2008 using windows authentication

C# Windows application: connection string to connect to remote sql server 2008 using windows authentication

Scheduled Pinned Locked Moved Database
csharpdatabasesql-serversysadminsecurity
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
    AshwiniSH
    wrote on last edited by
    #1

    I am developing a windows form application using c#. I want to connect to sql server 2008 which is in the server using windows authentication. Can anyone please provide me the connection string? Note: 1. domain is created in my server. 2. Remote access is enabled for the sql server 3. TCP/IP port is also enabled. Please help me. I am struggling for this since 3 days.

    T 1 Reply Last reply
    0
    • A AshwiniSH

      I am developing a windows form application using c#. I want to connect to sql server 2008 which is in the server using windows authentication. Can anyone please provide me the connection string? Note: 1. domain is created in my server. 2. Remote access is enabled for the sql server 3. TCP/IP port is also enabled. Please help me. I am struggling for this since 3 days.

      T Offline
      T Offline
      thatraja
      wrote on last edited by
      #2

      AshwiniSH wrote:

      Can anyone please provide me the connection string?

      http://www.connectionstrings.com/[^]

      AshwiniSH wrote:

      1. domain is created in my server. 2. Remote access is enabled for the sql server 3. TCP/IP port is also enabled.

      From link[^]:

      Basically, when you failed to connect to your SQL Server, the issue could be: 1) Network issue, 2) SQL Server configuration issue. 3) Firewall issue, 4) Client driver issue, 5) Application configuration issue. 6) Authentication and logon issue.

      Check these Steps to troubleshoot SQL connectivity issues[^] SQL Server 2005 Connectivity Issue Troubleshoot - Part I[^] Troubleshoot Connectivity Issue in SQL Server 2005 - Part II[^] Troubleshoot Connectivity Issue in SQL Server 2005 - Part III[^]

      AshwiniSH wrote:

      I am struggling for this since 3 days.

      :confused: Hangover? Last 3 days're holidays.

      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