locked
membership RRS feed

  • Question

  • User-1599356091 posted

    i have made a databse then i follow this guide to add membership implementation my existing db but when i run asp.net configuration on security tabit says its impossible to connecto to sql databse cehck my conection string if something is wrong

     

    <connectionStrings>
            <add name="my_dbConnectionStringLocalHost" connectionString="Data Source=my-PC;Initial Catalog=my_db;Persist Security Info=True;User ID=myuser;Password=mypass"
                providerName="System.Data.SqlClient" />
        </connectionStrings>
    
    i use sql server 2012 non express version
    

    Friday, February 8, 2013 6:20 AM

Answers

  • User3866881 posted

    i havent change thatb so it still th default port but i cant connect

    Hi,

    You can try to open the Vs and then try to create a connection to the specific db's table and then have a test——if that connects successfully, please copy the whole connection string from the property panel and paste it into the web.config.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, February 9, 2013 8:48 PM

All replies

  • User-2143599517 posted

    I think this may helpful,

    http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx

    regards,

    anj.

    Friday, February 8, 2013 6:51 AM
  • User-1599356091 posted

    thats the guide i have followed but it cont connects to db the asp configuration...

    Friday, February 8, 2013 7:18 AM
  • User-2143599517 posted

    Check user & roles permissions on sql server,

    follow below link,

    http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00040000002p000000

    Friday, February 8, 2013 7:26 AM
  • User614805505 posted

    Hi,

    Data Source=my-PC

    Make sure the database port number remain the default port number. Otherwise, do include the port number for Data Source.

    Friday, February 8, 2013 7:50 AM
  • User614805505 posted

    Hi,

    Data Source=my-PC

    Make sure the database port number remain the default port number. Otherwise, do include the port number for Data Source.

    Friday, February 8, 2013 7:50 AM
  • User-1599356091 posted

    Hi,

    troika

    Data Source=my-PC

    Make sure the database port number remain the default port number. Otherwise, do include the port number for Data Source.

     

    i havent change thatb so it still th default port but i cant connect

    Saturday, February 9, 2013 6:03 AM
  • User3866881 posted

    i havent change thatb so it still th default port but i cant connect

    Hi,

    You can try to open the Vs and then try to create a connection to the specific db's table and then have a test——if that connects successfully, please copy the whole connection string from the property panel and paste it into the web.config.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, February 9, 2013 8:48 PM