How get connection string of default database of CreateUserWizard control

hi,
i am creating website in which I add create user wizard control, I want to restrict user to use one email id only for one time,
but after creating and testing,I get that it allow same email id more than one time, for that I search lot and get this on msdn library,  they show that to change config file
<configuration>
<connectionStrings>
<add name="MySqlConnection" connectionString="Data
Source=MySqlServer;Initial Catalog=aspnetdb;Integrated
Security=SSPI;" />
</connectionStrings>
<system.web>
<membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="15">
<providers>
<clear />
<add
name="SqlProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="MySqlConnection"
applicationName="MyApplication"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="true"
passwordFormat="Hashed" />
</providers>
</membership>
</system.web>
</configuration>
but,I didn't figure out any database in vs2010 that store data of create user wizard, mean i don't know how to access it in from vs2010
site is working fine, it add new user , allow me login, but where the database???
I want connection string of it's
mandar26

Hello Mandar26,
The question should be asked on http://forums.asp.net/ Please reopen a new case there for help.
Regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to connect to a remote database in a lan??

    Hey guys......! I need to connect to a remote msaccess database in a lan and import its data into my mysql database.I know how to connect to a msaccess database using ODBC.But I don't know how to connect to a remote database without creating dsn in the machine where database is.One thing more...I want to know, how can I import data into my mysql database?? Is there any query for that or simply I have to select data from msaccess database and insert into tables of my database??Please, send me the source code in the forum itself and explain also.This is the last feature of my project.So I need to do it as soon as possible.

    If the mdb file in LAN, Just map the network drive.[Windows Explorer/Tools/Map Network Drive] in your system from which we need to access the remote mdb. Then go to ODBC Data Source Admin.. and create a new data source[Microsoft Access Driver] . After clicking the Select button, you will find a Network Drive will be visible on your Drives drop down. Select the map Drive, If not visible then just click the Network button there and map the network path where the mdb files reside. And use the JdbdOdbcDriver class to connect from java.

  • How to connect Java to oracle Database Express Edition?

    Anyone can help me?
    How to connect JAVA TO ORACLE DATABASE EXPRESS EDITION?

    I suggest you to read this article:
    http://wiki.oracle.com/page/JDBC
    Regards,
    Ricky

  • How To connect More Then One database

    How To Connect More the One Database In Single form.
    I want to use Access And Oracle In the Same Form.
    I want to Transfer data from Access file To oracle database.
    Chirag

    Hi,
    You can do this using EXEC_SQL package. Please see Note 115540.1 on metalink which describes how you can connect to Ms Access and Oracle using EXEC_SQL.
    Regards
    Kavitha Prakash
    Oracle Support

  • Powershell use Connection String to query Database and write to Excel

    Right now I have a powershell script that uses ODBC to query SQL Server 2008 / 2012 database and write to EXCEL
    $excel = New-Object -Com Excel.Application
    $excel.Visible = $True
    $wb = $Excel.Workbooks.Add()
    $ws = $wb.Worksheets.Item(1)
    $ws.name = "GUP Download Activity"
    $qt = $ws.QueryTables.Add("ODBC;DSN=$DSN;UID=$username;PWD=$password", $ws.Range("A1"), $SQL_Statement)
    if ($qt.Refresh()){
    $ws.Activate()
    $ws.Select()
    $excel.Rows.Item(1).HorizontalAlignment = $xlCenter
    $excel.Rows.Item(1).VerticalAlignment = $xlTop
    $excel.Rows.Item("1:1").Font.Name = "Calibri"
    $excel.Rows.Item("1:1").Font.Size = 11
    $excel.Rows.Item("1:1").Font.Bold = $true
    $filename = "D:\Script\Reports\Status_$a.xlsx"
    if (test-path $filename ) { rm $filename }
    $wb.SaveAs($filename, $xlOpenXMLWorkbook) #save as an XML Workbook (xslx)
    $wb.Saved = $True #flag it as being saved
    $wb.Close() #close the document
    $Excel.Quit() #and the instance of Excel
    $wb = $Null #set all variables that point to Excel objects to null
    $ws = $Null #makes sure Excel deflates
    $Excel=$Null #let the air out
    I would like to use connection string to query the database and write results to EXCEL, i.e.
    $SQL_Statement = "SELECT ..."
    $conn = New-Object System.Data.SqlClient.SqlConnection
    $conn.ConnectionString = "Server=10.10.10.10;Initial Catalog=mydatabase;User Id=$username;Password=$password;"
    $conn.Open()
    $cmd = New-Object System.Data.SqlClient.SqlCommand($SQL_Statement,$conn)
    do{
    try{
    $rdr = $cmd.ExecuteReader()
    while ($rdr.read()){
    $sql_output += ,@($rdr.GetValue(0), $rdr.GetValue(1))
    $transactionComplete = $true
    catch{
    $transactionComplete = $false
    }until ($transactionComplete)
    $conn.Close()
    How would I read the columns and data for $sql_output into an EXCEL worksheet. Where do I find these tutorials?

    Hi Q.P.Waverly,
    If you mean to export the data in $sql_output to excel document, please try to format the output with psobject:
    $sql_output=@()
    do{
    try{
    $rdr = $cmd.ExecuteReader()
    while ($rdr.read()){
    $sql_output+=New-Object PSObject -Property @{data1 = $rdr.GetValue(0);data2 =$rdr.GetValue(1)}
    $transactionComplete = $true
    catch{
    $transactionComplete = $false
    }until ($transactionComplete)
    $conn.Close()
    Then please try to use the cmdlet "Export-Csv" to export the data to excel like:
    $sql_output | Export-Csv d:\data.csv
    Or you can export to worksheet like:
    $excel = New-Object -ComObject Excel.Application
    $excel.Visible = $true
    $workbook = $excel.Workbooks.Add()
    $sheet = $workbook.ActiveSheet
    $counter = 0
    $sql_output | ForEach-Object {
    $counter++
    $sheet.cells.Item($counter,1) = $_.data1$sheet.cells.Item($counter,2) = $_.data2}
    Refer to:
    PowerShell and Excel: Fast, Safe, and Reliable
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang

  • How to connect to a specific database in SQL server

    Hi,
    How can I connect to a specific database in SQL server? I used the following statement. But my table is inserted to the 'master' database in the SQL server. How can I insert my tables to the specific database tahta I have created before?
    Connection con;
    String sURL = "jdbc:microsoft:sqlserver://SERVER_NAME:1433";
    con = DriverManager.getConnection ( sURL, sUsername, sPassword);

    Hi,
    When I use the syntax:
    String sURL = "jdbc:microsoft:sqlserver://SERVER_NAME:1433/DATABASE_NAME;selectMethod=cursor";
    it gives an error as follows:
    problems connecting to jdbc:microsoft:sqlserver://SERVER_NAME:1433/DATABASE_NAME;selectMethod=cursor:
    [Microsoft][SQLServer 2000 Driver for JDBC]Unable to connect. Invalid URL.
    What is the way to connect to a specific database?

  • Connection String to Local Database Problem

    I just copied a database on the development server which I am not owner of, but I have rights to the database. I copied it to my local server. Now I need to connect to the local database and I don't know how.
    Dim MM_cnnName_STRING
    MM_cnnName_STRING = "Provider=SQLOLEDB.1;Password=xxx;Persist Security Info=True;User ID=xxx;Initial Catalog=DBName;Data Source=DevComputerName"
    The above is what I used to connect to the development server. How can I figure out the string for my local MS SQL Server

    Now I have this error once I try to bring up a page that calls the db
    Microsoft OLE DB Provider for SQL Server error  '80004005'
    Login failed. The login is from an untrusted domain  and cannot be used with Windows authentication.
    /CourseList.asp, line  9

  • How to connect to an oracle database server from a linux server?

    Hi,
    I am a total newbie to oracle. At my work, I only know that there is a server with an oracle 10g database set up.
    I was provided with the hostname, oracle sid, port, username and password but i don't know how to connect to it, log on to it and do things on the database.
    Can anyone give me a pointer on how to get started (like how to log on to the server and start doing some simple things. )
    Any help is appreciated :)
    Thank you

    Goto your local Oracle install directory and then goto folder NETWORK/ADMIN
    cd ${ORACLE_HOME}/network/admin
    do you see a tnsnames.ora file there? If you edit that file in your favorite editor, you would hopefully see some entries there already setup. See if one of those entries contain the hostname, sid, port that was given to you. if it does, that name is what you will use:
    $ sqlplus username/password@name_of_tns_entry_you_found_aboveif not, then just duplicate an existing entry and change the relevant settings for your database, give it a new name and use it to connect.
    alternatively you can also use the "Net Configuration Assistant" application.

  • How to connect webdynpro application to database (Sql server)

    Hi Experts,
    Can someone suggest me how to connect webdynpro application to SQL Server. (Possibly in detail)
    Thanks Regards,
    Sandeep

    hi sandeep,
    here is a sample code which connects to a backend database Oracle; Connection is same for all DBs as you are using open sql commands.
    <b>   try {
         String eposta = wdContext.currentContextElement().getEposta();
         String tel = wdContext.currentContextElement().getTelefon();
         String company = wdContext.currentContextElement().getCompany();
         String message = " ";
         String onerikonusu = " ";
         String oneri_mdurum = " ";
         String oneri_odurum = " ";
         String oneri_bfaydalar = " ";
         String oncelik1 = " ";
         String uygulama = " ";
         String tarih = (new SimpleDateFormat("dd-MM-yyyy").format(new java.util.Date()));
         String saat = (new SimpleDateFormat("HH:mm:ss").format(new java.util.Date()));
         //java.sql.Date tarih = java.sql.Date.valueOf(creationDate);
         //java.sql.Time saat = java.sql.Time.valueOf(creationTime);
         if (wdContext.currentContextElement().getMesaj() != "")
            { message = wdContext.currentContextElement().getMesaj(); }
         if (wdContext.currentContextElement().getOneri_konusu() != "")
              { onerikonusu = wdContext.currentContextElement().getOneri_konusu(); }
         if (wdContext.currentContextElement().getOneri_mdurum() != "")
              { oneri_mdurum = wdContext.currentContextElement().getOneri_mdurum(); }
         if (wdContext.currentContextElement().getOneri_konusu() != "")
              { oneri_odurum = wdContext.currentContextElement().getOneri_odurum(); }
         if (wdContext.currentContextElement().getBekfaydalar() != "")
              { oneri_bfaydalar = wdContext.currentContextElement().getBekfaydalar(); }
         if (wdContext.currentContextElement().getOncelik() != "NULL")
              { oncelik1 = onceliktxt.toUpperCase(); }     
         if (wdContext.currentContextElement().getUygulama() != "NULL")
              { uygulama = app.toUpperCase(); }
       InitialContext ctx = new InitialContext();
       javax.sql.DataSource ds =
       (javax.sql.DataSource) ctx.lookup("jdbc/SAPEPPDB");
       java.sql.Connection con = ds.getConnection();
       con.setAutoCommit(false);
       java.sql.Statement stmt = con.createStatement();
         String sql;
          int rows;
          sql = "insert into tmp_feedbacks " +
               "(puid, name, tel, email, company, konu, oncelik, uygulama, mesaj, onerikonusu," +
               "oneri_mdurum, oneri_odurum, oneri_bfaydalar,tarih,saat) " +
               "values ('" + username + "', " +
                         "'" + name + "'," +
                         "'" + tel + "'," +
                         "'" + eposta + "'," +
                         "'" + company + "'," +
                         "'" + konutxt.toUpperCase() + "'," +
                         "'" + oncelik1 + "'," +
                         "'" + uygulama + "'," +
                        "'" + message + "'," +
                        "'" + onerikonusu + "', " +
                        "'" + oneri_mdurum + "', " +
                        "'" + oneri_odurum + "', " +
                        "'" + oneri_bfaydalar + "', " +
                        "'" + tarih + "', " +
                        "'" + saat + "' " +
         stmt = con.createStatement();
         rows = stmt.executeUpdate(sql);
         con.commit();
         stmt.close();
       catch(Exception e){
            IWDMessageManager msgMgr =
                    wdComponentAPI.getMessageManager();
       msgMgr.reportException(e.getMessage(),true);
       }</b>
    The value <b>ctx.lookup("<jdbc_pool>");</b> depends on your system id.
    if your system id is SID the the string has to be <b>jdbc/SAPSIDDB</b>
    you can check it via visual admin >> server >> services >> jdbc con.

  • How start the tnslistener / how edit connection string

    hi master
    sir i am useing jsp with oracle
    my page give me right result in my system but when i test client system then system give me this error
    Database Log In Failed
    TNS could not resolve service name
    Verify that the TNS name in the connectstring entry of the DAD for this URL is valid.
    sir i post my problem in java.sun forum he reply me as under
    ================
    on your machine where your db is installed, start the tnslistener of your database, make sure that your connection string is pointing to that machine
    jdbc:oracle:thin:@<ip or hostname of machine where your db is installed>: 1521:aamir
    ===========
    please give me idea how i run my page in client system
    tahnk's
    aamir

    Strat TnsListener with
    C:/>LSNRCTL START
    Check the status of the listener with
    C:/>LSNRCTL STATUS

  • How To Connect To Oracle 11g Database From Microsoft Excel

    Hi All,
    I have Windows7 64bit installed in my laptop.
    I have Microsoft Excel 2007 installed.
    I tried connecting to Oracle database ( This is not a local database).
    Navigation used:
    Data> From Other Sources > From Data Connection Wizard > Other/Advanced > Next > Microsoft OLE DB Provider For Oracle > OK
    Now I get a pop up to enter:
    username
    password
    server
    When I enter all the required details I get this error "ORA-06413 CONNECTION NOT OPEN"
    Is there no need to give PORT number?
    Thanks,
    Vishwamber Shetty

    Hi,
    Did you install oracle client on the machine? Can you do "tnsping <SID>"? Can you connect to DB using sqlplus ?
    Try using tnsname for server name.
    Connecting to Microsoft Data Sources Through ODBC Connection  This shows how to connect using ODBC connection. I think this would be more appropriate.

  • How to connect to a foxpro database

    im a newbie in java database connectivity. may i know how to establish a connection to a foxpro database using java. i am not sure of the codings needed

    Have a look at the JDBC tutorial. That should get you started.
    kind regards,
    Jos

  • How to connect to a balanced database

    Hello,
    I have never connected to a oracle database before. Im using c# (framework 4.0), and I also have some questions:
    1) Do I need to install some oracle software in my machine (the database is in another computer, in the network) or just use some .dll?
    2) The connection string that I have is that one above, can anyone says if that is correct?
    connection string:
    Data Source=
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST =********)(PORT = 1521))+
    +(ADDRESS = (PROTOCOL = TCP)(HOST =********)(PORT = 1521))+
    +(LOAD_BALANCE = yes)+
    +(CONNECT_DATA =+
    +(SERVER = DEDICATED)+
    +(SERVICE_NAME = SECAD)+
    +)+
    +)+
    SECADOFITE1 =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS =+
    +(PROTOCOL = TCP)+
    +(Host = ********)+
    +(Port = 1521)+
    +)+
    +)+
    +(CONNECT_DATA = (SID = SECAD1)+
    +)+
    +)+
    SECADOFITE2 =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS =+
    +(PROTOCOL = TCP)+
    +(Host = ********)+
    +(Port = 1521)+
    +)+
    +)+
    +(CONNECT_DATA = (SID = SECAD2)+
    +)+
    +);+
    User Id=********;
    Password=********;

    I could do the connection, but now, I have another question...
    I did the connection just with this connection string:
    *(DESCRIPTION =*
    *(ADDRESS = (PROTOCOL = TCP)(HOST =********)(PORT = 1521))*
    *(ADDRESS = (PROTOCOL = TCP)(HOST =********)(PORT = 1521))*
    *(LOAD_BALANCE = yes)*
    *(CONNECT_DATA =*
    *(SERVER = DEDICATED)*
    *(SERVICE_NAME = SECAD)*
    with that, if one database goes down, will the other get the requests and do the replication?

  • How to connect to secondary MSSQL database besides SBODemo

    I need to be able to connect to both the SBODemo database and another database in MSSQL while executing my add-on application (written in C#).  I have a working connection method for SBODemo, but need to know how to connect to the non SAP database at the same time. 
    Thanks,
    Nancy

    Use the standard .Net SQL connector: "System.Data.SqlClient.SqlConnection"
    Example:
    string myConnectionString = "Initial Catalog=Northwind;Data Source=localhost;Integrated Security=SSPI;";
    SqlConnection myConnection = new SqlConnection(myConnectionString);
    string myInsertQuery = "INSERT INTO Customers (CustomerID, CompanyName) Values('NWIND', 'Northwind Traders')";
    SqlCommand myCommand = new SqlCommand(myInsertQuery);
    myCommand.Connection = myConnection;
    myConnection.Open();
    myCommand.ExecuteNonQuery();
    myCommand.Connection.Close();
    Search any .Net forum out there and you find tons of other eaxmples

  • How get all table name from database

    hi master
    sir
    how get all table name from database

    The big question is 'why'.
    Selecting from view 'dba_tables' will indeed give the list of all tables in the database, but that includes the dictionary tables and the internal tables, and many others that are probably not of interet to a person who needs to ask this question. Besides, the dba_tables view requires access to a DBA account.
    There are several other views: "user_tables" will list all the tables in this user's schema; and "all_tables" will list all the tables this user can access in some way.
    The above do not, of course, include any information about synonyms, sequences, views, indexes and so on.
    The correct answer and the meaningful answer may be two different things.

Maybe you are looking for