Configuration

<< Click to Display Table of Contents >>

Navigation:  Installation/Updating/Maintenance >

Configuration

Enable 32 Bit
In IIS the application needs to be added to an application pool which has "Enable 32-Bit Application" enabled.

To enable to setting use right mouse button on the application pool, choose Advanced settings and enable "Enable 32-Bit Application".

clip0027

 

User account
We advise creating a new account with full access and use this account for the following settings:

In services: set run as of "Dataflex 19.0 Web Application Server".

In IIS: Application pool > Select the pool > Advanced settings > Identity.

In IIS: Sites > Select the site > Basic settings > Connect as.

In IIS: Sites > Select the site > Authentication > Anonymous Authentication > edit.
 

Mill7 Data
Create a new file text file in the 'Data' folder and save it with the name "Datapad.ini" (you will need to change the extension from .txt to .ini.)

Make sure that the option "Hide extensions for known types" is disabled or else you will create a file named: Datapad.ini.txt

clip0026

 
In this file the path to your Mill7 installation needs to be set so the web application can use the same data.
If the Mill7 data is on another server please make sure that you use a UNC path and use a user account that has enough rights.

Example:

clip0012

 

After changing the path, the webserver needs to be restarted in order to function correctly.
(See chapter maintenance for information about starting/stopping server)

You can now test the webapplication:

Open IIS, locate the website you have just created and click on browse to test if the website works.

If you get the following error, it means that the data path is not correct:

clip0013

Mappings:
If documents in relation management are linked using mappings, those mappings need to be known on the server where Mill7Mobile is running.
This can be done by creating a file named mappings.ini in the 'Data' folder and addressing the mappings like this:

X: >        C:\Data\Documents
Z: >        D:\Documents
 
Also make sure that the useraccount running Mill7Mobile has read rights to these paths.
After changes, the webserver needs to be restarted in order to function correctly.

Rights:
The useraccount running MIll7Mobile needs read rights on the following folders:

The Mill7 Mainbookkeeping

All folders where documents are located

The user needs write rights on the following folders:

The ‘Data’ folder of Mill7.

The Mill7Mobile folder

 
 
Drivers
If you want to view invoices in the webapplication then  1 driver needs to be registered. This driver is located in the ‘Programs’ folder and is named ‘DataFlex Reports 2017 Developer Edition API.ocx’.
To register this drive use ‘Regsvr32’.

 
Invoice layout
To be able to view invoices in the Web Application a Dataflex reports 6.0 (.dr) invoice layout needs to be present in the reports folder. The name of the invoice needs to be the same as the selected invoice in Mill7:

 

clip0015

 

Antivirus software
Make sure that the Mill7Mobile folder is excluded from your antivirus software.
Some antivirus programs remove "webapp.exe" and place it in quarantine and this causes the web application to not function anymore.