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. General Programming
  3. C#
  4. trusted connection

trusted connection

Scheduled Pinned Locked Moved C#
databasesql-serversysadminsecurityhelp
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.
  • F Offline
    F Offline
    fmardani
    wrote on last edited by
    #1

    Hi, How is it possible to use trusted connection for an Intranet site? Intranet is using a webservice which is hosted on a web server on LAN. This is the connectionstring that I am currently using for the intranet website in the company LAN. Data Source=SQLMachineName1\MSQL_DEV;Initial Catalog=DBdatabaseName;Persist Security Info=True;User Id=WebUserAccountName;Password=password; I would like to use this connectionstring instead so that I can have more control over the logged in users. If I do use this connectionstring the error it gives is: Login failed for user (null). Not associated with a trusted sql server connection. Data Source=SQLMachineName1\MSQL_DEV;Initial Catalog=DBdatabaseName;Integrated Security=True

    B 1 Reply Last reply
    0
    • F fmardani

      Hi, How is it possible to use trusted connection for an Intranet site? Intranet is using a webservice which is hosted on a web server on LAN. This is the connectionstring that I am currently using for the intranet website in the company LAN. Data Source=SQLMachineName1\MSQL_DEV;Initial Catalog=DBdatabaseName;Persist Security Info=True;User Id=WebUserAccountName;Password=password; I would like to use this connectionstring instead so that I can have more control over the logged in users. If I do use this connectionstring the error it gives is: Login failed for user (null). Not associated with a trusted sql server connection. Data Source=SQLMachineName1\MSQL_DEV;Initial Catalog=DBdatabaseName;Integrated Security=True

      B Offline
      B Offline
      BlaiseBraye
      wrote on last edited by
      #2

      the problem is in your server rights, not in your code...

      enjoy the code with you is my priority, Blaise Braye

      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