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. ASP.NET Configuration Problem

ASP.NET Configuration Problem

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netdatabasesql-server
5 Posts 3 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.
  • P Offline
    P Offline
    pampam110
    wrote on last edited by
    #1

    when i use asp.net configuration from website tab on Visual Studio 2005. i click on Security Tab i saw this message : "There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem: Unable to connect to SQL Server database. " then i select "Choose Data Store" button and select a single provider , and after that Click on test text on page. again i saw an error : "Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider. " AnyOne know? What should i do?

    []D @ []v[] []D @ []v[]

    A 1 Reply Last reply
    0
    • P pampam110

      when i use asp.net configuration from website tab on Visual Studio 2005. i click on Security Tab i saw this message : "There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem: Unable to connect to SQL Server database. " then i select "Choose Data Store" button and select a single provider , and after that Click on test text on page. again i saw an error : "Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider. " AnyOne know? What should i do?

      []D @ []v[] []D @ []v[]

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      pampam110 wrote:

      then i select "Choose Data Store" button and select a single provider , and after that Click on test text on page. again i saw an error : "Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider. "

      you have to run aspnet_regsql command from command prompt and chose the database from there for web site configuration. From Command Prompt >Goto Framework directory > Run aspnet_regsql

      C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regsql

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article

      P 2 Replies Last reply
      0
      • A Abhijit Jana

        pampam110 wrote:

        then i select "Choose Data Store" button and select a single provider , and after that Click on test text on page. again i saw an error : "Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider. "

        you have to run aspnet_regsql command from command prompt and chose the database from there for web site configuration. From Command Prompt >Goto Framework directory > Run aspnet_regsql

        C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regsql

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article

        P Offline
        P Offline
        pampam110
        wrote on last edited by
        #3

        Thanks Abhijit Jana. I Run aspnet_regsql . . . and i use -? for help me! but i am confused! I find out something. first of all i havent sql express and I can't setup sql express edition. what should i do? i have Visual Studio 2005 beta version. Any Ideas ?!

        []D @ []v[] []D @ []v[]

        1 Reply Last reply
        0
        • A Abhijit Jana

          pampam110 wrote:

          then i select "Choose Data Store" button and select a single provider , and after that Click on test text on page. again i saw an error : "Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider. "

          you have to run aspnet_regsql command from command prompt and chose the database from there for web site configuration. From Command Prompt >Goto Framework directory > Run aspnet_regsql

          C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regsql

          Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article

          P Offline
          P Offline
          pampam110
          wrote on last edited by
          #4

          Thanks AnyWay! my problem Solve!

          []D @ []v[] []D @ []v[]

          J 1 Reply Last reply
          0
          • P pampam110

            Thanks AnyWay! my problem Solve!

            []D @ []v[] []D @ []v[]

            J Offline
            J Offline
            JacSophie
            wrote on last edited by
            #5

            Hi Pampam110, Can you tell me how you solved your problem? I have the same one and cannot figure out what to do. Thanks.

            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