Installation of Coderr Community

Prerequisite

Coderr is now built using ASP.NET Core MVC. Make sure that you have installed the .NET Core Hosting Bundle on your web server.

  1. Go to https://www.microsoft.com/net/download/all
  2. Click on a .NET Core version, .NET Core 2.2
  3. Find the "Runtime & Hosting Bundle" under "Run apps - Runtime"
  4. Download and install it.
  5. Stop IIS, run "net stop was /y" from a command prompt
  6. Start IIS, run "net start w3svc" from a command prompt.

You can also read Microsofts guide

Installation

Instruction for installing Coderr for the first time.

  1. Download the installation zip file.

  2. Unpack it to a IIS folder (for instance c:\wwwroot\inetpub\coderr\).

  3. Open IIS management console

  4. Create a new application in IIS

  5. Copy the files to the new IIS folder.

  6. Open appsettings.json and change "changeThis" value to your own installation password.

  7. Create a database in your SQL Server (SQL Server 2012 or above).

  8. Give the permissions db_datareader, db_datawriter, db_ddladmin to your IIS application pool account (for instance IIS AppPool\DefaultAppPool).

  9. Open a browser and visit the URL for Coderr

  10. Follow the installation guide in the browser

Upgrading from v1.x

Upgrade from an earlier version of Coderr.

  1. Download the installation zip file.
  2. Copy your connection string from web.config and store it somewhere.
    <add name="Coderr" connectionString="SAVE THIS STRING ONLY" />
    (i.e. not the entire XML element but only the attribute contents)
  3. Delete ALL files from your existing Coderr folder.
  4. Unpack all files from the zip file to your Coderr folder
  5. Open appsettings.json
  6. Change the connection string to your own.
  7. Change configured to true
  8. Close appsettings.json
  9. Coderr should now work.

Common errors

  • Did not install the correct .NET Hosting Bundle
  • Did not restart iis (and if that did work the server) after installing the .NET Core Hosting Bundle
  • The IIS account do not have permissions to your database.

Troubleshooting

The most common reason to Coderr not starting is that the IIS configuration is incorrect. Do the following to troubleshoot it.

  1. Open web.config and change stdoutLogEnabled to true.
  2. Change stdoutLogFile to a log path, i.e. C:\logs.
  3. Give IIS_IUSRS "Change" permissions on the log folder.
  4. Try to start coderr
  5. Log in the log.

Need help?

Either write a post in our Community forum or just write us an email.