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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Begginer Needs Help with MSSQL Sever 2000

Begginer Needs Help with MSSQL Sever 2000

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasesql-serverhelp
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.
  • I Offline
    I Offline
    Ian Bowler
    wrote on last edited by
    #1

    Hello, I'm a beginner reading "Microsoft Visual C# .NET Step By Step". I'm in Chapter 29, "Accessing Data with Web Forms". According to the author, I need to grant SQL access to the ASP.NET service by completing several steps, the first of which is: In the command prompt window, type osql -E -S your_computer\NetSDK where your_computer is your computer name. This command starts the osql query tool, allowing you to enter SQL commands. You will see the prompt 1>. I currently have MSSQLSever 2000 running in the taskbar. when I follow the above step, I get the following error message in the command prompt: [DBMSLPCN]SQL Server does not exist or access denied. [DBMSLPCN]ConnectionOpen >. I've never used SQL before. I just installed it from the SQL2000.msi. Thanks in advance! -newbie

    T 1 Reply Last reply
    0
    • I Ian Bowler

      Hello, I'm a beginner reading "Microsoft Visual C# .NET Step By Step". I'm in Chapter 29, "Accessing Data with Web Forms". According to the author, I need to grant SQL access to the ASP.NET service by completing several steps, the first of which is: In the command prompt window, type osql -E -S your_computer\NetSDK where your_computer is your computer name. This command starts the osql query tool, allowing you to enter SQL commands. You will see the prompt 1>. I currently have MSSQLSever 2000 running in the taskbar. when I follow the above step, I get the following error message in the command prompt: [DBMSLPCN]SQL Server does not exist or access denied. [DBMSLPCN]ConnectionOpen >. I've never used SQL before. I just installed it from the SQL2000.msi. Thanks in advance! -newbie

      T Offline
      T Offline
      Tim Featherston
      wrote on last edited by
      #2

      You don't have access to your SQL server, and there could be several reasons for that. Do you have Enterprise Manager? If so, it is a little friendlier. If you have Enterprise Manager, create a Windows Authentication login account for the ASPNET account (uUsually is "[MACHINE_NAME]\ASPNET", then make that login a user in the database you are using. You also don't need to use the ASPNET account. You can create your own SQL server Login, then in your ConnectionString use "server=[YOUR_SERVER];database=[YOUR_DATABASE];uid=[USER_ID];password=[YOUR_PASSWORD]" Tim Featherston www.QBSix.com

      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