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. Webconfig + SQL Server 2003

Webconfig + SQL Server 2003

Scheduled Pinned Locked Moved ASP.NET
csharpdatabasesql-servervisual-studiosysadmin
3 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.
  • I Offline
    I Offline
    Ibuprofen
    wrote on last edited by
    #1

    I tried using the Microsoft help, I am not really a decent programmer, the website we already have, is setup to function under an access database, we hired a SQL guy to bulid us the SQL tables we needed in SQL, trying to update the Webconfig to talk to the SQL server, I have failed at. Is what I have tried to get my website to talk to the sql Line 17: Line 18: Here is our old webconfig file talking to the access database: Can anyone tell me how to setup my webconfig file? So I can work on the SQL server? Using Visual Studio 2003, .NET 1.1

    M 1 Reply Last reply
    0
    • I Ibuprofen

      I tried using the Microsoft help, I am not really a decent programmer, the website we already have, is setup to function under an access database, we hired a SQL guy to bulid us the SQL tables we needed in SQL, trying to update the Webconfig to talk to the SQL server, I have failed at. Is what I have tried to get my website to talk to the sql Line 17: Line 18: Here is our old webconfig file talking to the access database: Can anyone tell me how to setup my webconfig file? So I can work on the SQL server? Using Visual Studio 2003, .NET 1.1

      M Offline
      M Offline
      Michael Sync
      wrote on last edited by
      #2

      Ibuprofen wrote:

      Webconfig + SQL Server 2003

      AFAIK, There is no SQL Server 2003.

      Ibuprofen wrote:

      Line 17: Line 18:

      If you are using .NET 1.1, there is no connectionstrings tag so you should probably use appSetting for connectionstring of SQL Example : <appSettings> <add key="DIMHRSDataCon" value='Server=HOODNBOTC458827;Database=DIMHRS;Trusted_Connection=Yes;'/> </appSettings>

      Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) "Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."

      I 1 Reply Last reply
      0
      • M Michael Sync

        Ibuprofen wrote:

        Webconfig + SQL Server 2003

        AFAIK, There is no SQL Server 2003.

        Ibuprofen wrote:

        Line 17: Line 18:

        If you are using .NET 1.1, there is no connectionstrings tag so you should probably use appSetting for connectionstring of SQL Example : <appSettings> <add key="DIMHRSDataCon" value='Server=HOODNBOTC458827;Database=DIMHRS;Trusted_Connection=Yes;'/> </appSettings>

        Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) "Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."

        I Offline
        I Offline
        Ibuprofen
        wrote on last edited by
        #3

        Sorry, I meant to type SQL Server 2000 and Visual Studio 2003. Thank you, that worked for me.

        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