<%@ Page language="c#" Codebehind="default.aspx.cs" AutoEventWireup="True" Inherits="yaf.install._default" %> <%@ Register TagPrefix="yaf" Namespace="yaf.controls" Assembly="yaf" %> Yet Another Forum.net Installation
Yet Another Forum.NET Installation
Welcome

This installation wizard that will guide you through the installation of Yet Another Forum.NET.

Before you begin you should make sure you have setup your MS SQL server correctly. You can use an existing database, or you can create a new one.

To begin the installation, click next.

Step 1 of 5: Configuration setup

This step will attempt to verify your Web.config file. By default, YetAnotherForum.NET Web.config file is named Default.config. You might need to rename "<%= Server.MapPath("../Default.config") %>" to "<%= Server.MapPath("../Web.config") %>" if this is a new installation.

Here is an example of a valid Web.config file (for NET v2.0):

<configuration>
	<configSections>
		<section name="yafnet" type="yaf.SectionHandler,yaf" />
	</configSections>
	<yafnet>
		<connstr>user id=yaf;password=yafpass;data source=(local);initial catalog=yetanotherforum.net</connstr>
		<language>english.xml</language>
		<theme>standard.xml</theme>
		<uploaddir>/yetanotherforum.net/upload/</uploaddir>
	</yafnet>
	<system.web>
		<pages validateRequest="false" smartNavigation="false"/>
		<authentication mode="Forms">
			<forms name="YAFNET_Authentication" timeout="525600" />
		</authentication>
    </system.web>	
</configuration>
		

NOTE: Please make sure "smartNavigation" is set to false in your Web.config file or you will have problems with YetAnotherForum.NET. YetAnotherForum.NET includes it's own smartNavigation-like system.
Click next to verify the configuration.

Step 2 of 5: Connect to database

Please verify that you have manually modified the connection string found in "<%= Server.MapPath("../Web.config") %>" to point to your database.

When you have entered the correct connection string, click next to continue with the installation.

Step 3 of 5: Initialize database

Your database will now be initialized. In a fresh install this means creating all tables and stored procedures. If this is an update to an already existing version, your database will be updated to the latest version.

Click next to setup your database.

Step 4 of 5: Create Forum
Forum Name:
The name of your forum.
Time Zone:
Forum Email:
The official forum email address.
SMTP Server:
The name of a smtp server used to send emails.
Admin User Name:
The name of the admin user.
Admin Email:
The administrators email address.
Admin Password:
The password of the admin user.
Re-type Password:
Verify the password.
Done

Your forum is now ready to use. If this was a fresh install you will need to enter the admin section of the forum to setup categories and forums.