• Rockhound21
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
Hello everyone, I am trying to install YAF v1.9.5 for a website on a GoDaddy server and I am having a tough time understanding the installation instructions 4, 5, and 6.


4. Modify the *.config files:

If Web.Config is not present, copy one of the samples provided in the /webconfigs/ folder into the root of the web application and rename to web.config. Earlier versions of YAF may have had a default.config or other "recommended" config files for this same purpose.

Setup a valid connection string. In YAF 1.9.3, this is in /db.config. Earlier versions of YAF may have had a connstr somewhere to set.

http://www.connectionstrings.com/ .

The database pointed to in your db.config or can be an already existing database, or you can create a new database to install to. (You will be prompted later if choosing to create a new database.)

Configure the SMTP settings in mail.config as per your hosting environment.

Hint: If upgrading, copy over any customized values from your old web.config to your new web.config.

5. If YetAnotherForumNET isn't installed at the root directory of your web server or host, make sure the files in the bin directory of the zip file is copied to /bin on your web server. Also you'll need to add the element to the web.config to point to the correct URL. Example: If you have install the forum in the directory "http://www.yoursite.com/forum/yaf/" you will need to add /forum/yaf/ to web.config. Please refer to these URLs if you still have questions about the application root:



6. Open the file /install/default.aspx on your web site. If you are testing on your local computer, under a directory called "YetAnotherForumNET", the address should be: http://localhost/YetAnotherForumNET/install/

4 tells me to rename recommended-NET-web.config to just web.config,which I did,and to set up a valid connection string located in db.config. according to the SQL server set up instruction page , it should be this:

	<add name="yafnet" connectionString="user id=citvc;pwd=contemporary;data source=.\SQLEXPRESS;initial catalog=citvcdb;timeout=90" />

5 completely lost me, and I am fairly sure I know what to do on part 6, I just type the URL where that default.aspx is located on my server to activate the installation. Upon trying this prematurely, I get this error:


Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.

Can someone please clarify for me what I need to accomplish in Part 5, and if i have made any mistakes in Part 4? It would be greatly appreciated :-d