Windows Server 2016 – WebMatrix on IIS8

How to install Webmatrix on IIS8 using Windows Server 2016


1. You do not need to install anything relating to Webmatrix !

2. Install the IIS Server Role


Create a virtual folder and copy all the files / database and web.config in there.


PS :  You can’t run .cshtml in the root folder !

Because it has a forbidden handler settings for .cshtml extensions


Result will look like this :



3. Configure the IIS server for ASP.NET Razor

Optionally you can set the CLR 4.0 as 32 Bit integrated mode.


Select the Handler Mappings, next Advanced Settings and change the Application Pool from :

Default Application Pool to .NET v4.5



You don’t need to set ISAPI filters !!


And the Mapping handlers are already installed for .cshtml as well Smile


You are ready to test you webpage…

PS :  don’t forget to give READ / WRITE access to the Database folder location ! Winking smile

Success !!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: