Installing FOS Mobile

Installing FOS Mobile

The below includes documentation for a Windows 2012 Server, some variations may be seen depending on your server.

Initial Install Files and Updates to FOS Mobile are included in the FOS Installer. You will need to run the installer and install the Mobile Host and Web Service from the FOS installer. 

An update to FOS Mobile will not install properly if FOS Mobile is already installed. You will need to uninstall the Mobile Host and Web Service from the add/remove programs before any update is installed. 

Pervasive Database Server: 
1. Install .NET 4.0 (minimum) 
2. Make sure that all compatibility options are also installed. 


Create the Database for FOS Mobile:
1. Go to the Pervasive Control Center 
2. Right Click on Database and create a New Database 

3. The Database name will need to match what is in the mobile configuration files – the files default to FOSDATA 

*Make sure to uncheck the Create Dictionary Files (if they do not exist) and the Relational integrity enforced 


Installing the Mobile Host:
1. The default folder for where the mobile host is located is C:\FOS\MobileHost 
2.  In folder FosMobileHost, open FosMobileHostService.exe.config in Notepad or another text editor.
3. Do Not Use Drive Mappings. 
4. You will need to edit the configuration information as noted below: 

EDIT 

<add baseAddress=http://DatabaseServerName:8080/FosMobileHostService/FosMobileService/> replace DatabaseServerName with the machine name of the Pervasive Database Server. (Port 8080 is default, if desired a custom port can be used instead*) 

EDIT 

<appSettings> 

<add key="FosConnectionString" 

value="Server=DatabaseServerName;ServerDSN=FosDatabaseName

replace DatabaseServerName with the machine name of the Pervasive Database Server

replace FosDatabaseName with the DSN name of the FOS database, as defined in the Pervasive Control Center. 

EDIT 

<add key="LogFileName" value="C:\FOS\FosMobileHost\FosMobileHostService.log" 

If necessary replace C:\FOS\FosMobileHost\ with a valid directory for the log file. 

EDIT 

<add key="FosDllPath" value="C:\FOS\" 


If necessary replace C:\FOS\ with the directory where Fos.exe is located 


*Ensure there is not another application using port 8080 and that it is opened in the firewall. This may be checked in the log file. If port 8080 is in use, you may specify a different port. 


Installing the WebService:


IIS Web Server: (FOS Mobile Web Service is not required to be installed on the Pervasive database server.) 
1. Install .net 2.0 (minimum) 
2. IIS must be installed before .NET. If IIS is not installed, uninstall .NET, install IIS, and then re-install .NET. 
3. Install the FosMobileWSSetup.msi. 
4. The default file location on Windows 2012 servers is C:\Bin\WebApps\Site\FOSMobileWS 5. In folder FosMobileWS, open Web.config in Notepad or another text editor. 
6. Do Not Use Drive Mappings. 
7. You will need to edit the information in the config file as noted below 

EDIT 


<applicationSettings> 

<value>http://DatabaseServerName:8080/FosMobileHostService/FosMobileService</value> replace DatabaseServerName with the machine name of the Pervasive Database Server. EDIT 

<client> 

<endpoint address=”http://DatabaseServerName:8080/FosMobileHostService/FosMobileService/” replace DatabaseServerName with the machine name of the Pervasive Database Server. 

Go to the services and Start the Mobile Host Service 

Now you are ready to run the web test. This can be done internally by going into the IIS Manager selecting the Web Test right click and select browse. The user will need to navigate to the FOSMobileWS then select Content View to be able to browse to the web test. 




    • Related Articles

    • FOS Mobile Installation Errors

      WebService Installer Failed to Complete Error: Mobile Web Service installer failed to complete. Aborting installation. Please verify that IIS is configured correctly. ResultCode: 1603 Solution: Ensure IIS 6 Management Compatibility is turned on in ...
    • Installing or moving FOS to a new server

      If FOS has already been installed on a server and needs to be moved to a new server follow the steps below: 1. Make a Copy of the FOS and Data Folders. Ensure all users are logged out of FOS when this occurs. 2. Deauthorize the Pervasive key on the ...
    • Installing FOS on a new workstation

      First you will want to install the appropriate version of pervasive. Remember when installing pervasive on a client machine to use the 32-bit client version of Pervasive. The client machine needs to have the client version of pervasive that is ...
    • Installing FOS Using the Installer

      Install Pervasive: The FOS Installer does not include Pervasive now known as Actian Zen. You are able to install Actian Zen from actian.com. The Actian Zen/Pervasive Installer will come with a 30 Day Trial License. If you have your permanent License ...
    • Updating the FOS Mobile Host

      Please note: The following are general instructions used to install the FOS Mobile Host. Please tailor your specific installation accordingly. FOS Mobile Host 1. Stop the existing FOS mobile host service. 2. Right click on the old back up config ...