Navigation:  52    U:  LatiWeb >

52.8 Fixes for LatiWeb Errors

Previous pageReturn to chapter overviewNext page

52.8.1 Error:

Cannot open database "<name of Latitude database>" requested by login. The Login failed. Login failed for user 'LatiWebUser"

 

Fix:

Run LWIpack see Run LWIpack section below

 

52.8.2 Error:

A network-related or instance specific error occurred while establishing a connection to SQL server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - could not open a connection to SQL server)

 

 

Fix:

Run LWIpack & LWadmin see Run LWIpack & LWadmin section below

 

52.8.3 Run LWIpack

 

Steps:

Locate the Physical path of LatiWeb in IIS

Open IIS Go to Start -> Type inetmgr -> hit enter

Locate and click on the LatiWeb virtual directory eg. LW

On the right-pane click Advanced Settings…

In the (General) section take note of the Physical Path

Open command prompt Go to Start -> Type cmd -> hit enter

Change the directory to the LatiWeb physical path eg. C:\Latitude\LW\

Change the directory to Ultils eg. C:\Latitude\LW\Utils\

Type the following

LWIpack /server=<SQL Server> /db=<Latitude Database> /user=sa /password=<sa password>

hit enter

wait until the update is finished

Login to LatiWeb and check if it is working

 

52.8.4 Run LWIpack & LWadmin

 

Steps:

Locate the Physical path of LatiWeb in IIS

Open IIS Go to Start -> Type inetmgr -> hit enter

Locate and click on the LatiWeb virtual directory eg. LW

On the right-pane click Advanced Settings…

In the (General) section take note of the Physical Path

Open command prompt Go to Start -> Type cmd -> hit enter

Change the directory to the LatiWeb physical path eg. C:\Latitude\LW\

Change the directory to Ultils eg. C:\Latitude\LW\Utils\

Run LWIpack

Type:

LWIpack /server=<SQL Server> /db=<Latitude Database> /user=sa /password=<sa password>

hit enter

wait until the update is finished

 

Run Lwadmin

Type:

LWadmin

Lwadmin tool dialog will pop-up

Enter the following details

Server: SQL server

Database: Latitude database eg. LatidataSQL

Config File: LatiWeb web.config file eg. C:\Latitude\LW\web.config

Click Change

Click Ok when done

Login to LatiWeb and check if it is working