WBI Server Configuration

Top  Previous  Next

 

Once WBI is installed to the computer, there are four configuration steps to perform:

 

1. Configuring the database connection string for WBI

2. Determine the port used by IIS and check that .NET is compatible version

3. Determine the internal IP address of the IIS server

4. Configure your router to forward outside Internet requests to the IIS server

 

Note: these instructions make reference to port numbers.  A port number other than the default of 80 for a web server is often used to share multiple web sites on the same IIS server.  If you are using the default port (80) simply leave out the port number where you see it in the following instructions.

 

1. Configuring the database connection string for AyaNova WBI

 

Prior to configuring, confirm that the latest version of AyaNova is already installed and working (you can login and see your data) on this computer prior to installing WBI before proceeding.

 

a. Open up your AyaNova.exe.config file from your AyaNova program directory using NotePad on this same computer

       

i. Default location of the AyaNova 3 program folder is C:\Program Files\Ground Zero Tech-Works Inc\AyaNova 3

       ii. Right-click on the AyaNova.exe.config file, and select Open With -> NotePad

       iii. If NotePad is not listed, select Open With -> Choose a program.... and choose NotePad

       iv. Do not use any other program to edit, only NotePad.

 

b. Highlight all text between <appSettings> and </appSettings>, right-click and select Copy (of course, yours will be different then the screen shot below as you will have a different server, different passwords, and could be using SQL instead of network Firebird)

 

WebConfig1

 

c. Open up your Web.Config file from the AyaNova WBI program folder

       

i. Default location would be C:\Inetpub\wwwroot\AyaNovaWBI

 

       ii. Right-click on the Web.Config file, and select Open With -> NotePad

       iii. If NotePad is not listed, select Open With -> Choose a program.... and choose NotePad

       iv. Do not use any other document processor to edit, only NotePad.

v. It is extremely important that you do not edit any thing else in this file - doing so will result in issues running WBI

 

Screenshot of Web.Config before edit with the area to be edited shown in yellow

WebConfig2

 

 

d. Highlight all text between <appSettings> and </appSettings>, right-click and select Paste

       This will paste your configuration information from your AyaNova.exe.config configuration file into the correct location in the Web.Config file

 

 

WebConfig3

 

 

e. Confirm correct configuration, and then save and close the Web.Config file

 

 

You can of course type in the information instead of copying and pasting, but this way you confirm no typing mistakes

 

 

2. Determine the port used by IIS and check that .NET is compatible version:

 

a. Right-click on My Computer and select Manage to bring up the Computer Management window

 

b. Expand Services and Applications

 

c. Expand (IIS) Internet Information Services

 

d. Expand Default Web Site

 

e. Right-click on Default Web Site and select Properties

 

Setup6

 

f. Identify the TCP Port used by IIS - you will need this port number when you configure your router as well as to provide to remote users

 

You do not have to use 6969 as the TCP Port and you can leave it at it's default of 80 - this is just an example.

 

Setup7

 

g. Click on the ASP.NET tab and make sure the .NET Framework selected is 2.0.50727 or higher

 

Setup8

 

h. Right-click on the AyaNovaWBI site, and select Properties

 

Setup9

 

i. It will first open to the  tab. Click on the ASP.NET tab and make sure the .NET Framework selected is 2.0.50727 or higher

 

Setup10

 

Setup11

 

 

3. Determine the internal IP address of the IIS server:

 

a. On the WBI server, open a DOS command prompt by selecting Start -> Run and typing in the following cmd and selecting OK

 

Config1

 

b. Type in the following ipconfig at the DOS prompt that appears

 

Config2

 

c. This will now display the Local Area Connection's IP Address as well as the Subnet Mask and Default Gateway.

 

d. Note down this IP Address as you will need this to perform testing and to identify which internal IP address to forward to via your router. In the screenshot below, the IP Address is 192.168.1.100  Your's will likely be different.

 

Config3

 

 

4. Configure your router to forward outside Internet requests to the IIS server:

 

Every model router is different so we can not provide specific directions here.

 

You will need to check your router documentation manual on how to configure forwarding

 

Basically, with most models you would bring up the software configuration for the router by connecting to the router via your web browser, go into Advanced settings, go into Forwarding settings, enter the internal IP address of the WBI server, enter the Port number outside Internet users would enter to be redirected to the WBI server (same port number the Default Web Site is set to use in Computer Management)

 

For example:

 

1. Your router's static Internet IP address is 333.222.101.12

2. The Default Web Site TCP Port is set to 8989

3. The WBI server's internal IP address is 192.168.1.100

4. You install and configure WBI to this computer

5. You configure your router to forward port 8989 to 192.168.1.100

6. Remote Internet users would enter the URL of http://333.222.101.12:8989/AyaNovaWBI/login.aspx to bring up the login page for accessing via WBI.  If the port number is 80 (the default web server port) then it can be left off of the URL in the browser.