Installing MDriven Server on Windows
No edit summary
No edit summary
Line 1: Line 1:
This guide may help You to install MDriven Server on Windows(8, 10), Windows 2012R2 and Windows 2016.
This guide may help You to install MDriven Server on '''Windows(8, 10)''', '''Windows 2012R2''' and '''Windows 2016'''.


== Installing IIS Services and its components ==
== Installing IIS Services and its components ==
To install IIS Services on Windows 10 head to the '''''Control Panel''''' -> '''''Programs and Features''''' -> '''''Turn Windows features on or off'''''
First of all, you need to install IIS on your computer, on Windows(8, 10) head to the ''Control Panel'' -> ''Programs and Features'' -> ''Turn Windows features on or off'' and add '''Internet Information Services'''.


You need to add:  
On Windows 2012R2 or Windows 2016 after installation add roles: '''Web server IIS'''.
* Internet Information Services
[[File:Add the IIS on Windows(8, 10).jpg|none|thumb|356x356px|Add IIS on Windows(8, 10)]]
[[File:Adding_of_IIS_Services.jpg|none|664x664px|IIS|thumb]]
Also, you need to add '''ASP .NET''' 4.5(or higher) and its component. '''Important!''' Under .NET Framework 4.5(or higher) Features head to WCF Services and select '''HTTP Activation''' and '''TCP Port Sharing'''.
* ASP .NET 4.5 (or higher) and its components.
[[File:Add HTTP Activation and TCP Port Sharing.jpg|none|thumb|359x359px|Add HTTP Activation and TCP Port Sharing]]
* '''Important!''' Under .Net Framework 4.5(or higher) Features -> WCF Services ->  select HTTP Activation and TCP Port Sharing.
'''Note!''' If you don’t install '''HTTP Activation''', you will get “Error 405 – method not allowed” instead of the MDriven login screen.
[[File:HTTP_Activation_and_TCP_Port_Sharing.jpg|alt=Add HTTP Activation and TCP Port Sharing|none|thumb|512x512px|Note: If you '''don’t''' install ''HTTP Activation'', you will get “Error 405 – method not allowed” instead of the MDriven login screen.]]
 
* After the installation of IIS you can start IIS Manager on your computer.
Now, you can start '''IIS Manager''' on your computer.
 
''If you had some troubles with installation on Windows 2012R2 see also — https://docs.microsoft.com/en-us/iis/install/installing-iis-85/installing-iis-85-on-windows-server-2012-r2<nowiki/>.''


== Setting up IIS Manager ==
== Setting up IIS Manager ==
* You should install Microsoft Web Platform Installer 5.0 - https://www.microsoft.com/web/downloads/platform.aspx
[[File:Install components to IIS.jpg|thumb|391x391px|Installing components to IIS]]
After installation of IIS, you should install Microsoft Web Platform Installer 5.0 - https://www.microsoft.com/web/downloads/platform.aspx


* After the installation, open WPI -> '''Products''' and install following components to IIS:
After the installation, open Web Platform Installer head to Products and install following components to IIS:
# Logging Tools
# Logging Tools
# Request Monitor
# Request Monitor
Line 24: Line 27:
# IIS Management Scripts and Tools
# IIS Management Scripts and Tools
# Basic Authentication, Windows authentication or another authentication service
# Basic Authentication, Windows authentication or another authentication service
# Web Deploy 3.6. (or download Web Deploy from Microsoft website - https://www.iis.net/downloads/microsoft/web-deploy)  
# Web Deploy 3.6. (or download Web Deploy from Microsoft website - https://www.iis.net/downloads/microsoft/web-deploy)
# Web Deployment Tool 2.1.
# Web Deployment Tool 2.1.
[[File:Install IIS components via WPI 5.0.jpg|frameless|539x539px]]
'''Note!''' For '''Windows Server 2016''': you need to "repair" or re-install the ''Web Deploy 3.6'' after this is done, or you will not see "Deploy" in the context-menu when you right-click the site.
* After these steps restart IIS Manager.
''If you don't see "Deploy section" when you select an IIS site you need to repair or re-install Web Deploy 3.6.''


== Install MDriven Server & MDriven Turnkey ==
== Install MDriven Server & MDriven Turnkey ==

Revision as of 13:15, 8 February 2018

This guide may help You to install MDriven Server on Windows(8, 10), Windows 2012R2 and Windows 2016.

Installing IIS Services and its components

First of all, you need to install IIS on your computer, on Windows(8, 10) head to the Control Panel -> Programs and Features -> Turn Windows features on or off and add Internet Information Services.

On Windows 2012R2 or Windows 2016 after installation add roles: Web server IIS.

Add IIS on Windows(8, 10)

Also, you need to add ASP .NET 4.5(or higher) and its component. Important! Under .NET Framework 4.5(or higher) Features head to WCF Services and select HTTP Activation and TCP Port Sharing.

Add HTTP Activation and TCP Port Sharing

Note! If you don’t install HTTP Activation, you will get “Error 405 – method not allowed” instead of the MDriven login screen.

Now, you can start IIS Manager on your computer.

If you had some troubles with installation on Windows 2012R2 see also — https://docs.microsoft.com/en-us/iis/install/installing-iis-85/installing-iis-85-on-windows-server-2012-r2.

Setting up IIS Manager

Installing components to IIS

After installation of IIS, you should install Microsoft Web Platform Installer 5.0 - https://www.microsoft.com/web/downloads/platform.aspx

After the installation, open Web Platform Installer head to Products and install following components to IIS:

  1. Logging Tools
  2. Request Monitor
  3. Tracing
  4. Dynamic Content Compression
  5. Application Initialization
  6. Management Service
  7. IIS Management Scripts and Tools
  8. Basic Authentication, Windows authentication or another authentication service
  9. Web Deploy 3.6. (or download Web Deploy from Microsoft website - https://www.iis.net/downloads/microsoft/web-deploy)
  10. Web Deployment Tool 2.1.

Note! For Windows Server 2016: you need to "repair" or re-install the Web Deploy 3.6 after this is done, or you will not see "Deploy" in the context-menu when you right-click the site.

Install MDriven Server & MDriven Turnkey

Add an Application Pool

  • Start IIS Manager and add an Application Pool

Adding an Application Tool.jpg

  • Name your Pool and set it to .NET CLR 4.0 and Integrated pipeline mode.

Name and set up Application Pool.jpg

  • Select an Advanced Settings and set:
    • Start mode: AlwaysRunning
    • Identity: <choose what suits your needs>
    • Limit interval: 1

Application Pool settings.jpg

Add a certificate for SSL

  • In ISS Manager select Server Certificates and create Self-Signed Certificate.

Adding of certificate.jpg

  • On the Default web site, add https binding for port 433 and select the certificate needed.

Http binding.jpg

Installing of MDriven Server and MDriven Turnkey

  • Add an application and give a descriptive name. Select the Application Pool which you created earlier.
  1. Create an application with your name ("MyTurnkeyApp)
  2. Create another application under “MyTrunkeyApp” called “__MDrivenServer” (double underscore) so that it ends up like this: “MyTurnkeyApp/__MDrivenServer”
  • Use the deploy function to import the application MDriven Server & MDriven Turnkey which you download from the Capable Objects site. The installer will not overwrite your existing database if this is an upgrade.

Import MDriven Server.jpg

Note: During installation of MDriven Server or MDriven Turnkey app, if you created the structure before, keep "application path" field empty to save the needed folders' structure.

Empty name field.jpg

  • As a result you will get the next application structure

Application Structure.jpg

Setting up MDriven Server

Now, you can open your MDrivenServer in a browser via link

https://localhost/<Your_application_name>/__MDrivenServer/

Important! You have to change "localhost" in a link to your machine name because actually, you aren't "localhost".

In the IIS Manager head to Server Certificate, select your self-signed certificate which you have created early and open "Details" and find "Subject". It will be your machine name.
  • On the first screen you sould register a new user for MDriven Server

MDriven Server start page.jpg

  • After this You may log in and head to Admin area -> Infos, errors and MDrivenServer evolve and push "Evolve Admin database.
This page was edited 10 days ago on 05/03/2024. What links here