locked
Full-Featured Customer Login Portal RRS feed

  • Question

  • User-1007754623 posted

    hello

    i am portuguese and my english is not good...sorry!

    The content "Create a Full-Featured Customer Login Portal?" http://www.asp.net/learn/videos/video-47.aspx  is running on my local server, using the visual 2005.

    1 - What are the steps to configure and run that application  on remote server?

    2 - I have attached the northwinds.mdf and aspnetdb.mdf to my web hosting remote account! is it possible to run the login control and security site using that mdf files?

    3 - What are the changes that a have to do in the we.config? 

    <?xml version="1.0"?>

    <configuration>
        <appSettings/>
        <connectionStrings>
            <add name="northwindsConnectionString1" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\northwinds.mdf;Integrated Security=True;User Instance=True"
                providerName="System.Data.SqlClient" />
        </connectionStrings>
        <system.web>

          <profile>
            <properties>
              <add name="FullName" defaultValue=""/>
            </properties>
          </profile>

          <roleManager enabled="true" />
          <pages theme="hilo" styleSheetTheme="hilo"/>

            <compilation debug="false" />

            <authentication mode="Forms" />
          <siteMap defaultProvider="foo" enabled="true">
            <providers>
              <add name="foo" siteMapFile="web.sitemap"  type="System.Web.XmlSiteMapProvider" securityTrimmingEnabled="true"  />
            </providers>
          </siteMap>
        </system.web>
    </configuration>

     

    cumprimentos aquiles boiça

    Obrigado, thanks, merci, gracias, danke, grazie,  致謝 ,     ありがとう , شكر , благодаря

     

     

    Thursday, November 29, 2007 8:25 AM

Answers

  • User-2017008401 posted

    Hi aquiles,

    I just replied your connection string post. Based on my understading, current thread is a little duplicate with that one, please check my reply in your previous thead:

    northings remote connetion
    http://forums.asp.net/t/1187690.aspx

    In addition, I want to recommend a blog for your reference, the following article teaches how to deploying a SQL Server database to the remote hosting with detailed steps. It includes the solution for SQL Server 2000 and SQL Server 2005. Since you have attached the database to remove server, you can directly refer to the fourth step.

        1. Download and Install the Database Publishing Wizard
        2. Creating .SQL Installation Scripts for our Database
        3. Using our .SQL files to create our remote databases
        4. Updating our connection-string within web.config

    Recipe: Deploying a SQL Database to a Remote Hosting Environment (Part 1)
    http://weblogs.asp.net/scottgu/archive/2006/12/22/recipe-deploying-a-sql-database-to-a-remote-hosting-environment-part-1.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 3, 2007 1:00 AM