Building Solution

  1. Download and install MVC 2 templates.
  2. Frontend site (zzzCMS_Frontend) and ZZZ CMS (zzzCMS_Backend) can be hosted on different servers. But they both must point to the same Upload folder in their web.config .
  3. Create database CMSDB (or whatever you like)
  4. Configure appSettings and all connectionStrings
  5. Browse "Setup/Default.aspx" for setting up database
  6. In zzzCMS_Backend web.config uncomment
<location path="CreateUser.aspx">
    <system.web>
      <authorization>
        <allow users="?"/>
      </authorization>
    </system.web>
  </location>
Create a new login and password. Use the login to enter ZZZ CMS

Configuring Email

In web.config edit following lines:

<add key="SmtpHost" value="smtp.gmail.com"/>
<add key="SmtpPort" value="587"/>
<add key="MailTo" value="mymail@gmail.com"/>
<add key="MailSubject" value="New Feedback"/>
<add key="MailUserName" value="mailing_email@gmail.com"/>
<add key="MailPassword" value="mailing_email_password"/>
<add key="BccAddress" value=""/>
<add key="BccAddress2" value=""/>

Using different providers

1. SQLSERVER 2005/2008

Change ZZZ CMS web.config like this:
...
 <connectionStrings>
    <add name="System.Data.SqlClient"
         connectionString="connection string to database CMSDB on your sqlserver" />
  </connectionStrings>
...
 <membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="15">
      <providers>
        <clear />
        <add
          name="SqlProvider"
          type="System.Web.Security.SqlMembershipProvider"
          connectionStringName="System.Data.SqlClient"
          applicationName="MyApplication"
          enablePasswordRetrieval="false"
          enablePasswordReset="true"
          requiresQuestionAndAnswer="false"
          requiresUniqueEmail="true"
          passwordFormat="Hashed" />
      </providers>
    </membership>
    
    <roleManager enabled="true" cacheRolesInCookie="true" defaultProvider="SqlProvider">
      <providers>
        <clear />
        <add connectionStringName="System.Data.SqlClient" applicationName="MyApplication"
           name="SqlProvider" type="System.Web.Security.SqlRoleProvider" />
      </providers>
    </roleManager>
...

2. SQLITE (no longer supported)

Creating first user

In Web.config uncomment
<location path="CreateUser.aspx">
    <system.web>
      <authorization>
        <allow users="?"/>
      </authorization>
    </system.web>
  </location>

Go to CreateUser.aspx and create your first user. Don't forget to comment back.

Last edited Sep 22, 2010 at 1:41 AM by atdushi, version 23

Comments

fiseast Dec 7, 2010 at 5:16 AM 
Excuse me~~~I have a question....
How to create password?