For running Engrafo on a desktop you need have the following installed:
...
a running IIS (Internet Information Server - is typically installed with your windows installation)
a MS SQL Server (e.g. MS SQL Server Express or MS SQL Server) - download from Microsoft)
a running IIS (Internet Information Server - is typically installed your windows installation)
Installation steps
Don’t worry, we will guide you through download and setup of this below
Installation steps
Installation steps for Internet Information Server(IIS)
If IIS is not present on your Windows installation you can activate it in “Windows Features”:
...
See also: Turn on IIS or Internet Information Services on Windows Server (thewindowsclub.com)
After activation of IIS you start IIS by typing IIS in the command line:
...
Create a website in IIS with a name like: engrafo
Install .NET 5.0 on the IIS (https://dotnet.microsoft.com/download/dotnet/5.0 )
In IIS
...
Set the “Physical Path” the folder that will contain the Engrafo-application
...
Click “OK”
Then under “Application Pool → Engrafo”, chose “Advanced Settings…” and set the “Indentity”-property to NetworkService
...
For the Desktop installation the Anonymous Authentication should be Enabled
(NB: For the Server installation the Anonymous Authentication should be Disabled and Windows Authentication set to Enabled on the specific website
...
(Using AD))
...
Install ASP.NET Core 5.0
Install .NET 5.0 on the IIS (https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-aspnetcore-5.0.6-windows-hosting-bundle-installer
...
Installations steps for SQL Server
)
You might need to start/restart the service: W3SVC in the task manager
...
Installation steps for SQL Server
If you don’t have a running SQL Server you can download a Windows SQL Server here:
SQL Server Downloads | Microsoft
When Installing the SQL server, you can choose the Basic settings.
...
You will also need the SQL Server Management Stúdio, which can be downloaded here:
Download SQL Server Management Studio (SSMS) - SQL Server Management Studio (SSMS) | Microsoft Learn
Create a empty database, e.g. engrafo_dbengrafoDB
...
Ensure that the NETWORKSERVICE account can administrate the database.
In the database Login dialog click Search button over Login name and select Network Service (this user should be the same as it is set in the Application Pool Identity):
...
...
SQL Server Management Studio — New Login Dialog- in the login dialog for the account make sure that “sysadmin” is checked
...
Click over Server Roles in the left and select sysadmin to have full permissions:
...
Also allow “Remote connections”
Deploy Engrafo
Create an application pool on the IIS
Under Advanced Settings, set the Identity to: NetworkServiceGet the Desktop version here: https://engrafo.net/desktopversion/desktop64.zip
Unzip the downloaded Engrafo software to ”content path”
...
Configure the ”Physical Path”. (e.g. c:\EngrafoApp)
...
To configure app-settings to point to the database you are using, you need to follow the below two steps:
Open “[Physical Path]\appsettings.production.json” e.g. “C:\EngrafoEngrafoApp\appsettings.production.json”
Edit "DefaultConnection": "Server=[yourServer];Database=[yourDatabase];Trusted_Connection=yes" to match your server name and database name
eg:
Server= localdb)\\mssqllocaldb;Database=engrafo_db; Trusted_Connection=True;MultipleActiveResultSets=true
...
Start using Engrafo
From IIS you can browser the Engrafo-site:
...
First time you use the Engrafo system you need to migrate the Database
...
Scroll down and apply migration. This will create the engrafo database
...
After migration refresh the page
...
By default you get a admin-user and a trial license. You can find it here: [Physical Path]\adminuser.txt, e.g. c:\EngrafoApp\adminuser.txt
This user has all the privillages to administrate og configure the system.
...
We strongly recomend that you change the password for this use after installation.When downloading Engrafo trial version you also get admin user and password together with a trial license
You’ve done it! You’ve installed Engrafo!
Now head over to the section Just installed Engrafo - What now? and start using Engrafo