Admin Menu

User Queries

Group Admin
Help: Configurable Options


Intro
Configuration of this web application is done via two methods; The core settings such as database type, connection strings, and script page names are set in the applications web.config file.
Secondary to this, settings such as admin details, SMTP account, and general options are stored in the database and are configurable from the settings page.

Web.Config File Settings

Key Values
Database Settings  
DBTYPE Values = MSACCESS, SQLSERVER
This web application supports either Access 2000/XP/2003 databases as well as SQL Server 2000/05.
userDBFile Default Value = users.mdb
If the selected DBTYPE is Microsoft Access, this is the filename of the database used.
SQLConnString

If the selected DBTYPE is SQL Server, this is the connection string used to connect to the database.
You must not include the 'Initial Catalog' keyword as this is injected into the connection string at a later point.
The method of access to the SQL Server database is OleDb.

Example Connection Strings
"Provider=sqloledb;Data Source=ComputerName;User Id=SQLAccountName;Password=SQLAccountPassword;"

"Provider=sqloledb;Data Source=ComputerName;Integrated Security=SSPI;"

"Provider=sqloledb;Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;User ID=sa;Password=asdasd;"


You will need to put the appropriate computer and logon details into these example strings.
If you are ISP hosted, you should contact them for the connection string that you are supposed to use.

SQLDBName If the selected DBTYPE is SQL Server, this is the database name that will be used to store the web applications details.
   
Application Pages  
adminpage Default Value = admin.aspx
The name of the admin users main page.
loginpage Default Value = login.aspx
The page where all users provide login details.
securepage Default Value = default.aspx
This is the default location where users are redirected to once logged in to (unless there login also included a referer key so that they could be returned to the page they origonally requested).
signuppage Default Value = signup.aspx
This is the default signup page for new users.
   
Template Pages  
SiteTemplate Default Value = Templates\sitetemplate.htm
The site template is used to provide error messages to users throughout the application in the same HTML layout/style as the rest of your website.
You can customize this but the tags for error message should remain so that when the template is parsed the correct message is displayed.
ValidateEmailTemplate Default Value = Templates\ValidateEmailTemplate.htm
This file is used to provide the content of the email that is sent to new users as they signup if the email validation option is enabled.
This email will contain a URL that is used to validate them as a user.
ForgotPasswordEmailTemplate Default Value = Templates\ForgotPasswordEmailTemplate.htm
This file is used to provide the content of the email that is sent to users when the use the 'forgot password' request page.
   
Active Directory Settings  
ADGroupName Default Value = Active Directory Users
This is the group name given to Active Directory Users, should you wish to make use of this functionality.
Do not use _ or ' characters in this name
   
Encryption  
EncodingSecretKey Default Value = 12345678
This is used as the encryption key when encrypting links and tags used in user group management and refere return URLs.
If you change this key, you should regenerate the group tags in the 'Generate HTML' page which are embedded in the signup.aspx page.
   
Login Settings  
RefererReturn Values = true, false
This option, when set to true, redirects the user back to the page that they origonally requested upon successfull login.
   
General Settings  
DisplayEmailException Values = true, false
This option is provided to help in debugging of the systems email output, and can assist in picking the correct SMTP setup details.
Setting this to true will display the error message from the .NET MailMessage object used to send emails with.
For security reasons, this option should be set to false in general usage.

 

Help Menu


http://shop.robs-projects.com
(c) R.Riglar 2006