login.aspx using MS Access

Discussion in 'Databases' started by ciat, Jul 16, 2010.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I have been trying to use MS Access to create a login page.
    I can get it to work locally but not up on the server.
    Is it possible to do or do I need to use another database?

    Thanks in advance
    Aaron
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    do you mean the asp.net membership? or your own login control?

    what error are you getting?
     
  3. login.aspx

    Not DiscountASP.NET membership.

    login.aspx using MS Access database.

    I do not know how to set-up the web.config file.

    Error below:
    -------------------------------------
    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty.

    Source Error:


    Line 158: <roleManager>
    Line 159: <providers>
    Line 160: <add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 161: <add name="AspNetWindowsTokenRoleProvider" applicationName="/" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 162: </providers>

    -----------------------------------------------------------

    web.config
    ---
    <roleManager enabled="true"
    cacheRolesInCookie="true"
    cookieName=".ASPXROLES"
    cookieTimeout="30"
    cookiePath="/"
    cookieRequireSSL="false"
    cookieSlidingExpiration="true"
    cookieProtection="All"
    >

    </roleManager>

    ------------------------------------------
    <authentication mode="Forms">
    <forms loginUrl="Login.aspx"
    protection="All"
    timeout="30"
    name="My_Cookie"
    requireSSL="false"
    slidingExpiration="true"
    defaultUrl="default.aspx"
    cookieless="UseCookies"
    enableCrossAppRedirects="false">

    </forms>

    </authentication>
    -----

    Not sure what other info would help.
    Thank you
    Aaron
     
  4. Bruce

    Bruce DiscountASP.NET Staff

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page