Data Portal installation and configuration steps

Top  Previous  Next

Read through all instructions below before proceeding.

 

 

Requirements:

 

 

1.The network configuration ( Firebird server installation or SQL Express or SQL Server) must be performed before following the Data Portal configuration steps.

 

2.Confirm that you can connect to the networked AyaNova database from a local networked connected computer

 

3.Server where the Data Portal will be installed has IIS installed before the steps below

 

4.Server where the Data Portal will be installed has confirmed that AyaNova runs successfully on it, and connects to the networked database (i.e. the Data Portal can be installed on the same server where the database actually resides, OR it can be installed to another computer that can access the AyaNova database through a networked config.txt)

 

5.Your router/firewall has a static external IP address (you can not use a dynamic IP address as that means it constantly changes, and therefore your remote users won't be able to connect as won't know what IP address to use)

 

6.Your router/firewall configured for port forwarding for the IIS computer.

 

7.High-speed internet / network connection between remote user and network where database resides

 

 

 

There are two distinctive sections of the Data Portal setup

 

1. First the installation and configuration of the Data Portal itself

 

2. And second the configuration of the remote station to connect to the Data Portal

 

 

 

 

1. Data Portal installation and configuration

 

 

A. Confirm what the external static IP address is for your router/firewall

 

B. Confirm that your router/firewall is configured to forward port to the database server where the Data Portal will be set up

Refer to your firewall documentation for setting up forwarding as every firewall is different and we would not be able to put here examples of every type available.
in our example screenshot -  the database server’s internal IP address is 192.168.1.100 and the forwarding port we have set is 6969
Do not hesitate to contact a networking professional if you have any doubts about firewall configuration

 

Portforward

C. Confirm that IIS is configured for this port

In our example, we have the TCP Port as 6969 because as the above example, we have want to have remote users forwarded to port 6969 onto the server.

 

IISWebSitePort

 

D. Run the AyaNovaSetup.exe installation again on this same server where you have already configured network AyaNova use and select the network administrator setup

Network1

 

As you will be selecting the Network administrator setup to install the Data Portal, run the AyaNovaSetup.exe file from the same folder where you placed the copy of your networked edited config.txt file as per step #7 of your AyaNova networking steps - as it will expect to find a copy of the config.txt file in the same folder.
If you run the AyaNovaSetup.exe file from a folder where a copy of your config.txt file is not located, you will get the following message. Just click on Ignore.

configTXTfilemissing

 

E. Select to Install AyaNova Data Portal (requires IIS)

 

DataPortalInstall1

 

 

F. Proceed with the installation.

 

G. During the installation it will notify you that it created the virtual directory AyaNovaDP from C:\Program Files\Ground Zero Tech-Works Inc\AyaNova

 

DPInstall2

 

H. If during the installation, it sees that there already is a config.txt file and will ask you if you want to overwrite it - click NO

ConfigTXToverwrite

 

You do NOT want to overwrite your config.txt file because it is already configured to point to your networked AyaNova database

 

NOTE: if you get a message such as below about replacing a file, this is occurring because you have something running. Click Abort, and then check to make sure you do NOT have the AyaNova program running, nor QBI or PTI or any of the import/export utilities, and check Services to make sure that the AyaNova Generator is shut off while installing. Then run the installation again.

setuperror_if_dp_or_generatorrunning

 

I. After installation has completed, open the IIS Manager and confirm that AyaNovaDP is present

 

DPinstallation2

 

J. There is no editing of the web.config file because AyaNovaDP uses the same config.txt that the AyaNova program uses to connect to the networked database.

 

K. Confirm that AyaNovaDP web site is using Microsoft.NET Framework 3.5 (or higher).

 

NOTE: As Microsoft.NET Framework 3.5 is actually just a further update of 2, you will note that the ASP.NET version will show as 2.0.50727.  Make sure this is selected and  then your computer will know to use the latest 3.5 that is installed on it.

 

DPInstall4

 

L. Stop and Start the default web site

 

DPInstall3

 

M. Test the connection via the data portal by opening Internet Explorer on this server where you have just performed the steps above, and typing in the URL where XXXX is the port number of your Default Web Site

 

http://localhost:XXXX/AyaNovaDP/DataPortal.rem?wsdl

 

When using Internet Explorer, you will and you do want to see similar to below:

 

DPInstall5

 

If you see similar to the screenshot above, then continue to the next step. If not, recheck all of your steps from the start.

 

Note that not all web browsers for example such as Google Chrome may not show the above unless you select its Control the current page -> Developer -> View source; and Opera won't show anything at all. Use Internet Explorer to perform this step.

DataPortalConfig2

 

 

N. Data Portal is now installed and confirmed working at the server, you are now ready for the remote computer configuration

 

O. The following are additional rights settings you may want to set so that external users can not view the contents of the config.txt file

1. Open the IIS Manager or Computer Management

2. Right-click on config.txt that is within the folder of the AyaNovaDP site

3. Select Properties

4. Un-check the Read right, and save.

DPInstallConfigRead1

 

DPInstallConfigRead2

 

P. If installing the Data Portal onto a Vista or higher computer, do note the following 2 additional steps:

1. IIS 6 Management Compatibility must be enabled.

a. Go to Programs -> Features -> Turn Windows Features On or Off -> under Internet Information Services -> IIS 6 Management Compatibility, make sure all are check-marked.

iis6compat

2. Set the Application Pool for AyaNova Data Portal 5 to use the Classic .NET AppPool (the screenshot below shows doing this to AyaNovaWBI5, but do the same for the AyaNovaDP site)

apppool1

apppool2

 

NOTE: If on your server you can not use a web site off of Default Web Site as per the steps above, you can manually create a new virtual web site pointing to the AyaNova folder.

 

1.Install as above steps.
2.In IIS Manager, delete the installed web site AyaNovaDP under Default Web Site (this should not remove the installed files)
3.In IIS Manager, create a new web site pointing to the C:\Program Files\Ground Zero Tech-Works Inc\AyaNova folder with its own port #
Allow anonymous access to the web site
The web site access permissions must be at minimum Read, Run scripts and Execute
Make sure .NET 2 is selected in the ASP.NET tab for this new site
You may or may not have to set the IP Address property of your new website to the computer's actual internal ip address instead of (All Unassigned)
4.Stop and Start this new web site that you just created
5.As the site is not under Default Web Site, note of course that the URL for step #13 above would be http://localhost:xxxx/DataPortal.rem?wsdl where xxxx is the port number you gave when you manually created the site.  (or use xxx.xxx.xxx.xxx:XXXX where xxx.xxx.xxx.xxx is the server's internal IP address)

 

 

 

 

2. Remote computer configuration

 

 

A. Test connectivity from within the local area network

 

a. on a networked computer within the local area network, open a web browser and enter in the local ip of the server, the port number for the dataportal etc as below

 

http://dataportalserverlocalip:XXXX/AyaNovaDP/DataPortal.rem?wsdl

 

for example, if the local ip of the dataportal server was 192.168.1.100; and the port number you set for it was 6969, you would enter in:

 

http://192.168.1.100:6969/AyaNovaDP/DataPortal.rem?wsdl

 

You do want to see similar to below:

 

DPInstall5

 

if you do not see as above, that means either one or more of the following is a problem and you need to recheck your steps:

 

the data portal site is not running - check your IIS manager
a firewall may be blocking access
you did not enter in the correct local ip of the data portal server
you did not enter in the correct port number for the data portal
you did not enter in the correct URL

 

b. once you have confirmed connectivity from within the local area network, then continue

 

 

B. Test connection from outside of the network

 

a. on a remote computer connected to the Internet, open a web browser and enter in the public external ip of the router/firewall, the port number for the dataportal etc as below

 

http://publicexternalip:XXXX/AyaNovaDP/DataPortal.rem?wsdl

 

for example, if the external public ip of your router is 222.333.66.23; and the port number you set for it was 6969, you would enter in:

 

http://222.333.66.23:6969/AyaNovaDP/DataPortal.rem?wsdl

 

You do want to see similar to below:

 

DPInstall5

 

if you do not see as above, that means either one or more of the following is a problem and you need to recheck your steps:

 

the router/firewall may not be configured for port forwarding correctly - recheck your router/firewall help
the data portal site is not running - check your IIS manager
a router/firewall may be blocking access
you did not enter in the correct local ip of the data portal server
you did not enter in the correct port number for the data portal
you did not enter in the correct URL

 

b. once you have confirmed connectivity from outside of the local area network, then continue

 

 

C. Provide configuration for remote computer

 

a. Move to the C:\Program Files\Ground Zero Tech-Works Inc\AyaNova/examples folder on your  Data Portal server

 

b. Make a copy of the EXAMPLE_DATAPORTALconfig.txt file and rename that copy to config.txt

 

c. Edit this config.txt using NotePad

 

Do not use any other program but NotePad to edit this file

 

Edit the example IP Address with the router's external IP address and the port number (that you configured in step 1 for your router/firewall that is the same in the Default Web Site and also performed in the step B.b above)

 

For example, if your router's public IP address is 222.333.111.6, and the port your Default web site is using is 6969 (which is also the same port you configured in the router/firewall and for AyaNovaDP), that config.txt would look like

 

DPInstall6

 

<ConnectionType>DataPortal</ConnectionType>

<PortalServer>http://222.333.111.6:6969/AyaNovaDP/DataPortal.rem</PortalServer>

 

Save the file

 

 

d. Make that config.txt file accessible to your remote user - either give that config.txt file to your remote user by email or put it on a disk, etc) and have them save to a folder on their local hard drive

 

For example, have them save it to C:\Temp

 

e. Have your remote user download the AyaNovaSetup.exe installation file and save to their local hard drive into that same folder

 

For example, the C:\Temp folder will now have both the AyaNovaSetup.exe file and the special edited config.txt file.

 

f. Have that remote user run the AyaNovaSetup.exe file from that folder location that also has the edited config.txt in that same shared location.

 

Make sure the remote user selects Network administrator setup

Network1

 

The AyaNovaSetup.exe will "see" that config.txt file in the same folder and automatically copy it to that computer's AyaNova program directory so no additional configuration is needed on that user's station.

 

The install will only install the AyaNova program files it has been told to install, will copy that config.txt file to the remote user's local hard drive workstations AyaNova program folder and will not install a trial database.

 

The AyaNova installation will place a desktop icon for AyaNova on the desktop as well as in the start menu.

 

 

 

If an issue with the Data Portal, you first need to confirm at what point an issue first occurs. This means the first thing you do is re-check every step.

 

If continue to experience an issue, check the AyaNova Support Forum for a solution similar to your issue

 

If continue to experience an issue, either post the following on the AyaNova Support Forum or send via direct email to AyaNova support:

Identify the issue you are having and what step it relates to - provide details of what exactly was done, possibly screenshots etc of the issue
Confirm each step performed in its order, and each step has been taken up to the point of the issue providing details on each of those steps
If issue in remote computer configuration, identify step at and config.txt with that step along with confirmation of testing steps done previously to that point