For running Engrafo on a desktop you need have the following installed:
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 with your windows installation)
Installation steps
Installations steps for IIS
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
Set the “Physical Path” the folder that will contain the Engrafo-application
...
Under “Application Pool → Engrafo”, chose “Advanced Settings…” and set the “Indentity”-property to NetworkService
...
Install .NET 5.0 on the IIS (https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-aspnetcore-5.0.6-windows-hosting-bundle-installer )In IIS
You might need to start/restart the service: W3SVQ in the task manager
...
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
...
Direct link for ASP.net Runtime:
https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-aspnetcore-5.0.6-windows-hosting-bundle-installer
...
(Using AD))
...
Installation steps for SQL Server
If you don’t have a running SQL Server you can wnload SQL Server here:
SQL Server Downloads | Microsoft
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”
...
the ”Physical Path”. (e.g. c:\EngrafoApp)
...
Configure app-settings to point to the database you are using
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:
...
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