Repository navigation
Installation YAF.NET v3.x.x
Note
This page is for YAF.NET v3 (.NET Framework 4.8.1). For the current version see Installation of YAF.NET v4.
- IIS 7.0 or later
- .NET Framework 4.8.1
- One of the supported databases: Microsoft SQL Server (2012 or later), MySQL, PostgreSQL or SQLite
Download the install package from the releases page and unzip it into the folder the forum will run from. By default, IIS expects websites in C:\inetpub\wwwroot\....
- Create a new website, or an application below an existing website, that points to the folder from step 1. See Sites, applications and virtual directories in IIS.
- Set the .NET CLR version of the application pool to v4.0 and the pipeline mode to Integrated.
Create an empty database and a database user with permission to create tables. When the forum starts for the first time, the installation wizard detects the empty database and creates the tables.
Copy the file recommended.web.config to the forum root folder and rename it to web.config.
Warning
Don't edit other parts of the web.config unless you know what you are doing.
Enter the connection string to your database in the <connectionStrings> section. The file contains an example for each database; uncomment the one you need.
Generate a machine key and paste it into the <system.web> section of the web.config.
YAF.NET is designed to run as the root application of a website. To run it in a sub folder instead:
-
Copy the files from the
binfolder of the ZIP file into thebinfolder of the website root. -
In the
<appSettings>section of theweb.config, add (or uncomment) the YAF.AppRoot key with the path of the forum. Example for a forum in/forum/yaf/:<add key="YAF.AppRoot" value="/forum/yaf/" />
Enter your SMTP server in the <mailSettings> section of the web.config.
Open install/default.aspx on your website, e.g. http://localhost/yetanotherforum.net/install/ when testing on your local computer. The wizard guides you through the installation.
YetAnotherForum.NET (YAF) the Open Source Discussion Forum for ASP.NET - https://YetAnotherForum.NET - Support me on Ko-fi
Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
Getting started
- About YAF.NET
- Features
- Docker
- Installation (IIS)
- Hosting on Linux with nginx
- Integration (ASP.NET Core)
- Upgrade to v4
Configuration
Administration
Help
Development
Legacy (v3 and older)