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. connecting to sql sever

connecting to sql sever

Scheduled Pinned Locked Moved ASP.NET
databasehelpcsharpasp-netsharepoint
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.
  • C Offline
    C Offline
    ciacia
    wrote on last edited by
    #1

    hello , I am learning ASP.NET I have one problem .... when in my web project I click on add new item -> sql database ..... it gives me message "Generating User Instance in SQL Server is disebled . use sp_configure 'user instance enabled' to generate user instace..... I dont know what to do and how to do. Please help me in solveing this problem.I am using visual web developer 2005 and sql server 2005 express. thanks ciacia

    Q 1 Reply Last reply
    0
    • C ciacia

      hello , I am learning ASP.NET I have one problem .... when in my web project I click on add new item -> sql database ..... it gives me message "Generating User Instance in SQL Server is disebled . use sp_configure 'user instance enabled' to generate user instace..... I dont know what to do and how to do. Please help me in solveing this problem.I am using visual web developer 2005 and sql server 2005 express. thanks ciacia

      Q Offline
      Q Offline
      Quinten Miller
      wrote on last edited by
      #2

      Howdy I don't think you want to add a new sql server database. You probably want to add an existing database server to the project. View the Server Explorer (View > Server Explorer), right click database connections > add connection. Don't forget that the connection string for SQLServer Express is slightly different to SQLServer. The host should be localhost\sqlexpress If you just want a connection string to a server then just add one to the web.config You can also drag a SQLDataSource onto a webpage to get a wizard that will help you go through the process (I think) Cheers Q

      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