Step #2: WBI Server Configuration

Top  Previous  Next  Print

It is always recommend to read through all instructions first before proceeding.

 

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

 

A. Configuring the database connection string for WBI

B. Determine the port used by IIS

C. Confirm that .NET used is the correct version / using correct ApplicationPool

D. Determine the internal IP address of the IIS server

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

F. Proceed to Testing steps

 

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 instruction URL's.

 

 

 

A. Configuring the database connection string for AyaNova WBI

 

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

 

b. Use Windows Explorer, open C:\Program Files\Ground Zero Tech-Works Inc\AyaNova folder, and copy the config.txt file

 

c. Move to the C:\Program Files\Ground Zero Tech-Works Inc\AyaNovaWBI6\bin directory and paste the config.txt there

 

d. You will be asked to confirm overwriting the existing config.txt, click Yes.

 

e. If you do not get asked, this may mean you are pasting to the wrong folder - check your steps and redo.

 

 

 

B. Determine the port used by IIS:

 

If using Windows 2003 or XP:

 

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. Check what port Default Web Site is using, and is using the correct version of .NET

Expand Default Web Site
Right-click on Default Web Site and select Properties

 

Setup6

 

In screenshot example below, the Default Web Site is using TCP Port of 6969

NOTE of course: 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

 

 

 

 

If using Vista or Windows 7 or higher:

 

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

b. Expand Services and Applications

c. Expand (IIS) Internet Information Services

 

1. Click on Default Web Site

2. Click on Bindings

3. Now you can see what port it is using

IIS7DefaultWebSitePort

 

 

 

 

 

 

C. Confirm that .NET used is compatible version / using correct ApplicationPool

 

a. If using Windows XP or 2003, confirm that both Default Web Site and AyaNovaWBI site is set to use .NET 2 (see further below for steps)

 

b. If using Vista, Windows 7 or higher, confirm that AyaNovaWBI site is using Classic.NET AppPool (see further below for steps)

 

 

a. Steps for Windows XP Pro or 2003 to confirm that both Default Web Site and AyaNovaWBI site is set to use .NET 2

 

Right-click on Default Web Site and select Properties
Click on the ASP.NET tab and make sure the .NET Framework selected is 2.0.50727 or higher
AyaNova requires Microsoft.NET Framework 3.5, but as 3.5 is just an internal update for it by Microsoft, Microsoft still identifies it as version 2 in the ASP.NET selection

Setup8

Right-click on the AyaNovaWBI site and select Properties

 

Setup9

 

It will first open to the Vistual Directly tab. Click on the ASP.NET tab and make sure the .NET Framework selected is 2.0.50727 or higher
AyaNova requires Microsoft.NET Framework 3.5, but as 3.5 is just an internal update for it by Microsoft, Microsoft still identifies it as version 2 in the ASP.NET selection

 

Setup10

 

Setup11

 

 

If using Windows 2003 (or Windows XP 64 bit ), select the Web Service Extensions and make sure is set to Allowed (if not set to Allowed, will get 404 error Page Not Found when performing  the initial testing on the server)

 

WebExtensions1

 

 

 

b. Steps for Vista, Windows 7 or higher to confirm that AyaNovaWBI site is using Classic.NET AppPool

 

Right-click on the AyaNovaWBI site -> Manage Application -> Advanced Settings
Make sure that Application Pool selected is Classic .NET AppPool

 

apppool1

 

apppool2

 

 

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

 

a. On this 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 internal  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

 

You can also check the IP Address set to a web site via IIS Manager. It is suggested to go through and familiarize yourself with the properties and settings in IIS.

 

 

E. 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/AyaNovaWBI6/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.

 

 

E. Proceed to Testing steps