11 months ago
Hosting company supports IIS 8.5 and Asp.net 4.6

so downloaded    YAF.SampleWebApplication-v2.31.03    which appears to target that version

copied all directories/files to  mywebsite/forum   directory   (it is not a virtual directory)

             /bin file and all config files   (app.config, db.config, ... web.config) to  mywebsite   directory

Had no web.config before so new one should be active one

app.config already had 

   add key="YAF.FileRoot" value="~/forum" /

   add key="YAF.AppRoot" value="~/forum" /

 so made no changes, app.config also had 

     add key="YAF.BaseUrlMask" value=""

so changed to

    add key="YAF.BaseUrlMask" value="http://mydomain/forum/"

changed db.config

    add name="yafnet" connectionString="data source="(local)"1;initial catalog=mydatabasename;User ID=DBAdminAcct;Password=******" providerName="System.Data.SqlClient" 

Any suggestions would be appreciated




  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
11 months ago
Rename YafTaskModule to TaskModule in the web.config.

PS: why use such old version?