<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://techwiki.neosys.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sunny</id>
	<title>NEOSYS Technical Support Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://techwiki.neosys.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sunny"/>
	<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php/Special:Contributions/Sunny"/>
	<updated>2026-05-29T18:13:14Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=719</id>
		<title>Installing NEOSYS Service</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=719"/>
		<updated>2011-07-04T11:55:33Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Installing initial Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= INSTALLING NEOSYS SERVICE =&lt;br /&gt;
&lt;br /&gt;
Reference to X:\ in the notes below denotes the actual drive letter and needs to be replaced (eg D:\)&lt;br /&gt;
&lt;br /&gt;
== Main installation: ==&lt;br /&gt;
&lt;br /&gt;
 Make sure NOT TO COPY an existing NEOSYS installation to another location and ONLY do a &lt;br /&gt;
 completely new install with a fresh database, because copying a folder will copy a variety of &lt;br /&gt;
 hidden configurations. &lt;br /&gt;
&lt;br /&gt;
=== Installing NEOSYS on partitions ===&lt;br /&gt;
Good server management practice is to have separate partitions for operating system (C:) and data partitions (D:)&lt;br /&gt;
 &lt;br /&gt;
In the case of operating system reinstallation (which causes the loss of the C: partition) if NEOSYS programs and data were installed on D: can be preserved. If there is only one partition then NEOSYS programs and data will have to be backed up and restored.&lt;br /&gt;
&lt;br /&gt;
==== Multiple Partitions ====&lt;br /&gt;
NEOSYS should be installed on a different partition rather than the C drive for reasons already explained above (eg. D drive)&lt;br /&gt;
&lt;br /&gt;
==== Single Partition ====&lt;br /&gt;
If there is only one partition then you have to inform the client to take the effort to reinstall the operating system or using third party repartitioning tools to create separate partitions.&lt;br /&gt;
 &lt;br /&gt;
=== Downloading and running installation files ===&lt;br /&gt;
# http://www.neosys.com/support/neosys.exe	... and unzip/install to X:\neosys (or to X:\hosts\clientcd for multi-installation on one server)&lt;br /&gt;
# http://www.neosys.com/support/neosys2.exe	... and install same as previous step.&lt;br /&gt;
&lt;br /&gt;
=== Creating shortcuts ===&lt;br /&gt;
In x:\neosys (or x:\hosts\clientcd), make a shortcut called ‘Maintenance’ and link it to&lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\adagency.bat (for Adagency install)&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\accounts.bat (for Accounts install)&lt;br /&gt;
&lt;br /&gt;
=== Activating NEOSYS using authorization number ===&lt;br /&gt;
&lt;br /&gt;
Start NEOSYS Maintenance, select Initial Backup and it will give a “Computer Number” and ask for an “Authorisation No”&lt;br /&gt;
&lt;br /&gt;
Send the computer number to NEOSYS admin to get the authorization no.&lt;br /&gt;
&lt;br /&gt;
If you cannot get the authorization number immediately then you can close NEOSYS and when you reopen NEOSYS it will still give the same computer number and accept the same authorization number.&lt;br /&gt;
&lt;br /&gt;
=== Installing initial Database ===&lt;br /&gt;
&lt;br /&gt;
Download the initial database file from http://www.neosys.com/support/BACKUP.ZIP and place it in D drive (or any other drive) - but make sure that this file exists in the root folder i.e. D:\BACKUP.ZIP&lt;br /&gt;
&lt;br /&gt;
Follow the steps below:&lt;br /&gt;
#Click on the Maintenance icon.&lt;br /&gt;
#Select BASIC DATA SET and type in the NEOSYS username and password. (If the system does not prompt for a username and password,then go to Quit &amp;gt; Quit to next user and type the same in. If you do not enter with a username and password then NEOSYS will not allow you to restore the database). The first time when you enter maintenance you will get a command box (like when you do F5). If you do not get a command box, hit the F5 key and get it on the screen and hit ESC after you get it. &lt;br /&gt;
#Now restore the BACKUP.ZIP (STARTUP DATABASE), to do so go to General &amp;gt; Backup &amp;amp; Data Management, select (the 4th option) Restore from disk or diskette. select D drive (or whichever drive you put the backup.zip file in) and follow the prompts ahead.&lt;br /&gt;
#On every successful restore or creation of dataset, system will give you a message to switch to new database always &#039;&#039;&#039;say NO&#039;&#039;&#039; to this,because the switch to database option brings you back to the BASIC DATA SET. Hence press the ESC button, type EXIT on the F5 prompt.&lt;br /&gt;
#Now startup maintenance again and you will find a new database &amp;quot;STARTUP DATABASE&amp;quot; select it and login with NEOSYS username and password. Once you enter you may find a prompt &amp;quot;TASK ADDED&amp;quot; follow the prompt and continue.&lt;br /&gt;
#After you have logged in, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Delete a dataset and select the &amp;quot;BASIC DATASET&amp;quot; to delete, to confirm the delete system will ask you to enter the dataset code. Enter the code and delete the basis dataset.&lt;br /&gt;
#Now create a new dataset for the client, go to general &amp;gt; Backup &amp;amp; Data management&amp;gt; Create a new dataset, select (6th option) and follow the instruction on how to setup database code from the following link &amp;quot;http://techwiki.neosys.com/index.php/Installing_NEOSYS_Service#Assigning_database_codes&amp;quot;&lt;br /&gt;
#Once the client dataset is created,login to the clientdataset and follow the steps in above point6 and delete the STARTUP DATABASE. (while logging in to the client dataset, it ask &amp;quot; This database hsa been copied or the database name or code has been changed. Is this going to be a unique new master database?&amp;quot; select first option YES - Going to be a new independent database.&lt;br /&gt;
#To check the list of dataset on the computer, go to go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; See a list of dataset in the computer(8th option).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
#Sometimes it may tell you that you cannot use FILEMAN as you are logged in as MASTER. Hence you need to hit the ESC key, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Restore from disk or diskette, select C drive or whichever drive you put the backup.zip file in and follow the prompts ahead.&lt;br /&gt;
#While doing the step no.2 if you get a message as below just hit enter or space and continue.&lt;br /&gt;
&lt;br /&gt;
[[File:Message while installing.jpg]]&lt;br /&gt;
&lt;br /&gt;
==== Assigning database codes ====&lt;br /&gt;
It is necessary to make sure that the following guidelines are met while creating database codes:&lt;br /&gt;
&lt;br /&gt;
#The code should be within 8 letters&lt;br /&gt;
#The client should be as recognisable as possible from the main database code&lt;br /&gt;
#The test database code should end with the TEST word and it is not necessary that it must be recognisable&lt;br /&gt;
#The test database code should always appear after the main database code at login&lt;br /&gt;
&lt;br /&gt;
Examples of wrong and right database codes:&lt;br /&gt;
&lt;br /&gt;
 ALTO VISTA ADVERTISING&lt;br /&gt;
 ALTOVIST and XALTTEST - right      AVISTA and AVTEST - wrong   (AVISTA not &amp;quot;as recognisable as possible&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 CONTEXTURE ASSOCIATES&lt;br /&gt;
 CONTEXT and XCONTEST - right       CONTEXT and CONTEST - wrong (CONTEST alphabetically first in the login screen database drop down)&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to start NEOSYS Service: ===&lt;br /&gt;
(Note: change x to the correct drive you have installed NEOSYS on)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start MAIN-DATABASE-CODE.cmd (eg start ALTOVIST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt; is the code of the database)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start TEST-DATABASE-CODE.cmd (eg start AVTEST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt; is the code of the testdatabase)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
TEST THAT THE FILES YOU HAVE CREATED CAN RUN SUCCESSFULLY&lt;br /&gt;
&lt;br /&gt;
ENSURE THAT YOU DO NOT CLOSE THE PROCESS WINDOWS BY USING THE X BUTTON. HIT ESC 3 TIMES ON EACH WINDOW.&lt;br /&gt;
&lt;br /&gt;
=== Differences for Pure Accounts Module Only Installations ===&lt;br /&gt;
Accounts module only has a slightly different startup command. In the above, replace &#039;&#039;&#039;/system adagency&#039;&#039;&#039; with &#039;&#039;&#039;/system accounts&#039;&#039;&#039; to startup a service and use &#039;&#039;&#039;accounts.bat&#039;&#039;&#039; instead of &#039;&#039;&#039;adagency.bat&#039;&#039;&#039; to start up maintenance. Other than that, accounts module setup is identical. Pure accounts clients are very few and tend not to upgrade often so care needs to be taken when upgrading. Upgrade is perhaps surprisingly done using the adagency.exe file.&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to copy maindata to testdata ===&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file &amp;lt;B&amp;gt;copy MAINDATABASECODE to TESTDABASECODE.cmd&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 xcopy x:\neosys\data\&amp;lt;i&amp;gt;maindatabasecode&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;testdatabasecode&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
 eg. xcopy c:\neosys\data\&amp;lt;i&amp;gt;ALTOVIST&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;AVTEST&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
Run this file to test that it works fine.&lt;br /&gt;
&lt;br /&gt;
=== Setting up daily scheduled tasks ===&lt;br /&gt;
&amp;lt;b&amp;gt;Automatic Schedules:&amp;lt;/b&amp;gt;&lt;br /&gt;
NEOSYS automatically shuts down at 1am (was 2am) every morning for backup. It closes all the running processes and backups up to the selected drive.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Manually Configured Schedules:&amp;lt;/b&amp;gt; to be done under Scheduled Tasks&lt;br /&gt;
&lt;br /&gt;
Note: Under Windows 2008 Standard you need to UNTICK highest privileges and UNTICK run whether user is logged in or not as shown in the screen shots that follow:&lt;br /&gt;
&lt;br /&gt;
1. Create a task to start one Main database process at 6:00 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:start1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Create a second task to Copy Maindata to Testdata at 2:45 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:copy1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(For multiple sites on the same computer put the second site starting five minutes later at 6:05am, third site starting five minutes earlier at 5:55am, the third site starting five minutes later at 6:10am and so on.)&lt;br /&gt;
&lt;br /&gt;
Once created, test them to see that they are working correctly by running them directly using right click- Run.&lt;br /&gt;
&lt;br /&gt;
[[File:task1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Use web access and go to Support Menu, System Configuration File to request 3 processes for main database and 1 for test database).&lt;br /&gt;
&lt;br /&gt;
Please note that test running “copy test data” should be avoided while users are online but there is no problem testing the “daily 6am startup task” at any time since it will just add an additional process.&lt;br /&gt;
&lt;br /&gt;
=== Configuring NEOSYS to start automatically on server start-up / reboot ===&lt;br /&gt;
We no longer configure NEOSYS processes to start on reboot as we would like to know of the failures at the client side and hence whenever the server reboots we expect the client to inform us and we will start the process - or NEOSYS will start automatically next day at 6 am&lt;br /&gt;
&lt;br /&gt;
Unfortunately using this method the NEOSYS processes are not visible when you login as a user. &lt;br /&gt;
&lt;br /&gt;
[[Image:win_sch_task.jpg]]&lt;br /&gt;
&lt;br /&gt;
Schedule a task to run the main database file whenever the computer starts. In Windows 2008 you need to tick the options - Run whether user logged in or not and Run with highest privilege.&lt;br /&gt;
&lt;br /&gt;
Additional in Windows 2008: Tick Highest Priviledges and Run whether user logged in or not&lt;br /&gt;
&lt;br /&gt;
== Installing and upgrading NEOSYS pure accounting systems ==&lt;br /&gt;
&lt;br /&gt;
Basic installation using NEOSYS.EXE and upgrades using NEOSYS2.EXE are identical to the normal adagency installation process.&lt;br /&gt;
&lt;br /&gt;
Differences are as follows:&lt;br /&gt;
&lt;br /&gt;
# Maintenance shortcut to ACCOUNTS.BAT&lt;br /&gt;
# Process startup file contains &amp;quot;/system ACCOUNTS&amp;quot; instead of &amp;quot;/system ADAGENCY&amp;quot;&lt;br /&gt;
# Internet address is http://server/neosys/accounts.htm although it auto converts to http://server/neosys/default.htm??ACCOUNTS. Although not to be relied upon, the login page stores a cookie so even plain http://server/neosys or http://server/neosys/default.htm works thereafter until the cookie is lost. To get back to adagency login you use http://server/neosys/default.htm??ADAGENCY&lt;br /&gt;
# BACKUP.ZIP files created by ADAGENCY systems and ACCOUNTS systems are slightly incompatible with the result that restoring one in the other type of system will not work. NEOSYS programmers can convert from one type to the other but it is almost never required since any ad agency that only requires accounts only module is given the adagency version of NEOSYS and accounting only clients becoming ad agencies never happened.&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=712</id>
		<title>Configuring IIS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=712"/>
		<updated>2011-06-25T09:59:15Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;After you have installed all the NEOSYS program files you need to configure IIS so that you can operate NEOSYS. Instructions are below.&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for windows 2003 ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039; first step is to create a virtual directory called neosys liked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NL1 Server:&#039;&#039;&#039; Create a website called &amp;quot;clientname&amp;quot; liked to D:\hosts\clientfolder\neosys.net &lt;br /&gt;
&lt;br /&gt;
[[image:figure1.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[image:figure3.jpg]]&lt;br /&gt;
&lt;br /&gt;
In that folder &amp;gt; neosys &amp;gt; dll – change the Execute Permission to Scripts &amp;amp; Executables&lt;br /&gt;
&lt;br /&gt;
A new window will pop up &amp;quot;IP Address and Port Setting&amp;quot; after completion of the above step.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039;  select *(All Unassigned)* from the drop down list of &amp;quot;Enter the IP address to use for the Web site&amp;quot; and keep the default port as 80. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NL1 Server:&#039;&#039;&#039; Select the static Ip from the drop down list of &amp;quot;Enter the IP address to use for the Web site&amp;quot; and enter then next port available and click on next.&lt;br /&gt;
&lt;br /&gt;
[[image:Figure_2.jpg‎]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039; Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nl1 Server:&#039;&#039;&#039; Within the above clientwebsite folder create a virtual directory called data linked to D:\hosts\clientfolder\data:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(I haven’t got the screenshot because I can only get it once I create the above)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To allow file uploads&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client server:&#039;&#039;&#039; create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nl1 Server:&#039;&#039;&#039; create a folder IMAGES under D:\hosts\clientfolder and within the client web site folder create a virtual directory called images linked to D:\hosts\clientfolder\images:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(I haven’t got the screenshot because I can only get it once I create the above)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for Windows 2008 ==&lt;br /&gt;
&lt;br /&gt;
==== Installing IIS ====&lt;br /&gt;
&lt;br /&gt;
First install IIS from Control Panel &amp;gt; Programs &amp;amp; Features &amp;gt; Turn Windows Features ON or OFF &amp;gt; Add Roles:&lt;br /&gt;
&lt;br /&gt;
[[image:iis1.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the window that pops up click on next and you will get this screen, tick Web Server (IIS) - on the prompt click on Add Required Resources and then on Next:&lt;br /&gt;
&lt;br /&gt;
[[image:iis2.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the next window, click on next until you get this window - tick ASP and ISAPI Extensions:&lt;br /&gt;
&lt;br /&gt;
[[image:iis3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on Next and Finish&lt;br /&gt;
&lt;br /&gt;
==== Configuring IIS ====&lt;br /&gt;
After successfully installing IIS, go to Control Panel &amp;gt; Administrative Tools &amp;gt; Computer Management &amp;gt; Services and Applications &amp;gt; Internet Information Services (IIS) &amp;gt; Machine Name &amp;gt; Sites &amp;gt; Default Website:&lt;br /&gt;
&lt;br /&gt;
The first step is to create a virtual directory called neosys linked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
[[image:iis4.jpg]]&lt;br /&gt;
&lt;br /&gt;
Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data:&lt;br /&gt;
&lt;br /&gt;
[[image:iis5.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the IIS Default Web Site create a another virtual directory called neosys.w3c linked to D:\neosys\neosys.w3c (only if timesheets for mac is required):&lt;br /&gt;
&lt;br /&gt;
[[image:iis6.jpg]]&lt;br /&gt;
&lt;br /&gt;
To allow file uploads – create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
[[image:iis7.jpg]]&lt;br /&gt;
&lt;br /&gt;
After you add all virtual directories the tree map of the Default Website should look as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:iis8.jpg]]&lt;br /&gt;
&lt;br /&gt;
To configure file uploads besides adding the images directory, go under IIS &amp;gt; Default Website &amp;gt; neosys – click on Handler Mappings and delete the ISAPI you see there:&lt;br /&gt;
&lt;br /&gt;
[[image:iis9a.jpg]]&lt;br /&gt;
&lt;br /&gt;
Thereafter click on Add Script Map and fill in the details as follows – Request path: *.dll , Executable: D:\neosys\neosys.net\NEOSYS\dll\upload.dll , Name: ISAPI (once you click on OK click on YES to the confirmation box)&lt;br /&gt;
&lt;br /&gt;
[[image:iis9b.jpg]]&lt;br /&gt;
&lt;br /&gt;
Edit the hosts file under c:\windows\system32\drivers\etc\ - delete the # sign next to 127.0.0.1 localhost and incluide the # sign before ::1 localhost&lt;br /&gt;
&lt;br /&gt;
[[image:iis10.jpg]]&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Figure3.jpg&amp;diff=711</id>
		<title>File:Figure3.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Figure3.jpg&amp;diff=711"/>
		<updated>2011-06-25T09:56:28Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=710</id>
		<title>Configuring IIS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=710"/>
		<updated>2011-06-25T09:54:01Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;After you have installed all the NEOSYS program files you need to configure IIS so that you can operate NEOSYS. Instructions are below.&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for windows 2003 ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039; first step is to create a virtual directory called neosys liked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NL1 Server:&#039;&#039;&#039; Create a website called &amp;quot;clientname&amp;quot; liked to D:\hosts\clientfolder\neosys.net &lt;br /&gt;
&lt;br /&gt;
[[image:figure1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In that folder &amp;gt; neosys &amp;gt; dll – change the Execute Permission to Scripts &amp;amp; Executables&lt;br /&gt;
&lt;br /&gt;
A new window will pop up &amp;quot;IP Address and Port Setting&amp;quot; after completion of the above step.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039;  select *(All Unassigned)* from the drop down list of &amp;quot;Enter the IP address to use for the Web site&amp;quot; and keep the default port as 80. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NL1 Server:&#039;&#039;&#039; Select the static Ip from the drop down list of &amp;quot;Enter the IP address to use for the Web site&amp;quot; and enter then next port available and click on next.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039; Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nl1 Server:&#039;&#039;&#039; Within the above clientwebsite folder create a virtual directory called data linked to D:\hosts\clientfolder\data:&lt;br /&gt;
&lt;br /&gt;
(I haven’t got the screenshot because I can only get it once I create the above)&lt;br /&gt;
&lt;br /&gt;
To allow file uploads &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client server:&#039;&#039;&#039; create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nl1 Server:&#039;&#039;&#039; create a folder IMAGES under D:\hosts\clientfolder and within the client web site folder create a virtual directory called images linked to D:\hosts\clientfolder\images:&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for Windows 2008 ==&lt;br /&gt;
&lt;br /&gt;
==== Installing IIS ====&lt;br /&gt;
&lt;br /&gt;
First install IIS from Control Panel &amp;gt; Programs &amp;amp; Features &amp;gt; Turn Windows Features ON or OFF &amp;gt; Add Roles:&lt;br /&gt;
&lt;br /&gt;
[[image:iis1.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the window that pops up click on next and you will get this screen, tick Web Server (IIS) - on the prompt click on Add Required Resources and then on Next:&lt;br /&gt;
&lt;br /&gt;
[[image:iis2.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the next window, click on next until you get this window - tick ASP and ISAPI Extensions:&lt;br /&gt;
&lt;br /&gt;
[[image:iis3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on Next and Finish&lt;br /&gt;
&lt;br /&gt;
==== Configuring IIS ====&lt;br /&gt;
After successfully installing IIS, go to Control Panel &amp;gt; Administrative Tools &amp;gt; Computer Management &amp;gt; Services and Applications &amp;gt; Internet Information Services (IIS) &amp;gt; Machine Name &amp;gt; Sites &amp;gt; Default Website:&lt;br /&gt;
&lt;br /&gt;
The first step is to create a virtual directory called neosys linked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
[[image:iis4.jpg]]&lt;br /&gt;
&lt;br /&gt;
Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data:&lt;br /&gt;
&lt;br /&gt;
[[image:iis5.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the IIS Default Web Site create a another virtual directory called neosys.w3c linked to D:\neosys\neosys.w3c (only if timesheets for mac is required):&lt;br /&gt;
&lt;br /&gt;
[[image:iis6.jpg]]&lt;br /&gt;
&lt;br /&gt;
To allow file uploads – create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
[[image:iis7.jpg]]&lt;br /&gt;
&lt;br /&gt;
After you add all virtual directories the tree map of the Default Website should look as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:iis8.jpg]]&lt;br /&gt;
&lt;br /&gt;
To configure file uploads besides adding the images directory, go under IIS &amp;gt; Default Website &amp;gt; neosys – click on Handler Mappings and delete the ISAPI you see there:&lt;br /&gt;
&lt;br /&gt;
[[image:iis9a.jpg]]&lt;br /&gt;
&lt;br /&gt;
Thereafter click on Add Script Map and fill in the details as follows – Request path: *.dll , Executable: D:\neosys\neosys.net\NEOSYS\dll\upload.dll , Name: ISAPI (once you click on OK click on YES to the confirmation box)&lt;br /&gt;
&lt;br /&gt;
[[image:iis9b.jpg]]&lt;br /&gt;
&lt;br /&gt;
Edit the hosts file under c:\windows\system32\drivers\etc\ - delete the # sign next to 127.0.0.1 localhost and incluide the # sign before ::1 localhost&lt;br /&gt;
&lt;br /&gt;
[[image:iis10.jpg]]&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Figure_2.jpg&amp;diff=709</id>
		<title>File:Figure 2.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Figure_2.jpg&amp;diff=709"/>
		<updated>2011-06-25T09:53:32Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=708</id>
		<title>Configuring IIS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=708"/>
		<updated>2011-06-25T09:50:33Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;After you have installed all the NEOSYS program files you need to configure IIS so that you can operate NEOSYS. Instructions are below.&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for windows 2003 ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039; first step is to create a virtual directory called neosys liked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NL1 Server:&#039;&#039;&#039; Create a website called &amp;quot;clientname&amp;quot; liked to D:\hosts\clientfolder\neosys.net &lt;br /&gt;
&lt;br /&gt;
In that folder &amp;gt; neosys &amp;gt; dll – change the Execute Permission to Scripts &amp;amp; Executables&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure 3]] (not created as we need to do the installation)&lt;br /&gt;
&lt;br /&gt;
A new window will pop up &amp;quot;IP Address and Port Setting&amp;quot; after completion of the above step.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039;  select *(All Unassigned)* from the drop down list of &amp;quot;Enter the IP address to use for the Web site&amp;quot; and keep the default port as 80. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NL1 Server:&#039;&#039;&#039; Select the static Ip from the drop down list of &amp;quot;Enter the IP address to use for the Web site&amp;quot; and enter then next port available and click on next.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039; Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nl1 Server:&#039;&#039;&#039; Within the above clientwebsite folder create a virtual directory called data linked to D:\hosts\clientfolder\data:&lt;br /&gt;
&lt;br /&gt;
(I haven’t got the screenshot because I can only get it once I create the above)&lt;br /&gt;
&lt;br /&gt;
To allow file uploads &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client server:&#039;&#039;&#039; create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nl1 Server:&#039;&#039;&#039; create a folder IMAGES under D:\hosts\clientfolder and within the client web site folder create a virtual directory called images linked to D:\hosts\clientfolder\images:&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for Windows 2008 ==&lt;br /&gt;
&lt;br /&gt;
==== Installing IIS ====&lt;br /&gt;
&lt;br /&gt;
First install IIS from Control Panel &amp;gt; Programs &amp;amp; Features &amp;gt; Turn Windows Features ON or OFF &amp;gt; Add Roles:&lt;br /&gt;
&lt;br /&gt;
[[image:iis1.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the window that pops up click on next and you will get this screen, tick Web Server (IIS) - on the prompt click on Add Required Resources and then on Next:&lt;br /&gt;
&lt;br /&gt;
[[image:iis2.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the next window, click on next until you get this window - tick ASP and ISAPI Extensions:&lt;br /&gt;
&lt;br /&gt;
[[image:iis3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on Next and Finish&lt;br /&gt;
&lt;br /&gt;
==== Configuring IIS ====&lt;br /&gt;
After successfully installing IIS, go to Control Panel &amp;gt; Administrative Tools &amp;gt; Computer Management &amp;gt; Services and Applications &amp;gt; Internet Information Services (IIS) &amp;gt; Machine Name &amp;gt; Sites &amp;gt; Default Website:&lt;br /&gt;
&lt;br /&gt;
The first step is to create a virtual directory called neosys linked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
[[image:iis4.jpg]]&lt;br /&gt;
&lt;br /&gt;
Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data:&lt;br /&gt;
&lt;br /&gt;
[[image:iis5.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the IIS Default Web Site create a another virtual directory called neosys.w3c linked to D:\neosys\neosys.w3c (only if timesheets for mac is required):&lt;br /&gt;
&lt;br /&gt;
[[image:iis6.jpg]]&lt;br /&gt;
&lt;br /&gt;
To allow file uploads – create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
[[image:iis7.jpg]]&lt;br /&gt;
&lt;br /&gt;
After you add all virtual directories the tree map of the Default Website should look as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:iis8.jpg]]&lt;br /&gt;
&lt;br /&gt;
To configure file uploads besides adding the images directory, go under IIS &amp;gt; Default Website &amp;gt; neosys – click on Handler Mappings and delete the ISAPI you see there:&lt;br /&gt;
&lt;br /&gt;
[[image:iis9a.jpg]]&lt;br /&gt;
&lt;br /&gt;
Thereafter click on Add Script Map and fill in the details as follows – Request path: *.dll , Executable: D:\neosys\neosys.net\NEOSYS\dll\upload.dll , Name: ISAPI (once you click on OK click on YES to the confirmation box)&lt;br /&gt;
&lt;br /&gt;
[[image:iis9b.jpg]]&lt;br /&gt;
&lt;br /&gt;
Edit the hosts file under c:\windows\system32\drivers\etc\ - delete the # sign next to 127.0.0.1 localhost and incluide the # sign before ::1 localhost&lt;br /&gt;
&lt;br /&gt;
[[image:iis10.jpg]]&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Figure1.jpg&amp;diff=707</id>
		<title>File:Figure1.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Figure1.jpg&amp;diff=707"/>
		<updated>2011-06-25T09:46:49Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=706</id>
		<title>Configuring IIS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=706"/>
		<updated>2011-06-25T09:45:52Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Configuring IIS for windows 2003 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;After you have installed all the NEOSYS program files you need to configure IIS so that you can operate NEOSYS. Instructions are below.&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for windows 2003 ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039; first step is to create a virtual directory called neosys liked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NL1 Server:&#039;&#039;&#039; Create a website called &amp;quot;clientname&amp;quot; liked to D:\hosts\clientfolder\neosys.net &lt;br /&gt;
&lt;br /&gt;
[[Image:Figure1]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure2]]&lt;br /&gt;
&lt;br /&gt;
In that folder &amp;gt; neosys &amp;gt; dll – change the Execute Permission to Scripts &amp;amp; Executables&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure 3]] (not created as we need to do the installation)&lt;br /&gt;
&lt;br /&gt;
A new window will pop up &amp;quot;IP Address and Port Setting&amp;quot; after completion of the above step.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039;  select *(All Unassigned)* from the drop down list of &amp;quot;Enter the IP address to use for the Web site&amp;quot; and keep the default port as 80. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NL1 Server:&#039;&#039;&#039; Select the static Ip from the drop down list of &amp;quot;Enter the IP address to use for the Web site&amp;quot; and enter then next port available and click on next.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure4]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039; Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nl1 Server:&#039;&#039;&#039; Within the above clientwebsite folder create a virtual directory called data linked to D:\hosts\clientfolder\data:&lt;br /&gt;
&lt;br /&gt;
[[image:figure5]]&lt;br /&gt;
&lt;br /&gt;
(I haven’t got the screenshot because I can only get it once I create the above)&lt;br /&gt;
&lt;br /&gt;
To allow file uploads &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client server:&#039;&#039;&#039; create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nl1 Server:&#039;&#039;&#039; create a folder IMAGES under D:\hosts\clientfolder and within the client web site folder create a virtual directory called images linked to D:\hosts\clientfolder\images:&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for Windows 2008 ==&lt;br /&gt;
&lt;br /&gt;
==== Installing IIS ====&lt;br /&gt;
&lt;br /&gt;
First install IIS from Control Panel &amp;gt; Programs &amp;amp; Features &amp;gt; Turn Windows Features ON or OFF &amp;gt; Add Roles:&lt;br /&gt;
&lt;br /&gt;
[[image:iis1.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the window that pops up click on next and you will get this screen, tick Web Server (IIS) - on the prompt click on Add Required Resources and then on Next:&lt;br /&gt;
&lt;br /&gt;
[[image:iis2.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the next window, click on next until you get this window - tick ASP and ISAPI Extensions:&lt;br /&gt;
&lt;br /&gt;
[[image:iis3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on Next and Finish&lt;br /&gt;
&lt;br /&gt;
==== Configuring IIS ====&lt;br /&gt;
After successfully installing IIS, go to Control Panel &amp;gt; Administrative Tools &amp;gt; Computer Management &amp;gt; Services and Applications &amp;gt; Internet Information Services (IIS) &amp;gt; Machine Name &amp;gt; Sites &amp;gt; Default Website:&lt;br /&gt;
&lt;br /&gt;
The first step is to create a virtual directory called neosys linked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
[[image:iis4.jpg]]&lt;br /&gt;
&lt;br /&gt;
Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data:&lt;br /&gt;
&lt;br /&gt;
[[image:iis5.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the IIS Default Web Site create a another virtual directory called neosys.w3c linked to D:\neosys\neosys.w3c (only if timesheets for mac is required):&lt;br /&gt;
&lt;br /&gt;
[[image:iis6.jpg]]&lt;br /&gt;
&lt;br /&gt;
To allow file uploads – create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
[[image:iis7.jpg]]&lt;br /&gt;
&lt;br /&gt;
After you add all virtual directories the tree map of the Default Website should look as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:iis8.jpg]]&lt;br /&gt;
&lt;br /&gt;
To configure file uploads besides adding the images directory, go under IIS &amp;gt; Default Website &amp;gt; neosys – click on Handler Mappings and delete the ISAPI you see there:&lt;br /&gt;
&lt;br /&gt;
[[image:iis9a.jpg]]&lt;br /&gt;
&lt;br /&gt;
Thereafter click on Add Script Map and fill in the details as follows – Request path: *.dll , Executable: D:\neosys\neosys.net\NEOSYS\dll\upload.dll , Name: ISAPI (once you click on OK click on YES to the confirmation box)&lt;br /&gt;
&lt;br /&gt;
[[image:iis9b.jpg]]&lt;br /&gt;
&lt;br /&gt;
Edit the hosts file under c:\windows\system32\drivers\etc\ - delete the # sign next to 127.0.0.1 localhost and incluide the # sign before ::1 localhost&lt;br /&gt;
&lt;br /&gt;
[[image:iis10.jpg]]&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Figure_1.jpg&amp;diff=705</id>
		<title>File:Figure 1.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Figure_1.jpg&amp;diff=705"/>
		<updated>2011-06-25T09:43:22Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=704</id>
		<title>Configuring IIS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=704"/>
		<updated>2011-06-25T09:38:47Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;After you have installed all the NEOSYS program files you need to configure IIS so that you can operate NEOSYS. Instructions are below.&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for windows 2003 ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039; first step is to create a virtual directory called neosys liked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NL1 Server:&#039;&#039;&#039; Create a website called &amp;quot;clientname&amp;quot; liked to D:\hosts\clientfolder\neosys.net &lt;br /&gt;
&lt;br /&gt;
[[Image: Figure 1]]&lt;br /&gt;
&lt;br /&gt;
[[Image: Figure 2]]&lt;br /&gt;
&lt;br /&gt;
In that folder &amp;gt; neosys &amp;gt; dll – change the Execute Permission to Scripts &amp;amp; Executables&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure 3]] (not created as we need to do the installation)&lt;br /&gt;
&lt;br /&gt;
A new window will pop up &amp;quot;IP Address and Port Setting&amp;quot; after completion of the above step.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039;  select *(All Unassigned)* from the drop down list of &amp;quot;Enter the IP address to use for the Web site&amp;quot; and keep the default port as 80. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NL1 Server:&#039;&#039;&#039; Select the static Ip from the drop down list of &amp;quot;Enter the IP address to use for the Web site&amp;quot; and enter then next port available and click on next.&lt;br /&gt;
&lt;br /&gt;
[[Image: Figure 4]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039; Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nl1 Server:&#039;&#039;&#039; Within the above clientwebsite folder create a virtual directory called data linked to D:\hosts\clientfolder\data:&lt;br /&gt;
&lt;br /&gt;
[[image: Figure 5]]&lt;br /&gt;
&lt;br /&gt;
(I haven’t got the screenshot because I can only get it once I create the above)&lt;br /&gt;
&lt;br /&gt;
To allow file uploads &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client server:&#039;&#039;&#039; create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nl1 Server:&#039;&#039;&#039; create a folder IMAGES under D:\hosts\clientfolder and within the client web site folder create a virtual directory called images linked to D:\hosts\clientfolder\images:&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for Windows 2008 ==&lt;br /&gt;
&lt;br /&gt;
==== Installing IIS ====&lt;br /&gt;
&lt;br /&gt;
First install IIS from Control Panel &amp;gt; Programs &amp;amp; Features &amp;gt; Turn Windows Features ON or OFF &amp;gt; Add Roles:&lt;br /&gt;
&lt;br /&gt;
[[image:iis1.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the window that pops up click on next and you will get this screen, tick Web Server (IIS) - on the prompt click on Add Required Resources and then on Next:&lt;br /&gt;
&lt;br /&gt;
[[image:iis2.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the next window, click on next until you get this window - tick ASP and ISAPI Extensions:&lt;br /&gt;
&lt;br /&gt;
[[image:iis3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on Next and Finish&lt;br /&gt;
&lt;br /&gt;
==== Configuring IIS ====&lt;br /&gt;
After successfully installing IIS, go to Control Panel &amp;gt; Administrative Tools &amp;gt; Computer Management &amp;gt; Services and Applications &amp;gt; Internet Information Services (IIS) &amp;gt; Machine Name &amp;gt; Sites &amp;gt; Default Website:&lt;br /&gt;
&lt;br /&gt;
The first step is to create a virtual directory called neosys linked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
[[image:iis4.jpg]]&lt;br /&gt;
&lt;br /&gt;
Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data:&lt;br /&gt;
&lt;br /&gt;
[[image:iis5.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the IIS Default Web Site create a another virtual directory called neosys.w3c linked to D:\neosys\neosys.w3c (only if timesheets for mac is required):&lt;br /&gt;
&lt;br /&gt;
[[image:iis6.jpg]]&lt;br /&gt;
&lt;br /&gt;
To allow file uploads – create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
[[image:iis7.jpg]]&lt;br /&gt;
&lt;br /&gt;
After you add all virtual directories the tree map of the Default Website should look as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:iis8.jpg]]&lt;br /&gt;
&lt;br /&gt;
To configure file uploads besides adding the images directory, go under IIS &amp;gt; Default Website &amp;gt; neosys – click on Handler Mappings and delete the ISAPI you see there:&lt;br /&gt;
&lt;br /&gt;
[[image:iis9a.jpg]]&lt;br /&gt;
&lt;br /&gt;
Thereafter click on Add Script Map and fill in the details as follows – Request path: *.dll , Executable: D:\neosys\neosys.net\NEOSYS\dll\upload.dll , Name: ISAPI (once you click on OK click on YES to the confirmation box)&lt;br /&gt;
&lt;br /&gt;
[[image:iis9b.jpg]]&lt;br /&gt;
&lt;br /&gt;
Edit the hosts file under c:\windows\system32\drivers\etc\ - delete the # sign next to 127.0.0.1 localhost and incluide the # sign before ::1 localhost&lt;br /&gt;
&lt;br /&gt;
[[image:iis10.jpg]]&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=703</id>
		<title>Configuring IIS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=703"/>
		<updated>2011-06-23T17:05:28Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Configuring IIS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;After you have installed all the NEOSYS program files you need to configure IIS so that you can operate NEOSYS. Instructions are below.&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for Windows 2008 ==&lt;br /&gt;
&lt;br /&gt;
==== Installing IIS ====&lt;br /&gt;
&lt;br /&gt;
First install IIS from Control Panel &amp;gt; Programs &amp;amp; Features &amp;gt; Turn Windows Features ON or OFF &amp;gt; Add Roles:&lt;br /&gt;
&lt;br /&gt;
[[image:iis1.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the window that pops up click on next and you will get this screen, tick Web Server (IIS) - on the prompt click on Add Required Resources and then on Next:&lt;br /&gt;
&lt;br /&gt;
[[image:iis2.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the next window, click on next until you get this window - tick ASP and ISAPI Extensions:&lt;br /&gt;
&lt;br /&gt;
[[image:iis3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on Next and Finish&lt;br /&gt;
&lt;br /&gt;
==== Configuring IIS ====&lt;br /&gt;
After successfully installing IIS, go to Control Panel &amp;gt; Administrative Tools &amp;gt; Computer Management &amp;gt; Services and Applications &amp;gt; Internet Information Services (IIS) &amp;gt; Machine Name &amp;gt; Sites &amp;gt; Default Website:&lt;br /&gt;
&lt;br /&gt;
The first step is to create a virtual directory called neosys linked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
[[image:iis4.jpg]]&lt;br /&gt;
&lt;br /&gt;
Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data:&lt;br /&gt;
&lt;br /&gt;
[[image:iis5.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the IIS Default Web Site create a another virtual directory called neosys.w3c linked to D:\neosys\neosys.w3c (only if timesheets for mac is required):&lt;br /&gt;
&lt;br /&gt;
[[image:iis6.jpg]]&lt;br /&gt;
&lt;br /&gt;
To allow file uploads – create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
[[image:iis7.jpg]]&lt;br /&gt;
&lt;br /&gt;
After you add all virtual directories the tree map of the Default Website should look as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:iis8.jpg]]&lt;br /&gt;
&lt;br /&gt;
To configure file uploads besides adding the images directory, go under IIS &amp;gt; Default Website &amp;gt; neosys – click on Handler Mappings and delete the ISAPI you see there:&lt;br /&gt;
&lt;br /&gt;
[[image:iis9a.jpg]]&lt;br /&gt;
&lt;br /&gt;
Thereafter click on Add Script Map and fill in the details as follows – Request path: *.dll , Executable: D:\neosys\neosys.net\NEOSYS\dll\upload.dll , Name: ISAPI (once you click on OK click on YES to the confirmation box)&lt;br /&gt;
&lt;br /&gt;
[[image:iis9b.jpg]]&lt;br /&gt;
&lt;br /&gt;
Edit the hosts file under c:\windows\system32\drivers\etc\ - delete the # sign next to 127.0.0.1 localhost and incluide the # sign before ::1 localhost&lt;br /&gt;
&lt;br /&gt;
[[image:iis10.jpg]]&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=702</id>
		<title>Configuring IIS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=702"/>
		<updated>2011-06-23T17:01:52Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Configuring IIS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;After you have installed all the NEOSYS program files you need to configure IIS so that you can operate NEOSYS. Instructions are below.&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for Windows 2008 ==&lt;br /&gt;
&lt;br /&gt;
==== Installing IIS ====&lt;br /&gt;
&lt;br /&gt;
First install IIS from Control Panel &amp;gt; Programs &amp;amp; Features &amp;gt; Turn Windows Features ON or OFF &amp;gt; Add Roles:&lt;br /&gt;
&lt;br /&gt;
[[image:iis1.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the window that pops up click on next and you will get this screen, tick Web Server (IIS) - on the prompt click on Add Required Resources and then on Next:&lt;br /&gt;
&lt;br /&gt;
[[image:iis2.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the next window, click on next until you get this window - tick ASP and ISAPI Extensions:&lt;br /&gt;
&lt;br /&gt;
[[image:iis3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on Next and Finish&lt;br /&gt;
&lt;br /&gt;
==== Configuring IIS ====&lt;br /&gt;
After successfully installing IIS, go to Control Panel &amp;gt; Administrative Tools &amp;gt; Computer Management &amp;gt; Services and Applications &amp;gt; Internet Information Services (IIS) &amp;gt; Machine Name &amp;gt; Sites &amp;gt; Default Website:&lt;br /&gt;
&lt;br /&gt;
===== Windows 2008 server =====&lt;br /&gt;
The first step is to create a virtual directory called neosys linked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
[[image:iis4.jpg]]&lt;br /&gt;
&lt;br /&gt;
Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data:&lt;br /&gt;
&lt;br /&gt;
[[image:iis5.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the IIS Default Web Site create a another virtual directory called neosys.w3c linked to D:\neosys\neosys.w3c (only if timesheets for mac is required):&lt;br /&gt;
&lt;br /&gt;
[[image:iis6.jpg]]&lt;br /&gt;
&lt;br /&gt;
To allow file uploads – create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
[[image:iis7.jpg]]&lt;br /&gt;
&lt;br /&gt;
After you add all virtual directories the tree map of the Default Website should look as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:iis8.jpg]]&lt;br /&gt;
&lt;br /&gt;
To configure file uploads besides adding the images directory, go under IIS &amp;gt; Default Website &amp;gt; neosys – click on Handler Mappings and delete the ISAPI you see there:&lt;br /&gt;
&lt;br /&gt;
[[image:iis9a.jpg]]&lt;br /&gt;
&lt;br /&gt;
Thereafter click on Add Script Map and fill in the details as follows – Request path: *.dll , Executable: D:\neosys\neosys.net\NEOSYS\dll\upload.dll , Name: ISAPI (once you click on OK click on YES to the confirmation box)&lt;br /&gt;
&lt;br /&gt;
[[image:iis9b.jpg]]&lt;br /&gt;
&lt;br /&gt;
Edit the hosts file under c:\windows\system32\drivers\etc\ - delete the # sign next to 127.0.0.1 localhost and incluide the # sign before ::1 localhost&lt;br /&gt;
&lt;br /&gt;
[[image:iis10.jpg]]&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=701</id>
		<title>Configuring IIS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=701"/>
		<updated>2011-06-23T16:56:59Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Windows 2003 server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;After you have installed all the NEOSYS program files you need to configure IIS so that you can operate NEOSYS. Instructions are below.&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for Windows 2008 ==&lt;br /&gt;
&lt;br /&gt;
==== Installing IIS ====&lt;br /&gt;
&lt;br /&gt;
First install IIS from Control Panel &amp;gt; Programs &amp;amp; Features &amp;gt; Turn Windows Features ON or OFF &amp;gt; Add Roles:&lt;br /&gt;
&lt;br /&gt;
[[image:iis1.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the window that pops up click on next and you will get this screen, tick Web Server (IIS) - on the prompt click on Add Required Resources and then on Next:&lt;br /&gt;
&lt;br /&gt;
[[image:iis2.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the next window, click on next until you get this window - tick ASP and ISAPI Extensions:&lt;br /&gt;
&lt;br /&gt;
[[image:iis3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on Next and Finish&lt;br /&gt;
&lt;br /&gt;
==== Configuring IIS ====&lt;br /&gt;
After successfully installing IIS, go to Control Panel &amp;gt; Administrative Tools &amp;gt; Computer Management &amp;gt; Services and Applications &amp;gt; Internet Information Services (IIS) &amp;gt; Machine Name &amp;gt; Sites &amp;gt; Default Website:&lt;br /&gt;
&lt;br /&gt;
===== Windows 2003 server =====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039; first step is to create a virtual directory called neosys liked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NL1 Server:&#039;&#039;&#039; Create a website called &amp;quot;clientname&amp;quot; liked to D:\hosts\clientfolder\neosys.net &lt;br /&gt;
&lt;br /&gt;
[[Image: Figure 1]]&lt;br /&gt;
&lt;br /&gt;
[[Image: Figure 2]]&lt;br /&gt;
&lt;br /&gt;
In that folder &amp;gt; neosys &amp;gt; dll – change the Execute Permission to Scripts &amp;amp; Executables&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure 3]] (not created as we need to do the installation)&lt;br /&gt;
&lt;br /&gt;
A new window will pop up &amp;quot;IP Address and Port Setting&amp;quot; after completion of the above step.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039;  select *(All Unassigned)* from the drop down list of &amp;quot;Enter the IP address to use for the Web site&amp;quot; and keep the default port as 80. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NL1 Server:&#039;&#039;&#039; Select the static Ip from the drop down list of &amp;quot;Enter the IP address to use for the Web site&amp;quot; and enter then next port available and click on next.&lt;br /&gt;
&lt;br /&gt;
[[Image: Figure 4]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039; Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nl1 Server:&#039;&#039;&#039; Within the above clientwebsite folder create a virtual directory called data linked to D:\hosts\clientfolder\data:&lt;br /&gt;
&lt;br /&gt;
[[image: Figure 5]]&lt;br /&gt;
&lt;br /&gt;
(I haven’t got the screenshot because I can only get it once I create the above)&lt;br /&gt;
&lt;br /&gt;
To allow file uploads &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client server:&#039;&#039;&#039; create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nl1 Server:&#039;&#039;&#039; create a folder IMAGES under D:\hosts\clientfolder and within the client web site folder create a virtual directory called images linked to D:\hosts\clientfolder\images:&lt;br /&gt;
&lt;br /&gt;
===== Windows 2008 server =====&lt;br /&gt;
The first step is to create a virtual directory called neosys linked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
[[image:iis4.jpg]]&lt;br /&gt;
&lt;br /&gt;
Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data:&lt;br /&gt;
&lt;br /&gt;
[[image:iis5.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the IIS Default Web Site create a another virtual directory called neosys.w3c linked to D:\neosys\neosys.w3c (only if timesheets for mac is required):&lt;br /&gt;
&lt;br /&gt;
[[image:iis6.jpg]]&lt;br /&gt;
&lt;br /&gt;
To allow file uploads – create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
[[image:iis7.jpg]]&lt;br /&gt;
&lt;br /&gt;
After you add all virtual directories the tree map of the Default Website should look as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:iis8.jpg]]&lt;br /&gt;
&lt;br /&gt;
To configure file uploads besides adding the images directory, go under IIS &amp;gt; Default Website &amp;gt; neosys – click on Handler Mappings and delete the ISAPI you see there:&lt;br /&gt;
&lt;br /&gt;
[[image:iis9a.jpg]]&lt;br /&gt;
&lt;br /&gt;
Thereafter click on Add Script Map and fill in the details as follows – Request path: *.dll , Executable: D:\neosys\neosys.net\NEOSYS\dll\upload.dll , Name: ISAPI (once you click on OK click on YES to the confirmation box)&lt;br /&gt;
&lt;br /&gt;
[[image:iis9b.jpg]]&lt;br /&gt;
&lt;br /&gt;
Edit the hosts file under c:\windows\system32\drivers\etc\ - delete the # sign next to 127.0.0.1 localhost and incluide the # sign before ::1 localhost&lt;br /&gt;
&lt;br /&gt;
[[image:iis10.jpg]]&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=700</id>
		<title>Configuring IIS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=700"/>
		<updated>2011-06-23T16:56:02Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;After you have installed all the NEOSYS program files you need to configure IIS so that you can operate NEOSYS. Instructions are below.&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for Windows 2008 ==&lt;br /&gt;
&lt;br /&gt;
==== Installing IIS ====&lt;br /&gt;
&lt;br /&gt;
First install IIS from Control Panel &amp;gt; Programs &amp;amp; Features &amp;gt; Turn Windows Features ON or OFF &amp;gt; Add Roles:&lt;br /&gt;
&lt;br /&gt;
[[image:iis1.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the window that pops up click on next and you will get this screen, tick Web Server (IIS) - on the prompt click on Add Required Resources and then on Next:&lt;br /&gt;
&lt;br /&gt;
[[image:iis2.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the next window, click on next until you get this window - tick ASP and ISAPI Extensions:&lt;br /&gt;
&lt;br /&gt;
[[image:iis3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on Next and Finish&lt;br /&gt;
&lt;br /&gt;
==== Configuring IIS ====&lt;br /&gt;
After successfully installing IIS, go to Control Panel &amp;gt; Administrative Tools &amp;gt; Computer Management &amp;gt; Services and Applications &amp;gt; Internet Information Services (IIS) &amp;gt; Machine Name &amp;gt; Sites &amp;gt; Default Website:&lt;br /&gt;
&lt;br /&gt;
===== Windows 2003 server =====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039; first step is to create a virtual directory called neosys liked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NL1 Server:&#039;&#039;&#039; Create a website called &amp;quot;clientname&amp;quot; liked to D:\hosts\clientfolder\neosys.net &lt;br /&gt;
&lt;br /&gt;
[[Image: Figure 1]]&lt;br /&gt;
&lt;br /&gt;
[[Image: Figure 2]]&lt;br /&gt;
&lt;br /&gt;
In that folder &amp;gt; neosys &amp;gt; dll – change the Execute Permission to Scripts &amp;amp; Executables&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure 3]] (not created as we need to do the installation)&lt;br /&gt;
&lt;br /&gt;
A new window will pop up &amp;quot;IP Address and Port Setting&amp;quot; after completion of the above step.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039;  select *(All Unassigned)* from the drop down list of &amp;quot;Enter the IP address to use for the Web site&amp;quot; and keep the default port as 80. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NL1 Server:&#039;&#039;&#039; Select the static Ip from the drop down list of &amp;quot;Enter the IP address to use for the Web site&amp;quot; and enter then next port available and click on next.&lt;br /&gt;
&lt;br /&gt;
[[Image: Figure 4]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Client Server:&#039;&#039;&#039; Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nl1 Server:&#039;&#039;&#039; Within the above clientwebsite folder create a virtual directory called data linked to D:\hosts\clientfolder\data:&lt;br /&gt;
&lt;br /&gt;
[[image: Figure 5]]&lt;br /&gt;
&lt;br /&gt;
(I haven’t got the screenshot because I can only get it once I create the above)&lt;br /&gt;
&lt;br /&gt;
To allow file uploads &lt;br /&gt;
&#039;&#039;&#039;Client server:&#039;&#039;&#039; create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nl1 Server:&#039;&#039;&#039; create a folder IMAGES under D:\hosts\clientfolder and within the client web site folder create a virtual directory called images linked to D:\hosts\clientfolder\images:&lt;br /&gt;
&lt;br /&gt;
===== Windows 2008 server =====&lt;br /&gt;
The first step is to create a virtual directory called neosys linked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
[[image:iis4.jpg]]&lt;br /&gt;
&lt;br /&gt;
Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data:&lt;br /&gt;
&lt;br /&gt;
[[image:iis5.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the IIS Default Web Site create a another virtual directory called neosys.w3c linked to D:\neosys\neosys.w3c (only if timesheets for mac is required):&lt;br /&gt;
&lt;br /&gt;
[[image:iis6.jpg]]&lt;br /&gt;
&lt;br /&gt;
To allow file uploads – create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
[[image:iis7.jpg]]&lt;br /&gt;
&lt;br /&gt;
After you add all virtual directories the tree map of the Default Website should look as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:iis8.jpg]]&lt;br /&gt;
&lt;br /&gt;
To configure file uploads besides adding the images directory, go under IIS &amp;gt; Default Website &amp;gt; neosys – click on Handler Mappings and delete the ISAPI you see there:&lt;br /&gt;
&lt;br /&gt;
[[image:iis9a.jpg]]&lt;br /&gt;
&lt;br /&gt;
Thereafter click on Add Script Map and fill in the details as follows – Request path: *.dll , Executable: D:\neosys\neosys.net\NEOSYS\dll\upload.dll , Name: ISAPI (once you click on OK click on YES to the confirmation box)&lt;br /&gt;
&lt;br /&gt;
[[image:iis9b.jpg]]&lt;br /&gt;
&lt;br /&gt;
Edit the hosts file under c:\windows\system32\drivers\etc\ - delete the # sign next to 127.0.0.1 localhost and incluide the # sign before ::1 localhost&lt;br /&gt;
&lt;br /&gt;
[[image:iis10.jpg]]&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=696</id>
		<title>Installing NEOSYS Service</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=696"/>
		<updated>2011-06-23T14:22:57Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Installing initial Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= INSTALLING NEOSYS SERVICE =&lt;br /&gt;
&lt;br /&gt;
Reference to X:\ in the notes below denotes the actual drive letter and needs to be replaced (eg D:\)&lt;br /&gt;
&lt;br /&gt;
== Main installation: ==&lt;br /&gt;
&lt;br /&gt;
 Make sure NOT TO COPY an existing NEOSYS installation to another location and ONLY do a &lt;br /&gt;
 completely new install with a fresh database, because copying a folder will copy a variety of &lt;br /&gt;
 hidden configurations. &lt;br /&gt;
&lt;br /&gt;
=== Installing NEOSYS on partitions ===&lt;br /&gt;
Good server management practice is to have separate partitions for operating system (C:) and data partitions (D:)&lt;br /&gt;
 &lt;br /&gt;
In the case of operating system reinstallation (which causes the loss of the C: partition) if NEOSYS programs and data were installed on D: can be preserved. If there is only one partition then NEOSYS programs and data will have to be backed up and restored.&lt;br /&gt;
&lt;br /&gt;
==== Multiple Partitions ====&lt;br /&gt;
NEOSYS should be installed on a different partition rather than the C drive for reasons already explained above (eg. D drive)&lt;br /&gt;
&lt;br /&gt;
==== Single Partition ====&lt;br /&gt;
If there is only one partition then you have to inform the client to take the effort to reinstall the operating system or using third party repartitioning tools to create separate partitions.&lt;br /&gt;
 &lt;br /&gt;
=== Downloading and running installation files ===&lt;br /&gt;
# http://www.neosys.com/support/neosys.exe	... and unzip/install to X:\neosys (or to X:\hosts\clientcd for multi-installation on one server)&lt;br /&gt;
# http://www.neosys.com/support/neosys2.exe	... and install same as previous step.&lt;br /&gt;
&lt;br /&gt;
=== Creating shortcuts ===&lt;br /&gt;
In x:\neosys (or x:\hosts\clientcd), make a shortcut called ‘Maintenance’ and link it to&lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\adagency.bat (for Adagency install)&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\accounts.bat (for Accounts install)&lt;br /&gt;
&lt;br /&gt;
=== Activating NEOSYS using authorization number ===&lt;br /&gt;
&lt;br /&gt;
Start NEOSYS Maintenance, select Initial Backup and it will give a “Computer Number” and ask for an “Authorisation No”&lt;br /&gt;
&lt;br /&gt;
Send the computer number to NEOSYS admin to get the authorization no.&lt;br /&gt;
&lt;br /&gt;
If you cannot get the authorization number immediately then you can close NEOSYS and when you reopen NEOSYS it will still give the same computer number and accept the same authorization number.&lt;br /&gt;
&lt;br /&gt;
=== Installing initial Database ===&lt;br /&gt;
&lt;br /&gt;
Download the initial database file from http://www.neosys.com/support/BACKUP.ZIP and place it in D drive (or any other drive) - but make sure that this file exists in the root folder i.e. D:\BACKUP.ZIP&lt;br /&gt;
&lt;br /&gt;
Follow the steps below:&lt;br /&gt;
#Click on the Maintenance icon.&lt;br /&gt;
#Select BASIC DATA SET and type in the NEOSYS username and password. (If the system does not prompt for a username and password,then go to Quit &amp;gt; Quit to next user and type the same in. If you do not enter with a username and password then NEOSYS will not allow you to restore the database). The first time when you enter maintenance you will get a command box (like when you do F5). If you do not get a command box, hit the F5 key and get it on the screen and hit ESC after you get it. &lt;br /&gt;
#Now restore the BACKUP.ZIP (STARTUP DATABASE), to do so go to General &amp;gt; Backup &amp;amp; Data Management, select (the 4th option) Restore from disk or diskette. select D drive (or whichever drive you put the backup.zip file in) and follow the prompts ahead.&lt;br /&gt;
#On every successful restore or creation of dataset, system will give you a message to swithh to new database always &#039;&#039;&#039;say NO&#039;&#039;&#039; to this,because the switch to database option brings you back to the BASIC DATA SET. Hence press the ESC button, type EXIT on the F5 prompt.&lt;br /&gt;
#Now startup maintenance again and you will find a new database &amp;quot;STARTUP DATABASE&amp;quot; select it and login with NEOSYS username and password. Once you enter you may find a prompt &amp;quot;TASK ADDED&amp;quot; follow the prompt and continue.&lt;br /&gt;
#After you have logged in, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Delete a dataset and select the &amp;quot;BASIC DATASET&amp;quot; to delete, to confirm the delete system will ask you to enter the dataset code. Enter the code and delete the basis dataset.&lt;br /&gt;
#Now create a new dataset for the client, go to general &amp;gt; Backup &amp;amp; Data management&amp;gt; Create a new dataset, select (6th option) and follow the instruction on how to setup database code from the following link &amp;quot;http://techwiki.neosys.com/index.php/Installing_NEOSYS_Service#Assigning_database_codes&amp;quot;&lt;br /&gt;
#Once the client dataset is created,login to the clientdataset and follow the steps in above point6 and delete the STARTUP DATABASE. (while logging in to the client dataset, it ask &amp;quot; This database hsa been copied or the database name or code has been changed. Is this going to be a unique new master database?&amp;quot; select first option YES - Going to be a new independent database.&lt;br /&gt;
#To check the list of dataset on the computer, go to go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; See a list of dataset in the computer(8th option).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
#Sometimes it may tell you that you cannot use FILEMAN as you are logged in as MASTER. Hence you need to hit the ESC key, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Restore from disk or diskette, select C drive or whichever drive you put the backup.zip file in and follow the prompts ahead.&lt;br /&gt;
#While doing the step no.2 if you get a message as below just hit enter or space and continue.&lt;br /&gt;
&lt;br /&gt;
[[File:Message while installing.jpg]]&lt;br /&gt;
&lt;br /&gt;
==== Assigning database codes ====&lt;br /&gt;
It is necessary to make sure that the following guidelines are met while creating database codes:&lt;br /&gt;
&lt;br /&gt;
#The code should be within 8 letters&lt;br /&gt;
#The client should be as recognisable as possible from the main database code&lt;br /&gt;
#The test database code should end with the TEST word and it is not necessary that it must be recognisable&lt;br /&gt;
#The test database code should always appear after the main database code at login&lt;br /&gt;
&lt;br /&gt;
Examples of wrong and right database codes:&lt;br /&gt;
&lt;br /&gt;
 ALTO VISTA ADVERTISING&lt;br /&gt;
 ALTOVIST and XALTTEST - right      AVISTA and AVTEST - wrong   (AVISTA not &amp;quot;as recognisable as possible&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 CONTEXTURE ASSOCIATES&lt;br /&gt;
 CONTEXT and XCONTEST - right       CONTEXT and CONTEST - wrong (CONTEST alphabetically first in the login screen database drop down)&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to start NEOSYS Service: ===&lt;br /&gt;
(Note: change x to the correct drive you have installed NEOSYS on)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start MAIN-DATABASE-CODE.cmd (eg start ALTOVIST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt; is the code of the database)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start TEST-DATABASE-CODE.cmd (eg start AVTEST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt; is the code of the testdatabase)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
TEST THAT THE FILES YOU HAVE CREATED CAN RUN SUCCESSFULLY&lt;br /&gt;
&lt;br /&gt;
ENSURE THAT YOU DO NOT CLOSE THE PROCESS WINDOWS BY USING THE X BUTTON. HIT ESC 3 TIMES ON EACH WINDOW.&lt;br /&gt;
&lt;br /&gt;
=== Differences for Pure Accounts Module Only Installations ===&lt;br /&gt;
Accounts module only has a slightly different startup command. In the above, replace &#039;&#039;&#039;/system adagency&#039;&#039;&#039; with &#039;&#039;&#039;/system accounts&#039;&#039;&#039; to startup a service and use &#039;&#039;&#039;accounts.bat&#039;&#039;&#039; instead of &#039;&#039;&#039;adagency.bat&#039;&#039;&#039; to start up maintenance. Other than that, accounts module setup is identical. Pure accounts clients are very few and tend not to upgrade often so care needs to be taken when upgrading. Upgrade is perhaps surprisingly done using the adagency.exe file.&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to copy maindata to testdata ===&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file &amp;lt;B&amp;gt;copy MAINDATABASECODE to TESTDABASECODE.cmd&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 xcopy x:\neosys\data\&amp;lt;i&amp;gt;maindatabasecode&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;testdatabasecode&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
 eg. xcopy c:\neosys\data\&amp;lt;i&amp;gt;ALTOVIST&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;AVTEST&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
Run this file to test that it works fine.&lt;br /&gt;
&lt;br /&gt;
=== Setting up daily scheduled tasks ===&lt;br /&gt;
&amp;lt;b&amp;gt;Automatic Schedules:&amp;lt;/b&amp;gt;&lt;br /&gt;
NEOSYS automatically shuts down at 1am (was 2am) every morning for backup. It closes all the running processes and backups up to the selected drive.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Manually Configured Schedules:&amp;lt;/b&amp;gt; to be done under Scheduled Tasks&lt;br /&gt;
&lt;br /&gt;
Note: Under Windows 2008 Standard you need to UNTICK highest privileges and UNTICK run whether user is logged in or not as shown in the screen shots that follow:&lt;br /&gt;
&lt;br /&gt;
1. Create a task to start one Main database process at 6:00 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:start1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Create a second task to Copy Maindata to Testdata at 2:45 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:copy1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(For multiple sites on the same computer put the second site starting five minutes later at 6:05am, third site starting five minutes earlier at 5:55am, the third site starting five minutes later at 6:10am and so on.)&lt;br /&gt;
&lt;br /&gt;
Once created, test them to see that they are working correctly by running them directly using right click- Run.&lt;br /&gt;
&lt;br /&gt;
[[File:task1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Use web access and go to Support Menu, System Configuration File to request 3 processes for main database and 1 for test database).&lt;br /&gt;
&lt;br /&gt;
Please note that test running “copy test data” should be avoided while users are online but there is no problem testing the “daily 6am startup task” at any time since it will just add an additional process.&lt;br /&gt;
&lt;br /&gt;
=== Configuring NEOSYS to start automatically on server start-up / reboot ===&lt;br /&gt;
We no longer configure NEOSYS processes to start on reboot as we would like to know of the failures at the client side and hence whenever the server reboots we expect the client to inform us and we will start the process - or NEOSYS will start automatically next day at 6 am&lt;br /&gt;
&lt;br /&gt;
Unfortunately using this method the NEOSYS processes are not visible when you login as a user. &lt;br /&gt;
&lt;br /&gt;
[[Image:win_sch_task.jpg]]&lt;br /&gt;
&lt;br /&gt;
Schedule a task to run the main database file whenever the computer starts. In Windows 2008 you need to tick the options - Run whether user logged in or not and Run with highest privilege.&lt;br /&gt;
&lt;br /&gt;
Additional in Windows 2008: Tick Highest Priviledges and Run whether user logged in or not&lt;br /&gt;
&lt;br /&gt;
== Installing and upgrading NEOSYS pure accounting systems ==&lt;br /&gt;
&lt;br /&gt;
Basic installation using NEOSYS.EXE and upgrades using NEOSYS2.EXE are identical to the normal adagency installation process.&lt;br /&gt;
&lt;br /&gt;
Differences are as follows:&lt;br /&gt;
&lt;br /&gt;
# Maintenance shortcut to ACCOUNTS.BAT&lt;br /&gt;
# Process startup file contains &amp;quot;/system ACCOUNTS&amp;quot; instead of &amp;quot;/system ADAGENCY&amp;quot;&lt;br /&gt;
# Internet address is http://server/neosys/accounts.htm although it auto converts to http://server/neosys/default.htm??ACCOUNTS. Although not to be relied upon, the login page stores a cookie so even plain http://server/neosys or http://server/neosys/default.htm works thereafter until the cookie is lost. To get back to adagency login you use http://server/neosys/default.htm??ADAGENCY&lt;br /&gt;
# BACKUP.ZIP files created by ADAGENCY systems and ACCOUNTS systems are slightly incompatible with the result that restoring one in the other type of system will not work. NEOSYS programmers can convert from one type to the other but it is almost never required since any ad agency that only requires accounts only module is given the adagency version of NEOSYS and accounting only clients becoming ad agencies never happened.&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=695</id>
		<title>Installing NEOSYS Service</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=695"/>
		<updated>2011-06-23T14:12:48Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Installing initial Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= INSTALLING NEOSYS SERVICE =&lt;br /&gt;
&lt;br /&gt;
Reference to X:\ in the notes below denotes the actual drive letter and needs to be replaced (eg D:\)&lt;br /&gt;
&lt;br /&gt;
== Main installation: ==&lt;br /&gt;
&lt;br /&gt;
 Make sure NOT TO COPY an existing NEOSYS installation to another location and ONLY do a &lt;br /&gt;
 completely new install with a fresh database, because copying a folder will copy a variety of &lt;br /&gt;
 hidden configurations. &lt;br /&gt;
&lt;br /&gt;
=== Installing NEOSYS on partitions ===&lt;br /&gt;
Good server management practice is to have separate partitions for operating system (C:) and data partitions (D:)&lt;br /&gt;
 &lt;br /&gt;
In the case of operating system reinstallation (which causes the loss of the C: partition) if NEOSYS programs and data were installed on D: can be preserved. If there is only one partition then NEOSYS programs and data will have to be backed up and restored.&lt;br /&gt;
&lt;br /&gt;
==== Multiple Partitions ====&lt;br /&gt;
NEOSYS should be installed on a different partition rather than the C drive for reasons already explained above (eg. D drive)&lt;br /&gt;
&lt;br /&gt;
==== Single Partition ====&lt;br /&gt;
If there is only one partition then you have to inform the client to take the effort to reinstall the operating system or using third party repartitioning tools to create separate partitions.&lt;br /&gt;
 &lt;br /&gt;
=== Downloading and running installation files ===&lt;br /&gt;
# http://www.neosys.com/support/neosys.exe	... and unzip/install to X:\neosys (or to X:\hosts\clientcd for multi-installation on one server)&lt;br /&gt;
# http://www.neosys.com/support/neosys2.exe	... and install same as previous step.&lt;br /&gt;
&lt;br /&gt;
=== Creating shortcuts ===&lt;br /&gt;
In x:\neosys (or x:\hosts\clientcd), make a shortcut called ‘Maintenance’ and link it to&lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\adagency.bat (for Adagency install)&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\accounts.bat (for Accounts install)&lt;br /&gt;
&lt;br /&gt;
=== Activating NEOSYS using authorization number ===&lt;br /&gt;
&lt;br /&gt;
Start NEOSYS Maintenance, select Initial Backup and it will give a “Computer Number” and ask for an “Authorisation No”&lt;br /&gt;
&lt;br /&gt;
Send the computer number to NEOSYS admin to get the authorization no.&lt;br /&gt;
&lt;br /&gt;
If you cannot get the authorization number immediately then you can close NEOSYS and when you reopen NEOSYS it will still give the same computer number and accept the same authorization number.&lt;br /&gt;
&lt;br /&gt;
=== Installing initial Database ===&lt;br /&gt;
&lt;br /&gt;
Download the initial database file from http://www.neosys.com/support/BACKUP.ZIP and place it in D drive (or any other drive) - but make sure that this file exists in the root folder i.e. D:\BACKUP.ZIP&lt;br /&gt;
&lt;br /&gt;
Follow the steps below:&lt;br /&gt;
#Click on the Maintenance icon.&lt;br /&gt;
#Select BASIC DATA SET and type in the NEOSYS username and password. (If the system does not prompt for a username and password,then go to Quit &amp;gt; Quit to next user and type the same in. If you do not enter with a username and password then NEOSYS will not allow you to restore the database). The first time when you enter maintenance you will get a command box (like when you do F5). If you do not get a command box, hit the F5 key and get it on the screen and hit ESC after you get it. &lt;br /&gt;
#Now restore the BACKUP.ZIP (STARTUP DATABASE), to do so go to General &amp;gt; Backup &amp;amp; Data Management, select (the 4th option) Restore from disk or diskette. select D drive (or whichever drive you put the backup.zip file in) and follow the prompts ahead.&lt;br /&gt;
#On every successful restore or creation of dataset, system will give you a message to swithh to new database always &#039;&#039;&#039;say NO&#039;&#039;&#039; to this,because the switch to database option brings you back to the BASIC DATA SET. Hence press the ESC button, type EXIT on the F5 prompt.&lt;br /&gt;
#Now startup maintenance again and you will find a new database &amp;quot;STARTUP DATABASE&amp;quot; select it and login with NEOSYS username and password. Once you enter you may find a prompt &amp;quot;TASK ADDED&amp;quot; follow the prompt and continue.&lt;br /&gt;
#After you have logged in, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Delete a dataset and select the &amp;quot;BASIC DATASET&amp;quot; to delete, to confirm the delete system will ask you to enter the dataset code. Enter the code and delete the basis dataset.&lt;br /&gt;
#Now create a new dataset for the client, go to general &amp;gt; Backup &amp;amp; Data management&amp;gt; Create a new dataset, select (6th option) and follow the instruction on how to setup database code from the following link &amp;quot;http://techwiki.neosys.com/index.php/Installing_NEOSYS_Service#Assigning_database_codes&amp;quot;&lt;br /&gt;
#Once the client dataset is created,login to the clientdataset and follow the steps in above point6 and delete the STARTUP DATABASE.&lt;br /&gt;
#To check the list of dataset on the computer, go to go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; See a list of dataset in the computer(8th option).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
#Sometimes it may tell you that you cannot use FILEMAN as you are logged in as MASTER. Hence you need to hit the ESC key, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Restore from disk or diskette, select C drive or whichever drive you put the backup.zip file in and follow the prompts ahead.&lt;br /&gt;
#While doing the step no.2 if you get a message as below just hit enter or space and continue.&lt;br /&gt;
&lt;br /&gt;
[[File:Message while installing.jpg]]&lt;br /&gt;
&lt;br /&gt;
==== Assigning database codes ====&lt;br /&gt;
It is necessary to make sure that the following guidelines are met while creating database codes:&lt;br /&gt;
&lt;br /&gt;
#The code should be within 8 letters&lt;br /&gt;
#The client should be as recognisable as possible from the main database code&lt;br /&gt;
#The test database code should end with the TEST word and it is not necessary that it must be recognisable&lt;br /&gt;
#The test database code should always appear after the main database code at login&lt;br /&gt;
&lt;br /&gt;
Examples of wrong and right database codes:&lt;br /&gt;
&lt;br /&gt;
 ALTO VISTA ADVERTISING&lt;br /&gt;
 ALTOVIST and XALTTEST - right      AVISTA and AVTEST - wrong   (AVISTA not &amp;quot;as recognisable as possible&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 CONTEXTURE ASSOCIATES&lt;br /&gt;
 CONTEXT and XCONTEST - right       CONTEXT and CONTEST - wrong (CONTEST alphabetically first in the login screen database drop down)&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to start NEOSYS Service: ===&lt;br /&gt;
(Note: change x to the correct drive you have installed NEOSYS on)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start MAIN-DATABASE-CODE.cmd (eg start ALTOVIST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt; is the code of the database)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start TEST-DATABASE-CODE.cmd (eg start AVTEST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt; is the code of the testdatabase)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
TEST THAT THE FILES YOU HAVE CREATED CAN RUN SUCCESSFULLY&lt;br /&gt;
&lt;br /&gt;
ENSURE THAT YOU DO NOT CLOSE THE PROCESS WINDOWS BY USING THE X BUTTON. HIT ESC 3 TIMES ON EACH WINDOW.&lt;br /&gt;
&lt;br /&gt;
=== Differences for Pure Accounts Module Only Installations ===&lt;br /&gt;
Accounts module only has a slightly different startup command. In the above, replace &#039;&#039;&#039;/system adagency&#039;&#039;&#039; with &#039;&#039;&#039;/system accounts&#039;&#039;&#039; to startup a service and use &#039;&#039;&#039;accounts.bat&#039;&#039;&#039; instead of &#039;&#039;&#039;adagency.bat&#039;&#039;&#039; to start up maintenance. Other than that, accounts module setup is identical. Pure accounts clients are very few and tend not to upgrade often so care needs to be taken when upgrading. Upgrade is perhaps surprisingly done using the adagency.exe file.&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to copy maindata to testdata ===&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file &amp;lt;B&amp;gt;copy MAINDATABASECODE to TESTDABASECODE.cmd&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 xcopy x:\neosys\data\&amp;lt;i&amp;gt;maindatabasecode&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;testdatabasecode&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
 eg. xcopy c:\neosys\data\&amp;lt;i&amp;gt;ALTOVIST&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;AVTEST&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
Run this file to test that it works fine.&lt;br /&gt;
&lt;br /&gt;
=== Setting up daily scheduled tasks ===&lt;br /&gt;
&amp;lt;b&amp;gt;Automatic Schedules:&amp;lt;/b&amp;gt;&lt;br /&gt;
NEOSYS automatically shuts down at 1am (was 2am) every morning for backup. It closes all the running processes and backups up to the selected drive.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Manually Configured Schedules:&amp;lt;/b&amp;gt; to be done under Scheduled Tasks&lt;br /&gt;
&lt;br /&gt;
Note: Under Windows 2008 Standard you need to UNTICK highest privileges and UNTICK run whether user is logged in or not as shown in the screen shots that follow:&lt;br /&gt;
&lt;br /&gt;
1. Create a task to start one Main database process at 6:00 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:start1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Create a second task to Copy Maindata to Testdata at 2:45 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:copy1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(For multiple sites on the same computer put the second site starting five minutes later at 6:05am, third site starting five minutes earlier at 5:55am, the third site starting five minutes later at 6:10am and so on.)&lt;br /&gt;
&lt;br /&gt;
Once created, test them to see that they are working correctly by running them directly using right click- Run.&lt;br /&gt;
&lt;br /&gt;
[[File:task1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Use web access and go to Support Menu, System Configuration File to request 3 processes for main database and 1 for test database).&lt;br /&gt;
&lt;br /&gt;
Please note that test running “copy test data” should be avoided while users are online but there is no problem testing the “daily 6am startup task” at any time since it will just add an additional process.&lt;br /&gt;
&lt;br /&gt;
=== Configuring NEOSYS to start automatically on server start-up / reboot ===&lt;br /&gt;
We no longer configure NEOSYS processes to start on reboot as we would like to know of the failures at the client side and hence whenever the server reboots we expect the client to inform us and we will start the process - or NEOSYS will start automatically next day at 6 am&lt;br /&gt;
&lt;br /&gt;
Unfortunately using this method the NEOSYS processes are not visible when you login as a user. &lt;br /&gt;
&lt;br /&gt;
[[Image:win_sch_task.jpg]]&lt;br /&gt;
&lt;br /&gt;
Schedule a task to run the main database file whenever the computer starts. In Windows 2008 you need to tick the options - Run whether user logged in or not and Run with highest privilege.&lt;br /&gt;
&lt;br /&gt;
Additional in Windows 2008: Tick Highest Priviledges and Run whether user logged in or not&lt;br /&gt;
&lt;br /&gt;
== Installing and upgrading NEOSYS pure accounting systems ==&lt;br /&gt;
&lt;br /&gt;
Basic installation using NEOSYS.EXE and upgrades using NEOSYS2.EXE are identical to the normal adagency installation process.&lt;br /&gt;
&lt;br /&gt;
Differences are as follows:&lt;br /&gt;
&lt;br /&gt;
# Maintenance shortcut to ACCOUNTS.BAT&lt;br /&gt;
# Process startup file contains &amp;quot;/system ACCOUNTS&amp;quot; instead of &amp;quot;/system ADAGENCY&amp;quot;&lt;br /&gt;
# Internet address is http://server/neosys/accounts.htm although it auto converts to http://server/neosys/default.htm??ACCOUNTS. Although not to be relied upon, the login page stores a cookie so even plain http://server/neosys or http://server/neosys/default.htm works thereafter until the cookie is lost. To get back to adagency login you use http://server/neosys/default.htm??ADAGENCY&lt;br /&gt;
# BACKUP.ZIP files created by ADAGENCY systems and ACCOUNTS systems are slightly incompatible with the result that restoring one in the other type of system will not work. NEOSYS programmers can convert from one type to the other but it is almost never required since any ad agency that only requires accounts only module is given the adagency version of NEOSYS and accounting only clients becoming ad agencies never happened.&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=694</id>
		<title>Installing NEOSYS Service</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=694"/>
		<updated>2011-06-23T14:02:13Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Installing initial Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= INSTALLING NEOSYS SERVICE =&lt;br /&gt;
&lt;br /&gt;
Reference to X:\ in the notes below denotes the actual drive letter and needs to be replaced (eg D:\)&lt;br /&gt;
&lt;br /&gt;
== Main installation: ==&lt;br /&gt;
&lt;br /&gt;
 Make sure NOT TO COPY an existing NEOSYS installation to another location and ONLY do a &lt;br /&gt;
 completely new install with a fresh database, because copying a folder will copy a variety of &lt;br /&gt;
 hidden configurations. &lt;br /&gt;
&lt;br /&gt;
=== Installing NEOSYS on partitions ===&lt;br /&gt;
Good server management practice is to have separate partitions for operating system (C:) and data partitions (D:)&lt;br /&gt;
 &lt;br /&gt;
In the case of operating system reinstallation (which causes the loss of the C: partition) if NEOSYS programs and data were installed on D: can be preserved. If there is only one partition then NEOSYS programs and data will have to be backed up and restored.&lt;br /&gt;
&lt;br /&gt;
==== Multiple Partitions ====&lt;br /&gt;
NEOSYS should be installed on a different partition rather than the C drive for reasons already explained above (eg. D drive)&lt;br /&gt;
&lt;br /&gt;
==== Single Partition ====&lt;br /&gt;
If there is only one partition then you have to inform the client to take the effort to reinstall the operating system or using third party repartitioning tools to create separate partitions.&lt;br /&gt;
 &lt;br /&gt;
=== Downloading and running installation files ===&lt;br /&gt;
# http://www.neosys.com/support/neosys.exe	... and unzip/install to X:\neosys (or to X:\hosts\clientcd for multi-installation on one server)&lt;br /&gt;
# http://www.neosys.com/support/neosys2.exe	... and install same as previous step.&lt;br /&gt;
&lt;br /&gt;
=== Creating shortcuts ===&lt;br /&gt;
In x:\neosys (or x:\hosts\clientcd), make a shortcut called ‘Maintenance’ and link it to&lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\adagency.bat (for Adagency install)&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\accounts.bat (for Accounts install)&lt;br /&gt;
&lt;br /&gt;
=== Activating NEOSYS using authorization number ===&lt;br /&gt;
&lt;br /&gt;
Start NEOSYS Maintenance, select Initial Backup and it will give a “Computer Number” and ask for an “Authorisation No”&lt;br /&gt;
&lt;br /&gt;
Send the computer number to NEOSYS admin to get the authorization no.&lt;br /&gt;
&lt;br /&gt;
If you cannot get the authorization number immediately then you can close NEOSYS and when you reopen NEOSYS it will still give the same computer number and accept the same authorization number.&lt;br /&gt;
&lt;br /&gt;
=== Installing initial Database ===&lt;br /&gt;
&lt;br /&gt;
Download the initial database file from http://www.neosys.com/support/BACKUP.ZIP and place it in D drive (or any other drive) - but make sure that this file exists in the root folder i.e. D:\BACKUP.ZIP&lt;br /&gt;
&lt;br /&gt;
Follow the steps below:&lt;br /&gt;
#Click on the Maintenance icon.&lt;br /&gt;
#Select BASIC DATA SET and type in the NEOSYS username and password. (If the system does not prompt for a username and password,then go to Quit &amp;gt; Quit to next user and type the same in. If you do not enter with a username and password then NEOSYS will not allow you to restore the database). The first time when you enter maintenance you will get a command box (like when you do F5). If you do not get a command box, hit the F5 key and get it on the screen and hit ESC after you get it. &lt;br /&gt;
#Now restore the BACKUP.ZIP (STARTUP DATABASE), to do so go to General &amp;gt; Backup &amp;amp; Data Management, select (the 4th option) Restore from disk or diskette. select D drive (or whichever drive you put the backup.zip file in) and follow the prompts ahead.&lt;br /&gt;
#After you have restored the BACKUP.ZIP file, it will ask you to switch to this database &#039;&#039;&#039;say NO&#039;&#039;&#039;,  because the switch to database option brings you back to the BASIC DATA SET. Hence press the ESC button, type EXIT on the F5 prompt.&lt;br /&gt;
#Now startup maintenance again and you will find a new database &amp;quot;STARTUP DATABASE&amp;quot; select it and login with NEOSYS username and password. Once you enter you may find a prompt &amp;quot;TASK ADDED&amp;quot; follow the prompt and continue.&lt;br /&gt;
#After you have logged in, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Delete a dataset and select the &amp;quot;BASIC DATASET&amp;quot; to delete, to confirm the delete system will ask you to enter the dataset code. Enter the code and delete the basis dataset.&lt;br /&gt;
#Now create a new dataset for the client, go to general &amp;gt; Backup &amp;amp; Data management&amp;gt; Create a new dataset, select (6th option) and follow the instruction on how to setup database code from the following link &amp;quot;http://techwiki.neosys.com/index.php/Installing_NEOSYS_Service#Assigning_database_codes&amp;quot;&lt;br /&gt;
#Once the client dataset is created,login to the clientdataset and follow the steps in above point6 and delete the STARTUP DATABASE.&lt;br /&gt;
#To check the list of dataset on the computer, go to go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; See a list of dataset in the computer(8th option).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
#Sometimes it may tell you that you cannot use FILEMAN as you are logged in as MASTER. Hence you need to hit the ESC key, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Restore from disk or diskette, select C drive or whichever drive you put the backup.zip file in and follow the prompts ahead.&lt;br /&gt;
#While doing the step no.2 if you get a message as below just hit enter or space and continue.&lt;br /&gt;
&lt;br /&gt;
[[File:Message while installing.jpg]]&lt;br /&gt;
&lt;br /&gt;
==== Assigning database codes ====&lt;br /&gt;
It is necessary to make sure that the following guidelines are met while creating database codes:&lt;br /&gt;
&lt;br /&gt;
#The code should be within 8 letters&lt;br /&gt;
#The client should be as recognisable as possible from the main database code&lt;br /&gt;
#The test database code should end with the TEST word and it is not necessary that it must be recognisable&lt;br /&gt;
#The test database code should always appear after the main database code at login&lt;br /&gt;
&lt;br /&gt;
Examples of wrong and right database codes:&lt;br /&gt;
&lt;br /&gt;
 ALTO VISTA ADVERTISING&lt;br /&gt;
 ALTOVIST and XALTTEST - right      AVISTA and AVTEST - wrong   (AVISTA not &amp;quot;as recognisable as possible&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 CONTEXTURE ASSOCIATES&lt;br /&gt;
 CONTEXT and XCONTEST - right       CONTEXT and CONTEST - wrong (CONTEST alphabetically first in the login screen database drop down)&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to start NEOSYS Service: ===&lt;br /&gt;
(Note: change x to the correct drive you have installed NEOSYS on)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start MAIN-DATABASE-CODE.cmd (eg start ALTOVIST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt; is the code of the database)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start TEST-DATABASE-CODE.cmd (eg start AVTEST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt; is the code of the testdatabase)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
TEST THAT THE FILES YOU HAVE CREATED CAN RUN SUCCESSFULLY&lt;br /&gt;
&lt;br /&gt;
ENSURE THAT YOU DO NOT CLOSE THE PROCESS WINDOWS BY USING THE X BUTTON. HIT ESC 3 TIMES ON EACH WINDOW.&lt;br /&gt;
&lt;br /&gt;
=== Differences for Pure Accounts Module Only Installations ===&lt;br /&gt;
Accounts module only has a slightly different startup command. In the above, replace &#039;&#039;&#039;/system adagency&#039;&#039;&#039; with &#039;&#039;&#039;/system accounts&#039;&#039;&#039; to startup a service and use &#039;&#039;&#039;accounts.bat&#039;&#039;&#039; instead of &#039;&#039;&#039;adagency.bat&#039;&#039;&#039; to start up maintenance. Other than that, accounts module setup is identical. Pure accounts clients are very few and tend not to upgrade often so care needs to be taken when upgrading. Upgrade is perhaps surprisingly done using the adagency.exe file.&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to copy maindata to testdata ===&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file &amp;lt;B&amp;gt;copy MAINDATABASECODE to TESTDABASECODE.cmd&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 xcopy x:\neosys\data\&amp;lt;i&amp;gt;maindatabasecode&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;testdatabasecode&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
 eg. xcopy c:\neosys\data\&amp;lt;i&amp;gt;ALTOVIST&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;AVTEST&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
Run this file to test that it works fine.&lt;br /&gt;
&lt;br /&gt;
=== Setting up daily scheduled tasks ===&lt;br /&gt;
&amp;lt;b&amp;gt;Automatic Schedules:&amp;lt;/b&amp;gt;&lt;br /&gt;
NEOSYS automatically shuts down at 1am (was 2am) every morning for backup. It closes all the running processes and backups up to the selected drive.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Manually Configured Schedules:&amp;lt;/b&amp;gt; to be done under Scheduled Tasks&lt;br /&gt;
&lt;br /&gt;
Note: Under Windows 2008 Standard you need to UNTICK highest privileges and UNTICK run whether user is logged in or not as shown in the screen shots that follow:&lt;br /&gt;
&lt;br /&gt;
1. Create a task to start one Main database process at 6:00 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:start1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Create a second task to Copy Maindata to Testdata at 2:45 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:copy1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(For multiple sites on the same computer put the second site starting five minutes later at 6:05am, third site starting five minutes earlier at 5:55am, the third site starting five minutes later at 6:10am and so on.)&lt;br /&gt;
&lt;br /&gt;
Once created, test them to see that they are working correctly by running them directly using right click- Run.&lt;br /&gt;
&lt;br /&gt;
[[File:task1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Use web access and go to Support Menu, System Configuration File to request 3 processes for main database and 1 for test database).&lt;br /&gt;
&lt;br /&gt;
Please note that test running “copy test data” should be avoided while users are online but there is no problem testing the “daily 6am startup task” at any time since it will just add an additional process.&lt;br /&gt;
&lt;br /&gt;
=== Configuring NEOSYS to start automatically on server start-up / reboot ===&lt;br /&gt;
We no longer configure NEOSYS processes to start on reboot as we would like to know of the failures at the client side and hence whenever the server reboots we expect the client to inform us and we will start the process - or NEOSYS will start automatically next day at 6 am&lt;br /&gt;
&lt;br /&gt;
Unfortunately using this method the NEOSYS processes are not visible when you login as a user. &lt;br /&gt;
&lt;br /&gt;
[[Image:win_sch_task.jpg]]&lt;br /&gt;
&lt;br /&gt;
Schedule a task to run the main database file whenever the computer starts. In Windows 2008 you need to tick the options - Run whether user logged in or not and Run with highest privilege.&lt;br /&gt;
&lt;br /&gt;
Additional in Windows 2008: Tick Highest Priviledges and Run whether user logged in or not&lt;br /&gt;
&lt;br /&gt;
== Installing and upgrading NEOSYS pure accounting systems ==&lt;br /&gt;
&lt;br /&gt;
Basic installation using NEOSYS.EXE and upgrades using NEOSYS2.EXE are identical to the normal adagency installation process.&lt;br /&gt;
&lt;br /&gt;
Differences are as follows:&lt;br /&gt;
&lt;br /&gt;
# Maintenance shortcut to ACCOUNTS.BAT&lt;br /&gt;
# Process startup file contains &amp;quot;/system ACCOUNTS&amp;quot; instead of &amp;quot;/system ADAGENCY&amp;quot;&lt;br /&gt;
# Internet address is http://server/neosys/accounts.htm although it auto converts to http://server/neosys/default.htm??ACCOUNTS. Although not to be relied upon, the login page stores a cookie so even plain http://server/neosys or http://server/neosys/default.htm works thereafter until the cookie is lost. To get back to adagency login you use http://server/neosys/default.htm??ADAGENCY&lt;br /&gt;
# BACKUP.ZIP files created by ADAGENCY systems and ACCOUNTS systems are slightly incompatible with the result that restoring one in the other type of system will not work. NEOSYS programmers can convert from one type to the other but it is almost never required since any ad agency that only requires accounts only module is given the adagency version of NEOSYS and accounting only clients becoming ad agencies never happened.&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=693</id>
		<title>Installing NEOSYS Service</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=693"/>
		<updated>2011-06-23T13:47:21Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Installing initial Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= INSTALLING NEOSYS SERVICE =&lt;br /&gt;
&lt;br /&gt;
Reference to X:\ in the notes below denotes the actual drive letter and needs to be replaced (eg D:\)&lt;br /&gt;
&lt;br /&gt;
== Main installation: ==&lt;br /&gt;
&lt;br /&gt;
 Make sure NOT TO COPY an existing NEOSYS installation to another location and ONLY do a &lt;br /&gt;
 completely new install with a fresh database, because copying a folder will copy a variety of &lt;br /&gt;
 hidden configurations. &lt;br /&gt;
&lt;br /&gt;
=== Installing NEOSYS on partitions ===&lt;br /&gt;
Good server management practice is to have separate partitions for operating system (C:) and data partitions (D:)&lt;br /&gt;
 &lt;br /&gt;
In the case of operating system reinstallation (which causes the loss of the C: partition) if NEOSYS programs and data were installed on D: can be preserved. If there is only one partition then NEOSYS programs and data will have to be backed up and restored.&lt;br /&gt;
&lt;br /&gt;
==== Multiple Partitions ====&lt;br /&gt;
NEOSYS should be installed on a different partition rather than the C drive for reasons already explained above (eg. D drive)&lt;br /&gt;
&lt;br /&gt;
==== Single Partition ====&lt;br /&gt;
If there is only one partition then you have to inform the client to take the effort to reinstall the operating system or using third party repartitioning tools to create separate partitions.&lt;br /&gt;
 &lt;br /&gt;
=== Downloading and running installation files ===&lt;br /&gt;
# http://www.neosys.com/support/neosys.exe	... and unzip/install to X:\neosys (or to X:\hosts\clientcd for multi-installation on one server)&lt;br /&gt;
# http://www.neosys.com/support/neosys2.exe	... and install same as previous step.&lt;br /&gt;
&lt;br /&gt;
=== Creating shortcuts ===&lt;br /&gt;
In x:\neosys (or x:\hosts\clientcd), make a shortcut called ‘Maintenance’ and link it to&lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\adagency.bat (for Adagency install)&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\accounts.bat (for Accounts install)&lt;br /&gt;
&lt;br /&gt;
=== Activating NEOSYS using authorization number ===&lt;br /&gt;
&lt;br /&gt;
Start NEOSYS Maintenance, select Initial Backup and it will give a “Computer Number” and ask for an “Authorisation No”&lt;br /&gt;
&lt;br /&gt;
Send the computer number to NEOSYS admin to get the authorization no.&lt;br /&gt;
&lt;br /&gt;
If you cannot get the authorization number immediately then you can close NEOSYS and when you reopen NEOSYS it will still give the same computer number and accept the same authorization number.&lt;br /&gt;
&lt;br /&gt;
=== Installing initial Database ===&lt;br /&gt;
&lt;br /&gt;
Download the initial database file from http://www.neosys.com/support/BACKUP.ZIP and place it in D drive (or any other drive) - but make sure that this file exists in the root folder i.e. D:\BACKUP.ZIP&lt;br /&gt;
&lt;br /&gt;
Follow the steps below:&lt;br /&gt;
#Click on the Maintenance icon.&lt;br /&gt;
#Select BASIC DATA SET and type in the NEOSYS username and password. (If the system does not prompt for a username and password,then go to Quit &amp;gt; Quit to next user and type the same in. If you do not enter with a username and password then NEOSYS will not allow you to restore the database). The first time when you enter maintenance you will get a command box (like when you do F5). If you do not get a command box, hit the F5 key and get it on the screen and hit ESC after you get it. &lt;br /&gt;
#Now restore the BACKUP.ZIP (STARTUP DATABASE), to do so go to General &amp;gt; Backup &amp;amp; Data Management, select (the 4th option) Restore from disk or diskette. select D drive (or whichever drive you put the backup.zip file in) and follow the prompts ahead.&lt;br /&gt;
#After you have restored the BACKUP.ZIP file, it will ask you to switch to this database &#039;&#039;&#039;say NO&#039;&#039;&#039;,  because the switch to database option brings you back to the BASIC DATA SET. Hence press the ESC button, type EXIT on the F5 prompt.&lt;br /&gt;
#Now startup maintenance again and you will find a new database &amp;quot;STARTUP DATABASE&amp;quot; select it and login with NEOSYS username and password.&lt;br /&gt;
#After you have logged in, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Delete a dataset and select the &amp;quot;BASIC DATASET&amp;quot; to delete, to confirm the delete system will ask you to enter the dataset code. Enter the code and delete the basis dataset.&lt;br /&gt;
#Now create a new dataset for the client, go to general &amp;gt; Backup &amp;amp; Data management&amp;gt; Create a new dataset, select (6th option) and follow the instruction on how to setup database code from the following link &amp;quot;http://techwiki.neosys.com/index.php/Installing_NEOSYS_Service#Assigning_database_codes&amp;quot;&lt;br /&gt;
#Once the client dataset is created,login to the clientdataset and follow the steps in above point6 and delete the STARTUP DATABASE.&lt;br /&gt;
#To check the list of dataset on the computer, go to go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; See a list of dataset in the computer(8th option).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
#Sometimes it may tell you that you cannot use FILEMAN as you are logged in as MASTER. Hence you need to hit the ESC key, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Restore from disk or diskette, select C drive or whichever drive you put the backup.zip file in and follow the prompts ahead.&lt;br /&gt;
#While doing the step no.2 if you get a message as below just hit enter or space and continue.&lt;br /&gt;
&lt;br /&gt;
[[File:Message while installing.jpg]]&lt;br /&gt;
&lt;br /&gt;
==== Assigning database codes ====&lt;br /&gt;
It is necessary to make sure that the following guidelines are met while creating database codes:&lt;br /&gt;
&lt;br /&gt;
#The code should be within 8 letters&lt;br /&gt;
#The client should be as recognisable as possible from the main database code&lt;br /&gt;
#The test database code should end with the TEST word and it is not necessary that it must be recognisable&lt;br /&gt;
#The test database code should always appear after the main database code at login&lt;br /&gt;
&lt;br /&gt;
Examples of wrong and right database codes:&lt;br /&gt;
&lt;br /&gt;
 ALTO VISTA ADVERTISING&lt;br /&gt;
 ALTOVIST and XALTTEST - right      AVISTA and AVTEST - wrong   (AVISTA not &amp;quot;as recognisable as possible&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 CONTEXTURE ASSOCIATES&lt;br /&gt;
 CONTEXT and XCONTEST - right       CONTEXT and CONTEST - wrong (CONTEST alphabetically first in the login screen database drop down)&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to start NEOSYS Service: ===&lt;br /&gt;
(Note: change x to the correct drive you have installed NEOSYS on)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start MAIN-DATABASE-CODE.cmd (eg start ALTOVIST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt; is the code of the database)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start TEST-DATABASE-CODE.cmd (eg start AVTEST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt; is the code of the testdatabase)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
TEST THAT THE FILES YOU HAVE CREATED CAN RUN SUCCESSFULLY&lt;br /&gt;
&lt;br /&gt;
ENSURE THAT YOU DO NOT CLOSE THE PROCESS WINDOWS BY USING THE X BUTTON. HIT ESC 3 TIMES ON EACH WINDOW.&lt;br /&gt;
&lt;br /&gt;
=== Differences for Pure Accounts Module Only Installations ===&lt;br /&gt;
Accounts module only has a slightly different startup command. In the above, replace &#039;&#039;&#039;/system adagency&#039;&#039;&#039; with &#039;&#039;&#039;/system accounts&#039;&#039;&#039; to startup a service and use &#039;&#039;&#039;accounts.bat&#039;&#039;&#039; instead of &#039;&#039;&#039;adagency.bat&#039;&#039;&#039; to start up maintenance. Other than that, accounts module setup is identical. Pure accounts clients are very few and tend not to upgrade often so care needs to be taken when upgrading. Upgrade is perhaps surprisingly done using the adagency.exe file.&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to copy maindata to testdata ===&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file &amp;lt;B&amp;gt;copy MAINDATABASECODE to TESTDABASECODE.cmd&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 xcopy x:\neosys\data\&amp;lt;i&amp;gt;maindatabasecode&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;testdatabasecode&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
 eg. xcopy c:\neosys\data\&amp;lt;i&amp;gt;ALTOVIST&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;AVTEST&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
Run this file to test that it works fine.&lt;br /&gt;
&lt;br /&gt;
=== Setting up daily scheduled tasks ===&lt;br /&gt;
&amp;lt;b&amp;gt;Automatic Schedules:&amp;lt;/b&amp;gt;&lt;br /&gt;
NEOSYS automatically shuts down at 1am (was 2am) every morning for backup. It closes all the running processes and backups up to the selected drive.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Manually Configured Schedules:&amp;lt;/b&amp;gt; to be done under Scheduled Tasks&lt;br /&gt;
&lt;br /&gt;
Note: Under Windows 2008 Standard you need to UNTICK highest privileges and UNTICK run whether user is logged in or not as shown in the screen shots that follow:&lt;br /&gt;
&lt;br /&gt;
1. Create a task to start one Main database process at 6:00 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:start1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Create a second task to Copy Maindata to Testdata at 2:45 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:copy1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(For multiple sites on the same computer put the second site starting five minutes later at 6:05am, third site starting five minutes earlier at 5:55am, the third site starting five minutes later at 6:10am and so on.)&lt;br /&gt;
&lt;br /&gt;
Once created, test them to see that they are working correctly by running them directly using right click- Run.&lt;br /&gt;
&lt;br /&gt;
[[File:task1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Use web access and go to Support Menu, System Configuration File to request 3 processes for main database and 1 for test database).&lt;br /&gt;
&lt;br /&gt;
Please note that test running “copy test data” should be avoided while users are online but there is no problem testing the “daily 6am startup task” at any time since it will just add an additional process.&lt;br /&gt;
&lt;br /&gt;
=== Configuring NEOSYS to start automatically on server start-up / reboot ===&lt;br /&gt;
We no longer configure NEOSYS processes to start on reboot as we would like to know of the failures at the client side and hence whenever the server reboots we expect the client to inform us and we will start the process - or NEOSYS will start automatically next day at 6 am&lt;br /&gt;
&lt;br /&gt;
Unfortunately using this method the NEOSYS processes are not visible when you login as a user. &lt;br /&gt;
&lt;br /&gt;
[[Image:win_sch_task.jpg]]&lt;br /&gt;
&lt;br /&gt;
Schedule a task to run the main database file whenever the computer starts. In Windows 2008 you need to tick the options - Run whether user logged in or not and Run with highest privilege.&lt;br /&gt;
&lt;br /&gt;
Additional in Windows 2008: Tick Highest Priviledges and Run whether user logged in or not&lt;br /&gt;
&lt;br /&gt;
== Installing and upgrading NEOSYS pure accounting systems ==&lt;br /&gt;
&lt;br /&gt;
Basic installation using NEOSYS.EXE and upgrades using NEOSYS2.EXE are identical to the normal adagency installation process.&lt;br /&gt;
&lt;br /&gt;
Differences are as follows:&lt;br /&gt;
&lt;br /&gt;
# Maintenance shortcut to ACCOUNTS.BAT&lt;br /&gt;
# Process startup file contains &amp;quot;/system ACCOUNTS&amp;quot; instead of &amp;quot;/system ADAGENCY&amp;quot;&lt;br /&gt;
# Internet address is http://server/neosys/accounts.htm although it auto converts to http://server/neosys/default.htm??ACCOUNTS. Although not to be relied upon, the login page stores a cookie so even plain http://server/neosys or http://server/neosys/default.htm works thereafter until the cookie is lost. To get back to adagency login you use http://server/neosys/default.htm??ADAGENCY&lt;br /&gt;
# BACKUP.ZIP files created by ADAGENCY systems and ACCOUNTS systems are slightly incompatible with the result that restoring one in the other type of system will not work. NEOSYS programmers can convert from one type to the other but it is almost never required since any ad agency that only requires accounts only module is given the adagency version of NEOSYS and accounting only clients becoming ad agencies never happened.&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=692</id>
		<title>Installing NEOSYS Service</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=692"/>
		<updated>2011-06-23T13:46:55Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Installing initial Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= INSTALLING NEOSYS SERVICE =&lt;br /&gt;
&lt;br /&gt;
Reference to X:\ in the notes below denotes the actual drive letter and needs to be replaced (eg D:\)&lt;br /&gt;
&lt;br /&gt;
== Main installation: ==&lt;br /&gt;
&lt;br /&gt;
 Make sure NOT TO COPY an existing NEOSYS installation to another location and ONLY do a &lt;br /&gt;
 completely new install with a fresh database, because copying a folder will copy a variety of &lt;br /&gt;
 hidden configurations. &lt;br /&gt;
&lt;br /&gt;
=== Installing NEOSYS on partitions ===&lt;br /&gt;
Good server management practice is to have separate partitions for operating system (C:) and data partitions (D:)&lt;br /&gt;
 &lt;br /&gt;
In the case of operating system reinstallation (which causes the loss of the C: partition) if NEOSYS programs and data were installed on D: can be preserved. If there is only one partition then NEOSYS programs and data will have to be backed up and restored.&lt;br /&gt;
&lt;br /&gt;
==== Multiple Partitions ====&lt;br /&gt;
NEOSYS should be installed on a different partition rather than the C drive for reasons already explained above (eg. D drive)&lt;br /&gt;
&lt;br /&gt;
==== Single Partition ====&lt;br /&gt;
If there is only one partition then you have to inform the client to take the effort to reinstall the operating system or using third party repartitioning tools to create separate partitions.&lt;br /&gt;
 &lt;br /&gt;
=== Downloading and running installation files ===&lt;br /&gt;
# http://www.neosys.com/support/neosys.exe	... and unzip/install to X:\neosys (or to X:\hosts\clientcd for multi-installation on one server)&lt;br /&gt;
# http://www.neosys.com/support/neosys2.exe	... and install same as previous step.&lt;br /&gt;
&lt;br /&gt;
=== Creating shortcuts ===&lt;br /&gt;
In x:\neosys (or x:\hosts\clientcd), make a shortcut called ‘Maintenance’ and link it to&lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\adagency.bat (for Adagency install)&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\accounts.bat (for Accounts install)&lt;br /&gt;
&lt;br /&gt;
=== Activating NEOSYS using authorization number ===&lt;br /&gt;
&lt;br /&gt;
Start NEOSYS Maintenance, select Initial Backup and it will give a “Computer Number” and ask for an “Authorisation No”&lt;br /&gt;
&lt;br /&gt;
Send the computer number to NEOSYS admin to get the authorization no.&lt;br /&gt;
&lt;br /&gt;
If you cannot get the authorization number immediately then you can close NEOSYS and when you reopen NEOSYS it will still give the same computer number and accept the same authorization number.&lt;br /&gt;
&lt;br /&gt;
=== Installing initial Database ===&lt;br /&gt;
&lt;br /&gt;
Download the initial database file from http://www.neosys.com/support/BACKUP.ZIP and place it in D drive (or any other drive) - but make sure that this file exists in the root folder i.e. D:\BACKUP.ZIP&lt;br /&gt;
&lt;br /&gt;
Follow the steps below:&lt;br /&gt;
#Click on the Maintenance icon.&lt;br /&gt;
#Select BASIC DATA SET and type in the NEOSYS username and password. (If the system does not prompt for a username and password,then go to Quit &amp;gt; Quit to next user and type the same in. If you do not enter with a username and password then NEOSYS will not allow you to restore the database). The first time when you enter maintenance you will get a command box (like when you do F5). If you do not get a command box, hit the F5 key and get it on the screen and hit ESC after you get it. &lt;br /&gt;
#Now restore the BACKUP.ZIP (STARTUP DATABASE), to do so go to General &amp;gt; Backup &amp;amp; Data Management, select (the 4th option) Restore from disk or diskette. select D drive (or whichever drive you put the backup.zip file in) and follow the prompts ahead.&lt;br /&gt;
#After you have restored the BACKUP.ZIP file, it will ask you to switch to this database &#039;&#039;&#039;say NO&#039;&#039;&#039;,  because the switch to database option brings you back to the BASIC DATA SET. Hence press the ESC button, type EXIT on the F5 prompt.&lt;br /&gt;
#Now startup maintenance again and you will find a new database &amp;quot;STARTUP DATABASE&amp;quot; select it and login with NEOSYS username and password.&lt;br /&gt;
#After you have logged in, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Delete a dataset and select the &amp;quot;BASIC DATASET&amp;quot; to delete, to confirm the delete system will ask you to enter the dataset code. Enter the code and delete the basis dataset.&lt;br /&gt;
#Now create a new dataset for the client, go to general &amp;gt; Backup &amp;amp; Data management&amp;gt; Create a new dataset, select (6th option) and follow the instruction on how to setup database code from the following link &amp;quot;http://techwiki.neosys.com/index.php/Installing_NEOSYS_Service#Assigning_database_codes&amp;quot;&lt;br /&gt;
#Once the client dataset is created,login to the clientdataset and follow the steps in above point6 and delete the STARTUP DATABASE.&lt;br /&gt;
#To check the list of dataset on the computer, go to go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; See a list of dataset in the computer(8th option).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
#Sometimes it may tell you that you cannot use FILEMAN as you are logged in as MASTER. Hence you need to hit the ESC key, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Restore from disk or diskette, select C drive or whichever drive you put the backup.zip file in and follow the prompts ahead.&lt;br /&gt;
#While doing the step no.2 if you get a message as below just hit enter or space and continue.&lt;br /&gt;
&lt;br /&gt;
 [[File:Message while installing.jpg]]&lt;br /&gt;
&lt;br /&gt;
==== Assigning database codes ====&lt;br /&gt;
It is necessary to make sure that the following guidelines are met while creating database codes:&lt;br /&gt;
&lt;br /&gt;
#The code should be within 8 letters&lt;br /&gt;
#The client should be as recognisable as possible from the main database code&lt;br /&gt;
#The test database code should end with the TEST word and it is not necessary that it must be recognisable&lt;br /&gt;
#The test database code should always appear after the main database code at login&lt;br /&gt;
&lt;br /&gt;
Examples of wrong and right database codes:&lt;br /&gt;
&lt;br /&gt;
 ALTO VISTA ADVERTISING&lt;br /&gt;
 ALTOVIST and XALTTEST - right      AVISTA and AVTEST - wrong   (AVISTA not &amp;quot;as recognisable as possible&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 CONTEXTURE ASSOCIATES&lt;br /&gt;
 CONTEXT and XCONTEST - right       CONTEXT and CONTEST - wrong (CONTEST alphabetically first in the login screen database drop down)&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to start NEOSYS Service: ===&lt;br /&gt;
(Note: change x to the correct drive you have installed NEOSYS on)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start MAIN-DATABASE-CODE.cmd (eg start ALTOVIST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt; is the code of the database)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start TEST-DATABASE-CODE.cmd (eg start AVTEST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt; is the code of the testdatabase)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
TEST THAT THE FILES YOU HAVE CREATED CAN RUN SUCCESSFULLY&lt;br /&gt;
&lt;br /&gt;
ENSURE THAT YOU DO NOT CLOSE THE PROCESS WINDOWS BY USING THE X BUTTON. HIT ESC 3 TIMES ON EACH WINDOW.&lt;br /&gt;
&lt;br /&gt;
=== Differences for Pure Accounts Module Only Installations ===&lt;br /&gt;
Accounts module only has a slightly different startup command. In the above, replace &#039;&#039;&#039;/system adagency&#039;&#039;&#039; with &#039;&#039;&#039;/system accounts&#039;&#039;&#039; to startup a service and use &#039;&#039;&#039;accounts.bat&#039;&#039;&#039; instead of &#039;&#039;&#039;adagency.bat&#039;&#039;&#039; to start up maintenance. Other than that, accounts module setup is identical. Pure accounts clients are very few and tend not to upgrade often so care needs to be taken when upgrading. Upgrade is perhaps surprisingly done using the adagency.exe file.&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to copy maindata to testdata ===&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file &amp;lt;B&amp;gt;copy MAINDATABASECODE to TESTDABASECODE.cmd&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 xcopy x:\neosys\data\&amp;lt;i&amp;gt;maindatabasecode&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;testdatabasecode&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
 eg. xcopy c:\neosys\data\&amp;lt;i&amp;gt;ALTOVIST&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;AVTEST&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
Run this file to test that it works fine.&lt;br /&gt;
&lt;br /&gt;
=== Setting up daily scheduled tasks ===&lt;br /&gt;
&amp;lt;b&amp;gt;Automatic Schedules:&amp;lt;/b&amp;gt;&lt;br /&gt;
NEOSYS automatically shuts down at 1am (was 2am) every morning for backup. It closes all the running processes and backups up to the selected drive.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Manually Configured Schedules:&amp;lt;/b&amp;gt; to be done under Scheduled Tasks&lt;br /&gt;
&lt;br /&gt;
Note: Under Windows 2008 Standard you need to UNTICK highest privileges and UNTICK run whether user is logged in or not as shown in the screen shots that follow:&lt;br /&gt;
&lt;br /&gt;
1. Create a task to start one Main database process at 6:00 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:start1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Create a second task to Copy Maindata to Testdata at 2:45 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:copy1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(For multiple sites on the same computer put the second site starting five minutes later at 6:05am, third site starting five minutes earlier at 5:55am, the third site starting five minutes later at 6:10am and so on.)&lt;br /&gt;
&lt;br /&gt;
Once created, test them to see that they are working correctly by running them directly using right click- Run.&lt;br /&gt;
&lt;br /&gt;
[[File:task1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Use web access and go to Support Menu, System Configuration File to request 3 processes for main database and 1 for test database).&lt;br /&gt;
&lt;br /&gt;
Please note that test running “copy test data” should be avoided while users are online but there is no problem testing the “daily 6am startup task” at any time since it will just add an additional process.&lt;br /&gt;
&lt;br /&gt;
=== Configuring NEOSYS to start automatically on server start-up / reboot ===&lt;br /&gt;
We no longer configure NEOSYS processes to start on reboot as we would like to know of the failures at the client side and hence whenever the server reboots we expect the client to inform us and we will start the process - or NEOSYS will start automatically next day at 6 am&lt;br /&gt;
&lt;br /&gt;
Unfortunately using this method the NEOSYS processes are not visible when you login as a user. &lt;br /&gt;
&lt;br /&gt;
[[Image:win_sch_task.jpg]]&lt;br /&gt;
&lt;br /&gt;
Schedule a task to run the main database file whenever the computer starts. In Windows 2008 you need to tick the options - Run whether user logged in or not and Run with highest privilege.&lt;br /&gt;
&lt;br /&gt;
Additional in Windows 2008: Tick Highest Priviledges and Run whether user logged in or not&lt;br /&gt;
&lt;br /&gt;
== Installing and upgrading NEOSYS pure accounting systems ==&lt;br /&gt;
&lt;br /&gt;
Basic installation using NEOSYS.EXE and upgrades using NEOSYS2.EXE are identical to the normal adagency installation process.&lt;br /&gt;
&lt;br /&gt;
Differences are as follows:&lt;br /&gt;
&lt;br /&gt;
# Maintenance shortcut to ACCOUNTS.BAT&lt;br /&gt;
# Process startup file contains &amp;quot;/system ACCOUNTS&amp;quot; instead of &amp;quot;/system ADAGENCY&amp;quot;&lt;br /&gt;
# Internet address is http://server/neosys/accounts.htm although it auto converts to http://server/neosys/default.htm??ACCOUNTS. Although not to be relied upon, the login page stores a cookie so even plain http://server/neosys or http://server/neosys/default.htm works thereafter until the cookie is lost. To get back to adagency login you use http://server/neosys/default.htm??ADAGENCY&lt;br /&gt;
# BACKUP.ZIP files created by ADAGENCY systems and ACCOUNTS systems are slightly incompatible with the result that restoring one in the other type of system will not work. NEOSYS programmers can convert from one type to the other but it is almost never required since any ad agency that only requires accounts only module is given the adagency version of NEOSYS and accounting only clients becoming ad agencies never happened.&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Message_while_installing.jpg&amp;diff=691</id>
		<title>File:Message while installing.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Message_while_installing.jpg&amp;diff=691"/>
		<updated>2011-06-23T13:45:09Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=690</id>
		<title>Installing NEOSYS Service</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=690"/>
		<updated>2011-06-23T13:08:19Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Installing initial Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= INSTALLING NEOSYS SERVICE =&lt;br /&gt;
&lt;br /&gt;
Reference to X:\ in the notes below denotes the actual drive letter and needs to be replaced (eg D:\)&lt;br /&gt;
&lt;br /&gt;
== Main installation: ==&lt;br /&gt;
&lt;br /&gt;
 Make sure NOT TO COPY an existing NEOSYS installation to another location and ONLY do a &lt;br /&gt;
 completely new install with a fresh database, because copying a folder will copy a variety of &lt;br /&gt;
 hidden configurations. &lt;br /&gt;
&lt;br /&gt;
=== Installing NEOSYS on partitions ===&lt;br /&gt;
Good server management practice is to have separate partitions for operating system (C:) and data partitions (D:)&lt;br /&gt;
 &lt;br /&gt;
In the case of operating system reinstallation (which causes the loss of the C: partition) if NEOSYS programs and data were installed on D: can be preserved. If there is only one partition then NEOSYS programs and data will have to be backed up and restored.&lt;br /&gt;
&lt;br /&gt;
==== Multiple Partitions ====&lt;br /&gt;
NEOSYS should be installed on a different partition rather than the C drive for reasons already explained above (eg. D drive)&lt;br /&gt;
&lt;br /&gt;
==== Single Partition ====&lt;br /&gt;
If there is only one partition then you have to inform the client to take the effort to reinstall the operating system or using third party repartitioning tools to create separate partitions.&lt;br /&gt;
 &lt;br /&gt;
=== Downloading and running installation files ===&lt;br /&gt;
# http://www.neosys.com/support/neosys.exe	... and unzip/install to X:\neosys (or to X:\hosts\clientcd for multi-installation on one server)&lt;br /&gt;
# http://www.neosys.com/support/neosys2.exe	... and install same as previous step.&lt;br /&gt;
&lt;br /&gt;
=== Creating shortcuts ===&lt;br /&gt;
In x:\neosys (or x:\hosts\clientcd), make a shortcut called ‘Maintenance’ and link it to&lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\adagency.bat (for Adagency install)&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\accounts.bat (for Accounts install)&lt;br /&gt;
&lt;br /&gt;
=== Activating NEOSYS using authorization number ===&lt;br /&gt;
&lt;br /&gt;
Start NEOSYS Maintenance, select Initial Backup and it will give a “Computer Number” and ask for an “Authorisation No”&lt;br /&gt;
&lt;br /&gt;
Send the computer number to NEOSYS admin to get the authorization no.&lt;br /&gt;
&lt;br /&gt;
If you cannot get the authorization number immediately then you can close NEOSYS and when you reopen NEOSYS it will still give the same computer number and accept the same authorization number.&lt;br /&gt;
&lt;br /&gt;
=== Installing initial Database ===&lt;br /&gt;
&lt;br /&gt;
Download the initial database file from http://www.neosys.com/support/BACKUP.ZIP and place it in D drive (or any other drive) - but make sure that this file exists in the root folder i.e. D:\BACKUP.ZIP&lt;br /&gt;
&lt;br /&gt;
Follow the steps below:&lt;br /&gt;
#Click on the Maintenance icon.&lt;br /&gt;
#Select BASIC DATA SET and type in the NEOSYS username and password. (If the system does not prompt for a username and password,then go to Quit &amp;gt; Quit to next user and type the same in. If you do not enter with a username and password then NEOSYS will not allow you to restore the database). The first time when you enter maintenance you will get a command box (like when you do F5). If you do not get a command box, hit the F5 key and get it on the screen and hit ESC after you get it. &lt;br /&gt;
#Now restore the BACKUP.ZIP (STARTUP DATABASE), to do so go to General &amp;gt; Backup &amp;amp; Data Management, select (the 4th option) Restore from disk or diskette. select D drive (or whichever drive you put the backup.zip file in) and follow the prompts ahead.&lt;br /&gt;
#After you have restored the BACKUP.ZIP file, it will ask you to switch to this database &#039;&#039;&#039;say NO&#039;&#039;&#039;,  because the switch to database option brings you back to the BASIC DATA SET. Hence press the ESC button, type EXIT on the F5 prompt.&lt;br /&gt;
#Now startup maintenance again and you will find a new database &amp;quot;STARTUP DATABASE&amp;quot; select it and login with NEOSYS username and password.&lt;br /&gt;
#After you have logged in, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Delete a dataset and select the &amp;quot;BASIC DATASET&amp;quot; to delete, to confirm the delete system will ask you to enter the dataset code. Enter the code and delete the basis dataset.&lt;br /&gt;
#Now create a new dataset for the client, go to general &amp;gt; Backup &amp;amp; Data management&amp;gt; Create a new dataset, select (6th option) and follow the instruction on how to setup database code from the following link &amp;quot;http://techwiki.neosys.com/index.php/Installing_NEOSYS_Service#Assigning_database_codes&amp;quot;&lt;br /&gt;
#Once the client dataset is created,login to the clientdataset and follow the steps in above point6 and delete the STARTUP DATABASE.&lt;br /&gt;
#To check the list of dataset on the computer, go to go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; See a list of dataset in the computer(8th option).&lt;br /&gt;
&lt;br /&gt;
Note:Sometimes it may tell you that you cannot use FILEMAN as you are logged in as MASTER. Hence you need to hit the ESC key, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Restore from disk or diskette, select C drive (or whichever drive you put the backup.zip file in) and follow the prompts ahead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Assigning database codes ====&lt;br /&gt;
It is necessary to make sure that the following guidelines are met while creating database codes:&lt;br /&gt;
&lt;br /&gt;
#The code should be within 8 letters&lt;br /&gt;
#The client should be as recognisable as possible from the main database code&lt;br /&gt;
#The test database code should end with the TEST word and it is not necessary that it must be recognisable&lt;br /&gt;
#The test database code should always appear after the main database code at login&lt;br /&gt;
&lt;br /&gt;
Examples of wrong and right database codes:&lt;br /&gt;
&lt;br /&gt;
 ALTO VISTA ADVERTISING&lt;br /&gt;
 ALTOVIST and XALTTEST - right      AVISTA and AVTEST - wrong   (AVISTA not &amp;quot;as recognisable as possible&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 CONTEXTURE ASSOCIATES&lt;br /&gt;
 CONTEXT and XCONTEST - right       CONTEXT and CONTEST - wrong (CONTEST alphabetically first in the login screen database drop down)&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to start NEOSYS Service: ===&lt;br /&gt;
(Note: change x to the correct drive you have installed NEOSYS on)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start MAIN-DATABASE-CODE.cmd (eg start ALTOVIST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt; is the code of the database)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start TEST-DATABASE-CODE.cmd (eg start AVTEST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt; is the code of the testdatabase)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
TEST THAT THE FILES YOU HAVE CREATED CAN RUN SUCCESSFULLY&lt;br /&gt;
&lt;br /&gt;
ENSURE THAT YOU DO NOT CLOSE THE PROCESS WINDOWS BY USING THE X BUTTON. HIT ESC 3 TIMES ON EACH WINDOW.&lt;br /&gt;
&lt;br /&gt;
=== Differences for Pure Accounts Module Only Installations ===&lt;br /&gt;
Accounts module only has a slightly different startup command. In the above, replace &#039;&#039;&#039;/system adagency&#039;&#039;&#039; with &#039;&#039;&#039;/system accounts&#039;&#039;&#039; to startup a service and use &#039;&#039;&#039;accounts.bat&#039;&#039;&#039; instead of &#039;&#039;&#039;adagency.bat&#039;&#039;&#039; to start up maintenance. Other than that, accounts module setup is identical. Pure accounts clients are very few and tend not to upgrade often so care needs to be taken when upgrading. Upgrade is perhaps surprisingly done using the adagency.exe file.&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to copy maindata to testdata ===&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file &amp;lt;B&amp;gt;copy MAINDATABASECODE to TESTDABASECODE.cmd&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 xcopy x:\neosys\data\&amp;lt;i&amp;gt;maindatabasecode&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;testdatabasecode&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
 eg. xcopy c:\neosys\data\&amp;lt;i&amp;gt;ALTOVIST&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;AVTEST&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
Run this file to test that it works fine.&lt;br /&gt;
&lt;br /&gt;
=== Setting up daily scheduled tasks ===&lt;br /&gt;
&amp;lt;b&amp;gt;Automatic Schedules:&amp;lt;/b&amp;gt;&lt;br /&gt;
NEOSYS automatically shuts down at 1am (was 2am) every morning for backup. It closes all the running processes and backups up to the selected drive.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Manually Configured Schedules:&amp;lt;/b&amp;gt; to be done under Scheduled Tasks&lt;br /&gt;
&lt;br /&gt;
Note: Under Windows 2008 Standard you need to UNTICK highest privileges and UNTICK run whether user is logged in or not as shown in the screen shots that follow:&lt;br /&gt;
&lt;br /&gt;
1. Create a task to start one Main database process at 6:00 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:start1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Create a second task to Copy Maindata to Testdata at 2:45 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:copy1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(For multiple sites on the same computer put the second site starting five minutes later at 6:05am, third site starting five minutes earlier at 5:55am, the third site starting five minutes later at 6:10am and so on.)&lt;br /&gt;
&lt;br /&gt;
Once created, test them to see that they are working correctly by running them directly using right click- Run.&lt;br /&gt;
&lt;br /&gt;
[[File:task1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Use web access and go to Support Menu, System Configuration File to request 3 processes for main database and 1 for test database).&lt;br /&gt;
&lt;br /&gt;
Please note that test running “copy test data” should be avoided while users are online but there is no problem testing the “daily 6am startup task” at any time since it will just add an additional process.&lt;br /&gt;
&lt;br /&gt;
=== Configuring NEOSYS to start automatically on server start-up / reboot ===&lt;br /&gt;
We no longer configure NEOSYS processes to start on reboot as we would like to know of the failures at the client side and hence whenever the server reboots we expect the client to inform us and we will start the process - or NEOSYS will start automatically next day at 6 am&lt;br /&gt;
&lt;br /&gt;
Unfortunately using this method the NEOSYS processes are not visible when you login as a user. &lt;br /&gt;
&lt;br /&gt;
[[Image:win_sch_task.jpg]]&lt;br /&gt;
&lt;br /&gt;
Schedule a task to run the main database file whenever the computer starts. In Windows 2008 you need to tick the options - Run whether user logged in or not and Run with highest privilege.&lt;br /&gt;
&lt;br /&gt;
Additional in Windows 2008: Tick Highest Priviledges and Run whether user logged in or not&lt;br /&gt;
&lt;br /&gt;
== Installing and upgrading NEOSYS pure accounting systems ==&lt;br /&gt;
&lt;br /&gt;
Basic installation using NEOSYS.EXE and upgrades using NEOSYS2.EXE are identical to the normal adagency installation process.&lt;br /&gt;
&lt;br /&gt;
Differences are as follows:&lt;br /&gt;
&lt;br /&gt;
# Maintenance shortcut to ACCOUNTS.BAT&lt;br /&gt;
# Process startup file contains &amp;quot;/system ACCOUNTS&amp;quot; instead of &amp;quot;/system ADAGENCY&amp;quot;&lt;br /&gt;
# Internet address is http://server/neosys/accounts.htm although it auto converts to http://server/neosys/default.htm??ACCOUNTS. Although not to be relied upon, the login page stores a cookie so even plain http://server/neosys or http://server/neosys/default.htm works thereafter until the cookie is lost. To get back to adagency login you use http://server/neosys/default.htm??ADAGENCY&lt;br /&gt;
# BACKUP.ZIP files created by ADAGENCY systems and ACCOUNTS systems are slightly incompatible with the result that restoring one in the other type of system will not work. NEOSYS programmers can convert from one type to the other but it is almost never required since any ad agency that only requires accounts only module is given the adagency version of NEOSYS and accounting only clients becoming ad agencies never happened.&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=689</id>
		<title>Installing NEOSYS Service</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=689"/>
		<updated>2011-06-23T12:38:09Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Installing initial Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= INSTALLING NEOSYS SERVICE =&lt;br /&gt;
&lt;br /&gt;
Reference to X:\ in the notes below denotes the actual drive letter and needs to be replaced (eg D:\)&lt;br /&gt;
&lt;br /&gt;
== Main installation: ==&lt;br /&gt;
&lt;br /&gt;
 Make sure NOT TO COPY an existing NEOSYS installation to another location and ONLY do a &lt;br /&gt;
 completely new install with a fresh database, because copying a folder will copy a variety of &lt;br /&gt;
 hidden configurations. &lt;br /&gt;
&lt;br /&gt;
=== Installing NEOSYS on partitions ===&lt;br /&gt;
Good server management practice is to have separate partitions for operating system (C:) and data partitions (D:)&lt;br /&gt;
 &lt;br /&gt;
In the case of operating system reinstallation (which causes the loss of the C: partition) if NEOSYS programs and data were installed on D: can be preserved. If there is only one partition then NEOSYS programs and data will have to be backed up and restored.&lt;br /&gt;
&lt;br /&gt;
==== Multiple Partitions ====&lt;br /&gt;
NEOSYS should be installed on a different partition rather than the C drive for reasons already explained above (eg. D drive)&lt;br /&gt;
&lt;br /&gt;
==== Single Partition ====&lt;br /&gt;
If there is only one partition then you have to inform the client to take the effort to reinstall the operating system or using third party repartitioning tools to create separate partitions.&lt;br /&gt;
 &lt;br /&gt;
=== Downloading and running installation files ===&lt;br /&gt;
# http://www.neosys.com/support/neosys.exe	... and unzip/install to X:\neosys (or to X:\hosts\clientcd for multi-installation on one server)&lt;br /&gt;
# http://www.neosys.com/support/neosys2.exe	... and install same as previous step.&lt;br /&gt;
&lt;br /&gt;
=== Creating shortcuts ===&lt;br /&gt;
In x:\neosys (or x:\hosts\clientcd), make a shortcut called ‘Maintenance’ and link it to&lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\adagency.bat (for Adagency install)&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\accounts.bat (for Accounts install)&lt;br /&gt;
&lt;br /&gt;
=== Activating NEOSYS using authorization number ===&lt;br /&gt;
&lt;br /&gt;
Start NEOSYS Maintenance, select Initial Backup and it will give a “Computer Number” and ask for an “Authorisation No”&lt;br /&gt;
&lt;br /&gt;
Send the computer number to NEOSYS admin to get the authorization no.&lt;br /&gt;
&lt;br /&gt;
If you cannot get the authorization number immediately then you can close NEOSYS and when you reopen NEOSYS it will still give the same computer number and accept the same authorization number.&lt;br /&gt;
&lt;br /&gt;
=== Installing initial Database ===&lt;br /&gt;
&lt;br /&gt;
Download the initial database file from http://www.neosys.com/support/BACKUP.ZIP and place it in D drive (or any other drive) - but make sure that this file exists in the root folder i.e. D:\BACKUP.ZIP&lt;br /&gt;
&lt;br /&gt;
Follow the steps below:&lt;br /&gt;
#Click on the Maintenance icon.&lt;br /&gt;
#Select BASIC DATA SET and type in the NEOSYS username and password. (If the system does not prompt for a username and password,then go to Quit &amp;gt; Quit to next user and type the same in. If you do not enter with a username and password then NEOSYS will not allow you to restore the database). The first time when you enter maintenance you will get a command box (like when you do F5). If you do not get a command box, hit the F5 key and get it on the screen and hit ESC after you get it. &lt;br /&gt;
#Now restore the BACKUP.ZIP (STARTUP DATABSE), to do so go to General &amp;gt; Backup &amp;amp; Data Management, select (the 4th option) Restore from disk or diskette. select D drive (or whichever drive you put the backup.zip file in) and follow the prompts ahead.&lt;br /&gt;
#After you have restored the BACKUP.ZIP file, it will ask you to switch to this database &#039;&#039;&#039;say NO&#039;&#039;&#039;,  because the switch to database option brings you back to the BASIC DATA SET. Hence press the ESC button, type EXIT on the F5 prompt &lt;br /&gt;
#Now startup maintenance again and this time select the STARTUP DATABASE. After you have logged in, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Delete a data set and delete the BASIC DATA SET.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Sometimes it may tell you that you cannot use FILEMAN as you are logged in as MASTER. Hence you need to hit the ESC key, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Restore from disk or diskette, select C drive (or whichever drive you put the backup.zip file in) and follow the prompts ahead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Assigning database codes ====&lt;br /&gt;
It is necessary to make sure that the following guidelines are met while creating database codes:&lt;br /&gt;
&lt;br /&gt;
#The code should be within 8 letters&lt;br /&gt;
#The client should be as recognisable as possible from the main database code&lt;br /&gt;
#The test database code should end with the TEST word and it is not necessary that it must be recognisable&lt;br /&gt;
#The test database code should always appear after the main database code at login&lt;br /&gt;
&lt;br /&gt;
Examples of wrong and right database codes:&lt;br /&gt;
&lt;br /&gt;
 ALTO VISTA ADVERTISING&lt;br /&gt;
 ALTOVIST and XALTTEST - right      AVISTA and AVTEST - wrong   (AVISTA not &amp;quot;as recognisable as possible&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 CONTEXTURE ASSOCIATES&lt;br /&gt;
 CONTEXT and XCONTEST - right       CONTEXT and CONTEST - wrong (CONTEST alphabetically first in the login screen database drop down)&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to start NEOSYS Service: ===&lt;br /&gt;
(Note: change x to the correct drive you have installed NEOSYS on)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start MAIN-DATABASE-CODE.cmd (eg start ALTOVIST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt; is the code of the database)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start TEST-DATABASE-CODE.cmd (eg start AVTEST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt; is the code of the testdatabase)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
TEST THAT THE FILES YOU HAVE CREATED CAN RUN SUCCESSFULLY&lt;br /&gt;
&lt;br /&gt;
ENSURE THAT YOU DO NOT CLOSE THE PROCESS WINDOWS BY USING THE X BUTTON. HIT ESC 3 TIMES ON EACH WINDOW.&lt;br /&gt;
&lt;br /&gt;
=== Differences for Pure Accounts Module Only Installations ===&lt;br /&gt;
Accounts module only has a slightly different startup command. In the above, replace &#039;&#039;&#039;/system adagency&#039;&#039;&#039; with &#039;&#039;&#039;/system accounts&#039;&#039;&#039; to startup a service and use &#039;&#039;&#039;accounts.bat&#039;&#039;&#039; instead of &#039;&#039;&#039;adagency.bat&#039;&#039;&#039; to start up maintenance. Other than that, accounts module setup is identical. Pure accounts clients are very few and tend not to upgrade often so care needs to be taken when upgrading. Upgrade is perhaps surprisingly done using the adagency.exe file.&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to copy maindata to testdata ===&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file &amp;lt;B&amp;gt;copy MAINDATABASECODE to TESTDABASECODE.cmd&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 xcopy x:\neosys\data\&amp;lt;i&amp;gt;maindatabasecode&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;testdatabasecode&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
 eg. xcopy c:\neosys\data\&amp;lt;i&amp;gt;ALTOVIST&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;AVTEST&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
Run this file to test that it works fine.&lt;br /&gt;
&lt;br /&gt;
=== Setting up daily scheduled tasks ===&lt;br /&gt;
&amp;lt;b&amp;gt;Automatic Schedules:&amp;lt;/b&amp;gt;&lt;br /&gt;
NEOSYS automatically shuts down at 1am (was 2am) every morning for backup. It closes all the running processes and backups up to the selected drive.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Manually Configured Schedules:&amp;lt;/b&amp;gt; to be done under Scheduled Tasks&lt;br /&gt;
&lt;br /&gt;
Note: Under Windows 2008 Standard you need to UNTICK highest privileges and UNTICK run whether user is logged in or not as shown in the screen shots that follow:&lt;br /&gt;
&lt;br /&gt;
1. Create a task to start one Main database process at 6:00 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:start1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Create a second task to Copy Maindata to Testdata at 2:45 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:copy1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(For multiple sites on the same computer put the second site starting five minutes later at 6:05am, third site starting five minutes earlier at 5:55am, the third site starting five minutes later at 6:10am and so on.)&lt;br /&gt;
&lt;br /&gt;
Once created, test them to see that they are working correctly by running them directly using right click- Run.&lt;br /&gt;
&lt;br /&gt;
[[File:task1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Use web access and go to Support Menu, System Configuration File to request 3 processes for main database and 1 for test database).&lt;br /&gt;
&lt;br /&gt;
Please note that test running “copy test data” should be avoided while users are online but there is no problem testing the “daily 6am startup task” at any time since it will just add an additional process.&lt;br /&gt;
&lt;br /&gt;
=== Configuring NEOSYS to start automatically on server start-up / reboot ===&lt;br /&gt;
We no longer configure NEOSYS processes to start on reboot as we would like to know of the failures at the client side and hence whenever the server reboots we expect the client to inform us and we will start the process - or NEOSYS will start automatically next day at 6 am&lt;br /&gt;
&lt;br /&gt;
Unfortunately using this method the NEOSYS processes are not visible when you login as a user. &lt;br /&gt;
&lt;br /&gt;
[[Image:win_sch_task.jpg]]&lt;br /&gt;
&lt;br /&gt;
Schedule a task to run the main database file whenever the computer starts. In Windows 2008 you need to tick the options - Run whether user logged in or not and Run with highest privilege.&lt;br /&gt;
&lt;br /&gt;
Additional in Windows 2008: Tick Highest Priviledges and Run whether user logged in or not&lt;br /&gt;
&lt;br /&gt;
== Installing and upgrading NEOSYS pure accounting systems ==&lt;br /&gt;
&lt;br /&gt;
Basic installation using NEOSYS.EXE and upgrades using NEOSYS2.EXE are identical to the normal adagency installation process.&lt;br /&gt;
&lt;br /&gt;
Differences are as follows:&lt;br /&gt;
&lt;br /&gt;
# Maintenance shortcut to ACCOUNTS.BAT&lt;br /&gt;
# Process startup file contains &amp;quot;/system ACCOUNTS&amp;quot; instead of &amp;quot;/system ADAGENCY&amp;quot;&lt;br /&gt;
# Internet address is http://server/neosys/accounts.htm although it auto converts to http://server/neosys/default.htm??ACCOUNTS. Although not to be relied upon, the login page stores a cookie so even plain http://server/neosys or http://server/neosys/default.htm works thereafter until the cookie is lost. To get back to adagency login you use http://server/neosys/default.htm??ADAGENCY&lt;br /&gt;
# BACKUP.ZIP files created by ADAGENCY systems and ACCOUNTS systems are slightly incompatible with the result that restoring one in the other type of system will not work. NEOSYS programmers can convert from one type to the other but it is almost never required since any ad agency that only requires accounts only module is given the adagency version of NEOSYS and accounting only clients becoming ad agencies never happened.&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=688</id>
		<title>Installing NEOSYS Service</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=688"/>
		<updated>2011-06-23T12:09:16Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Installing initial Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= INSTALLING NEOSYS SERVICE =&lt;br /&gt;
&lt;br /&gt;
Reference to X:\ in the notes below denotes the actual drive letter and needs to be replaced (eg D:\)&lt;br /&gt;
&lt;br /&gt;
== Main installation: ==&lt;br /&gt;
&lt;br /&gt;
 Make sure NOT TO COPY an existing NEOSYS installation to another location and ONLY do a &lt;br /&gt;
 completely new install with a fresh database, because copying a folder will copy a variety of &lt;br /&gt;
 hidden configurations. &lt;br /&gt;
&lt;br /&gt;
=== Installing NEOSYS on partitions ===&lt;br /&gt;
Good server management practice is to have separate partitions for operating system (C:) and data partitions (D:)&lt;br /&gt;
 &lt;br /&gt;
In the case of operating system reinstallation (which causes the loss of the C: partition) if NEOSYS programs and data were installed on D: can be preserved. If there is only one partition then NEOSYS programs and data will have to be backed up and restored.&lt;br /&gt;
&lt;br /&gt;
==== Multiple Partitions ====&lt;br /&gt;
NEOSYS should be installed on a different partition rather than the C drive for reasons already explained above (eg. D drive)&lt;br /&gt;
&lt;br /&gt;
==== Single Partition ====&lt;br /&gt;
If there is only one partition then you have to inform the client to take the effort to reinstall the operating system or using third party repartitioning tools to create separate partitions.&lt;br /&gt;
 &lt;br /&gt;
=== Downloading and running installation files ===&lt;br /&gt;
# http://www.neosys.com/support/neosys.exe	... and unzip/install to X:\neosys (or to X:\hosts\clientcd for multi-installation on one server)&lt;br /&gt;
# http://www.neosys.com/support/neosys2.exe	... and install same as previous step.&lt;br /&gt;
&lt;br /&gt;
=== Creating shortcuts ===&lt;br /&gt;
In x:\neosys (or x:\hosts\clientcd), make a shortcut called ‘Maintenance’ and link it to&lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\adagency.bat (for Adagency install)&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
x:\neosys\neosys\accounts.bat (for Accounts install)&lt;br /&gt;
&lt;br /&gt;
=== Activating NEOSYS using authorization number ===&lt;br /&gt;
&lt;br /&gt;
Start NEOSYS Maintenance, select Initial Backup and it will give a “Computer Number” and ask for an “Authorisation No”&lt;br /&gt;
&lt;br /&gt;
Send the computer number to NEOSYS admin to get the authorization no.&lt;br /&gt;
&lt;br /&gt;
If you cannot get the authorization number immediately then you can close NEOSYS and when you reopen NEOSYS it will still give the same computer number and accept the same authorization number.&lt;br /&gt;
&lt;br /&gt;
=== Installing initial Database ===&lt;br /&gt;
&lt;br /&gt;
Download the initial database file from http://www.neosys.com/support/BACKUP.ZIP and place it in D drive (or any other drive) - but make sure that this file exists in the root folder i.e. D:\BACKUP.ZIP&lt;br /&gt;
&lt;br /&gt;
Follow the steps below:&lt;br /&gt;
#Click on the Maintenance icon.&lt;br /&gt;
#Select BASIC DATA SET and type in the admin username and password. (If the system does not prompt for a username and password,then go to Quit &amp;gt; Quit to next user and type the same in)&lt;br /&gt;
#If you do not enter with a username and password then NEOSYS will not allow you to restore the database. &lt;br /&gt;
#The first time when you enter maintenance you will get a command box (like when you do F5). If you do not get a command box, hit the F5 key to get one&lt;br /&gt;
#Go to General &amp;gt; Backup &amp;amp; Data Management, select Restore from disk or diskette (which is no 4), select D drive (or whichever drive you put the backup.zip file in) and follow the prompts ahead.&lt;br /&gt;
#After you have restored the BACKUP.ZIP file, it will ask you to switch to this database, say NO (because the switch to database option here brings you back to the BASIC DATA SET. Hence press the ESC button, type EXIT on the F5 prompt)&lt;br /&gt;
#Now startup maintenance again and this time select the STARTUP DATABASE. After you have logged in, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Delete a data set and delete the BASIC DATA SET.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Sometimes it may tell you that you cannot use FILEMAN as you are logged in as MASTER. Hence you need to hit the ESC key, go to General &amp;gt; Backup &amp;amp; Data Management &amp;gt; Restore from disk or diskette, select C drive (or whichever drive you put the backup.zip file in) and follow the prompts ahead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Assigning database codes ====&lt;br /&gt;
It is necessary to make sure that the following guidelines are met while creating database codes:&lt;br /&gt;
&lt;br /&gt;
#The code should be within 8 letters&lt;br /&gt;
#The client should be as recognisable as possible from the main database code&lt;br /&gt;
#The test database code should end with the TEST word and it is not necessary that it must be recognisable&lt;br /&gt;
#The test database code should always appear after the main database code at login&lt;br /&gt;
&lt;br /&gt;
Examples of wrong and right database codes:&lt;br /&gt;
&lt;br /&gt;
 ALTO VISTA ADVERTISING&lt;br /&gt;
 ALTOVIST and XALTTEST - right      AVISTA and AVTEST - wrong   (AVISTA not &amp;quot;as recognisable as possible&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 CONTEXTURE ASSOCIATES&lt;br /&gt;
 CONTEXT and XCONTEST - right       CONTEXT and CONTEST - wrong (CONTEST alphabetically first in the login screen database drop down)&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to start NEOSYS Service: ===&lt;br /&gt;
(Note: change x to the correct drive you have installed NEOSYS on)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start MAIN-DATABASE-CODE.cmd (eg start ALTOVIST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;databasecode&amp;lt;/b&amp;gt; is the code of the database)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file start TEST-DATABASE-CODE.cmd (eg start AVTEST.cmd)&lt;br /&gt;
&lt;br /&gt;
 x:&lt;br /&gt;
 cd \neosys\neosys&lt;br /&gt;
 Start neosys.js /system ADAGENCY /database &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;b&amp;gt;testdatabasecode&amp;lt;/b&amp;gt; is the code of the testdatabase)&lt;br /&gt;
(also you need to replace ADAGENCY with ACCOUNTS if this is an accounts only installation)&lt;br /&gt;
&lt;br /&gt;
TEST THAT THE FILES YOU HAVE CREATED CAN RUN SUCCESSFULLY&lt;br /&gt;
&lt;br /&gt;
ENSURE THAT YOU DO NOT CLOSE THE PROCESS WINDOWS BY USING THE X BUTTON. HIT ESC 3 TIMES ON EACH WINDOW.&lt;br /&gt;
&lt;br /&gt;
=== Differences for Pure Accounts Module Only Installations ===&lt;br /&gt;
Accounts module only has a slightly different startup command. In the above, replace &#039;&#039;&#039;/system adagency&#039;&#039;&#039; with &#039;&#039;&#039;/system accounts&#039;&#039;&#039; to startup a service and use &#039;&#039;&#039;accounts.bat&#039;&#039;&#039; instead of &#039;&#039;&#039;adagency.bat&#039;&#039;&#039; to start up maintenance. Other than that, accounts module setup is identical. Pure accounts clients are very few and tend not to upgrade often so care needs to be taken when upgrading. Upgrade is perhaps surprisingly done using the adagency.exe file.&lt;br /&gt;
&lt;br /&gt;
=== Creating a .CMD file to copy maindata to testdata ===&lt;br /&gt;
&lt;br /&gt;
In x:\neosys create a file &amp;lt;B&amp;gt;copy MAINDATABASECODE to TESTDABASECODE.cmd&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 xcopy x:\neosys\data\&amp;lt;i&amp;gt;maindatabasecode&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;testdatabasecode&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
 eg. xcopy c:\neosys\data\&amp;lt;i&amp;gt;ALTOVIST&amp;lt;/i&amp;gt; x:\neosys\data\&amp;lt;i&amp;gt;AVTEST&amp;lt;/i&amp;gt; /s /y&lt;br /&gt;
&lt;br /&gt;
Run this file to test that it works fine.&lt;br /&gt;
&lt;br /&gt;
=== Setting up daily scheduled tasks ===&lt;br /&gt;
&amp;lt;b&amp;gt;Automatic Schedules:&amp;lt;/b&amp;gt;&lt;br /&gt;
NEOSYS automatically shuts down at 1am (was 2am) every morning for backup. It closes all the running processes and backups up to the selected drive.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Manually Configured Schedules:&amp;lt;/b&amp;gt; to be done under Scheduled Tasks&lt;br /&gt;
&lt;br /&gt;
Note: Under Windows 2008 Standard you need to UNTICK highest privileges and UNTICK run whether user is logged in or not as shown in the screen shots that follow:&lt;br /&gt;
&lt;br /&gt;
1. Create a task to start one Main database process at 6:00 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:start1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:start3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Create a second task to Copy Maindata to Testdata at 2:45 am daily.&lt;br /&gt;
&lt;br /&gt;
[[File:copy1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy2.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy3.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(For multiple sites on the same computer put the second site starting five minutes later at 6:05am, third site starting five minutes earlier at 5:55am, the third site starting five minutes later at 6:10am and so on.)&lt;br /&gt;
&lt;br /&gt;
Once created, test them to see that they are working correctly by running them directly using right click- Run.&lt;br /&gt;
&lt;br /&gt;
[[File:task1.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Use web access and go to Support Menu, System Configuration File to request 3 processes for main database and 1 for test database).&lt;br /&gt;
&lt;br /&gt;
Please note that test running “copy test data” should be avoided while users are online but there is no problem testing the “daily 6am startup task” at any time since it will just add an additional process.&lt;br /&gt;
&lt;br /&gt;
=== Configuring NEOSYS to start automatically on server start-up / reboot ===&lt;br /&gt;
We no longer configure NEOSYS processes to start on reboot as we would like to know of the failures at the client side and hence whenever the server reboots we expect the client to inform us and we will start the process - or NEOSYS will start automatically next day at 6 am&lt;br /&gt;
&lt;br /&gt;
Unfortunately using this method the NEOSYS processes are not visible when you login as a user. &lt;br /&gt;
&lt;br /&gt;
[[Image:win_sch_task.jpg]]&lt;br /&gt;
&lt;br /&gt;
Schedule a task to run the main database file whenever the computer starts. In Windows 2008 you need to tick the options - Run whether user logged in or not and Run with highest privilege.&lt;br /&gt;
&lt;br /&gt;
Additional in Windows 2008: Tick Highest Priviledges and Run whether user logged in or not&lt;br /&gt;
&lt;br /&gt;
== Installing and upgrading NEOSYS pure accounting systems ==&lt;br /&gt;
&lt;br /&gt;
Basic installation using NEOSYS.EXE and upgrades using NEOSYS2.EXE are identical to the normal adagency installation process.&lt;br /&gt;
&lt;br /&gt;
Differences are as follows:&lt;br /&gt;
&lt;br /&gt;
# Maintenance shortcut to ACCOUNTS.BAT&lt;br /&gt;
# Process startup file contains &amp;quot;/system ACCOUNTS&amp;quot; instead of &amp;quot;/system ADAGENCY&amp;quot;&lt;br /&gt;
# Internet address is http://server/neosys/accounts.htm although it auto converts to http://server/neosys/default.htm??ACCOUNTS. Although not to be relied upon, the login page stores a cookie so even plain http://server/neosys or http://server/neosys/default.htm works thereafter until the cookie is lost. To get back to adagency login you use http://server/neosys/default.htm??ADAGENCY&lt;br /&gt;
# BACKUP.ZIP files created by ADAGENCY systems and ACCOUNTS systems are slightly incompatible with the result that restoring one in the other type of system will not work. NEOSYS programmers can convert from one type to the other but it is almost never required since any ad agency that only requires accounts only module is given the adagency version of NEOSYS and accounting only clients becoming ad agencies never happened.&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=683</id>
		<title>Handling damaged files</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=683"/>
		<updated>2011-05-24T13:53:54Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Fixing damaged file that have a process to recreate them */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Symptoms ==&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;A Damaged file has been found..... ((the rest of this message to be completed)) &lt;br /&gt;
 Group format Error:&lt;br /&gt;
 OS File : BOOKING.TEXTS&lt;br /&gt;
 Group# : 00000932&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
&lt;br /&gt;
== Cause ==&lt;br /&gt;
Rare but nasty problem on server 99% caused by power failure, killing NEOSYS or server hardware or operating system failure.&lt;br /&gt;
&lt;br /&gt;
*Did somebody kill NEOSYS processes to reboot the server or any other reason?&lt;br /&gt;
*Was there a power cut?&lt;br /&gt;
*Any expected or unexpected reboots in the server log? (see Event Viewer &amp;gt; System Log)&lt;br /&gt;
*Enough disk free space especially on servers not dedicated to NEOSYS?&lt;br /&gt;
*Third party software running on NEOSYS server?&lt;br /&gt;
*RAID installed on the server?&lt;br /&gt;
*Did windows update happen?&lt;br /&gt;
&lt;br /&gt;
== Solution==&lt;br /&gt;
&lt;br /&gt;
Damaged files, when detected, cause an immediate termination of the currently executing program/user request and a restart of the process is involved. Some damaged files are automatically fixed during restart. Although the process &amp;quot;restarts&amp;quot; it may be internally corrupted in some way and it is advisable to close it completely and start or allow another process to start automatically.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
However, the solution always depends on the cause and usually often requires aggressive interrogation to discover the cause.&lt;br /&gt;
&lt;br /&gt;
== Recovery==&lt;br /&gt;
&lt;br /&gt;
It is URGENT to stop using NEOSYS and fix the damaged file because it will cause NEOSYS to crash everytime it happens to update that part of the file. NEOSYS crashing while updating often produces unrecoverable inconsistencies in the database that can only be fixed by programmers sitting for hours trying to edit the database .... or by restoring from a backup causing loss of work.&lt;br /&gt;
&lt;br /&gt;
See the following sections how to patch the damaged files.&lt;br /&gt;
&lt;br /&gt;
== Files that are automatically fixed ==&lt;br /&gt;
&lt;br /&gt;
*LISTS&lt;br /&gt;
*LOCKS&lt;br /&gt;
*!INDEXING&lt;br /&gt;
&lt;br /&gt;
The above files are automatically checked for corruption (and initialised to empty if so) when you &lt;br /&gt;
startup a NEOSYS process and do not require any manual intervention apart from locating and eliminating the initial cause of the damage.&lt;br /&gt;
&lt;br /&gt;
If the !INDEXING file was damaged then you should also do REINDEXALL to reinstate any possibly missing index entries, but since this will take a long time&lt;br /&gt;
you should do this when everybody is off the system in the evening probably. A few missing index entries may only mean some records missing from some reports which may or may not be seriously inconvenient. It is a temporary file that should not hold any records for longer than it takes to update the various indexes immediately when the user saves any document.&lt;br /&gt;
&lt;br /&gt;
Each process has its own LISTS file, so damage is limited to one process for the LISTS file. The process number can be seen in the error message. for example:&lt;br /&gt;
&lt;br /&gt;
 Process=7&lt;br /&gt;
&lt;br /&gt;
You can also see the process number on the server screen. For example here is a process 2.&lt;br /&gt;
&lt;br /&gt;
 13:17:31 TESTDB NEOS0002 0 Listening 7 hours, 49 mins ...&lt;br /&gt;
&lt;br /&gt;
The LISTS file is a temporary file for sorting records into order for reports, popups etc. Therefore any damage usually causes no real inconvenience apart from the failed report or popup on which the user might receive the &amp;quot;damaged LISTS file&amp;quot; message.&lt;br /&gt;
&lt;br /&gt;
The error message would appear as follows :&lt;br /&gt;
&lt;br /&gt;
 SYSTEM ERROR:&lt;br /&gt;
 An internal file LISTS was found&lt;br /&gt;
 to be damaged and has been patched.&lt;br /&gt;
 INFORM YOUR TECHNICAL SUPPORT&amp;lt;br&amp;gt;&lt;br /&gt;
 SOME DATA HAS PROBABLY BEEN LOST&lt;br /&gt;
 AND THE NEOSYS SYSTEM MAY MALFUNCTION&amp;lt;br&amp;gt;&lt;br /&gt;
 Server=NEOSYS-SERVER&lt;br /&gt;
 Install=D:\NEOSYS\NEOSYS\&lt;br /&gt;
 Version=17:16:04  23 JAN 2011&lt;br /&gt;
 Database=1D68EE63 ADLINED&lt;br /&gt;
 Process=2&lt;br /&gt;
&lt;br /&gt;
The error could also appear as follows :&lt;br /&gt;
&lt;br /&gt;
 A DAMAGED FILE HAS BEEN FOUND.&lt;br /&gt;
 YOU MUST GIVE THE FOLLOWING MESSAGE TO TECHNICAL SUPPORT NOW.&lt;br /&gt;
 DO NOT CONTINUE USING THE SYSTEM!&amp;lt;br&amp;gt;&lt;br /&gt;
 Group Format Error:&lt;br /&gt;
 File    : LISTS&lt;br /&gt;
 Group # : 00000014&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
 Server=NEOSYS-SERVER&lt;br /&gt;
 Install=D:\NEOSYS\NEOSYS\&lt;br /&gt;
 Version=17:16:04  23 JAN 2011&lt;br /&gt;
 Database=1D68EE63 ADLINED&lt;br /&gt;
 Process=2&lt;br /&gt;
&lt;br /&gt;
Please note that both the above messages mean the same.&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged file that have a process to recreate them ==&lt;br /&gt;
&lt;br /&gt;
Below files can be recreated from the maintenance mode.&lt;br /&gt;
&lt;br /&gt;
ADS file can be recreated with F5 CREATEADS&lt;br /&gt;
&lt;br /&gt;
ANALYSIS file can be recreated with F5 CREATEANALYSIS&lt;br /&gt;
&lt;br /&gt;
BRANDS files can be recreated with F5 CREATEBRANDS&lt;br /&gt;
&lt;br /&gt;
If the file is actually damaged it might be necessary to initialise it first using CLEARFILE filename.&lt;br /&gt;
&lt;br /&gt;
 The following is an example of the error in the ADS File at the time of backup.&lt;br /&gt;
&lt;br /&gt;
  Group Format Error:&lt;br /&gt;
  OS File : ADS&lt;br /&gt;
  Group # : 00009543&lt;br /&gt;
  Record length incorrect or frame linkage error.&lt;br /&gt;
  217 files checked.&lt;br /&gt;
  Failed with 1 errors&lt;br /&gt;
  !!! DANGER !!!&lt;br /&gt;
  !!! DAMAGED FILES HAVE BEEN FOUND IN THE NEOSYS SYSTEM !!!&lt;br /&gt;
  !!! BACKUP NOT DONE !!!&lt;br /&gt;
&lt;br /&gt;
  Error while writing data.&lt;br /&gt;
  You have attempted to write to a read-only file.&lt;br /&gt;
                      - or -&lt;br /&gt;
  access to the file has been denied by the operating system.&lt;br /&gt;
  (operating system file name: &amp;quot;ADS&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Explanation: The last four lines are very rare and can be seen with the above error messages in the backup email.  The above message indicates that external application is trying to access the backup files at the time of backup.&lt;br /&gt;
&lt;br /&gt;
Before doing the solution below, please check the number of damaged files on the database by running CHK.FILES in maintenance mode. [CHK.FILES can be done when users are online]&lt;br /&gt;
&lt;br /&gt;
Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; Stop all the processes before doing the below procedure.&lt;br /&gt;
&lt;br /&gt;
Procedure to run CREATESADS is as under &lt;br /&gt;
&lt;br /&gt;
Login to maintenance&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 CREATEXXXX&lt;br /&gt;
&lt;br /&gt;
(XXXX = ADS, ANALYSIS OR BRANDS)&lt;br /&gt;
&lt;br /&gt;
Select the option appropriate option and start the procedure and hit ENTER&lt;br /&gt;
&lt;br /&gt;
To verify if the above is done successfully and check if the damage files is fixed in the database run CHK.FILES or CHK.FILES FILENAME(Recommended)from this link: http://techwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Checking_for_corrupt_database_files&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged index files (names starting with !) ==&lt;br /&gt;
&lt;br /&gt;
Whilst backing up or using NEOSYS the following error message might appear:&lt;br /&gt;
 &lt;br /&gt;
 &amp;quot;A Damaged file has been found.....&lt;br /&gt;
 Group format Error:&lt;br /&gt;
 OS File : !ADS&lt;br /&gt;
 Group# : 00000932&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
&lt;br /&gt;
#Ensure that no-one is using NEOSYS&lt;br /&gt;
#Log into NEOSYS on the server&lt;br /&gt;
#Press F5 to get a TCL command box&lt;br /&gt;
#Type REINDEXADS and press enter.&lt;br /&gt;
#Wait until it finishes and you get back to the command box&lt;br /&gt;
#Type OFF in the command box and you will quit NEOSYS.&lt;br /&gt;
&lt;br /&gt;
Other reindex commands are:&lt;br /&gt;
&lt;br /&gt;
*REINDEXACCOUNTS	recreates !ACCOUNTS, !BATCHES and !VOUCHERS&lt;br /&gt;
*REINDEXADDRESSES &lt;br /&gt;
*REINDEXADS&lt;br /&gt;
*REINDEXBOOKINGS	recreates !BOOKING.ORDERS&lt;br /&gt;
*REINDEXBRANDS&lt;br /&gt;
*REINDEXCLIENTS&lt;br /&gt;
*REINDEXINVS		recreates !INVOICES&lt;br /&gt;
*REINDEXJOBS&lt;br /&gt;
*REINDEXMATERIALS&lt;br /&gt;
*REINDEXPLANS&lt;br /&gt;
*REINDEXPRODINVS	recreates !PRODUCTION.INVOICES&lt;br /&gt;
*REINDEXPRODORDERS	recreates !PRODUCTION.ORDERS&lt;br /&gt;
*REINDEXRATECARDS&lt;br /&gt;
*REINDEXSCHEDULES&lt;br /&gt;
*REINDEXSUPPLIERS&lt;br /&gt;
*REINDEXTIMESHEETS&lt;br /&gt;
*REINDEXVEHICLES&lt;br /&gt;
&lt;br /&gt;
REINDEXMEDIA does all the following&lt;br /&gt;
*REINDEXPLANS&lt;br /&gt;
*REINDEXSCHEDULES&lt;br /&gt;
*REINDEXADS&lt;br /&gt;
*REINDEXMATERIALS&lt;br /&gt;
*REINDEXBOOKINGS&lt;br /&gt;
&lt;br /&gt;
REINDEXFILES does all the following&lt;br /&gt;
*REINDEXCLIENTS&lt;br /&gt;
*REINDEXBRANDS&lt;br /&gt;
*REINDEXSUPPLIERS&lt;br /&gt;
*REINDEXVEHICLES&lt;br /&gt;
*REINDEXRATECARDS&lt;br /&gt;
&lt;br /&gt;
REINDEXPRODUCTION does all the following&lt;br /&gt;
*REINDEXJOBS&lt;br /&gt;
*REINDEXPRODORDERS&lt;br /&gt;
*REINDEXPRODINVS&lt;br /&gt;
*REINDEXTIMESHEETS&lt;br /&gt;
&lt;br /&gt;
REINDEXALL does all the following&lt;br /&gt;
*REINDEXMEDIA&lt;br /&gt;
*REINDEXPRODUCTION&lt;br /&gt;
*REINDEXFILES&lt;br /&gt;
*REINDEXINVS&lt;br /&gt;
*REINDEXACCOUNTS&lt;br /&gt;
*REINDEXADDRESSES&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged files that have no process for recreating them ==&lt;br /&gt;
&lt;br /&gt;
Some damaged files can be rebuilt using NEOSYS utilities especially index files with filenames starting with !. Other damaged files like &#039;&#039;LOG20xx&#039;&#039; can be “fixed” to prevent NEOSYS crashes as follows &amp;lt;i&amp;gt;but some records will most probably be lost&amp;lt;/i&amp;gt;. Depending on the file loss of a few records may not be too bad compared to restoring a database but the client should be informed and make the decision. Depending on the file it is usually best to lose the records. We can make a list of files that one can afford to lose records and those files that can be rebuilt programmatically from other files. Booking order texts they can lose records but inform them and especially the numbers mentioned in FIXFILE&lt;br /&gt;
&lt;br /&gt;
FIXFILE will not run if there are neosys services still running so before doing the FIXFILE command, shut down services from the Support menu or with the Global command:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; If there are multiple datasets running on the server. Shut down the particular dataset which has got the problem:&lt;br /&gt;
&lt;br /&gt;
F5&lt;br /&gt;
&lt;br /&gt;
 FIXFILE filename&lt;br /&gt;
&lt;br /&gt;
(Select option 1 to update the file)&lt;br /&gt;
&lt;br /&gt;
In case you get any Overwrite messages – type YES, as these are the actual files being updated.&lt;br /&gt;
&lt;br /&gt;
The only alternative is restore from a previous backup in this case losing a days work. Nasty, and even worse, it will be impossible to reproduce the days work and especially the exact serial numbers of critical documents like orders, invoices, receipts and payments advices.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Using FIXFILE to repair corrupted files ===&lt;br /&gt;
&lt;br /&gt;
BEWARE: FIXFILE causes loss of data. If the data is critical then use of FIXFILE can be totally catastrophic without any warning.&lt;br /&gt;
 &lt;br /&gt;
Using FIXFILE on some files is a guaranteed way to cause complete chaos for the users without them being aware of it until too late to do anything about it.&lt;br /&gt;
&lt;br /&gt;
Corrupt files will cause programs to abort every time they try to update that section of the file. Aborting programs causes possibly horrendous inconsistency in the database so it is important to stop all user activity and fix the corrupt file immediately.&lt;br /&gt;
&lt;br /&gt;
You can freely use FIXFILE on any file but it works by deleting any problematic data so cannot realistically be used on some files at all.&lt;br /&gt;
&lt;br /&gt;
FIXFILE cannot and does not recover any corrupted records therefore, for those files that have specific programs to rebuild them, FIXFILE is not the correct option.&lt;br /&gt;
&lt;br /&gt;
Why use FIXFILE at all since it causes loss of data?&lt;br /&gt;
&lt;br /&gt;
Many files do not have programs to rebuild them and for some of those files, using FIXFILE is a quick way to get the system back in operation BUT with missing records. Missing records causes various degrees of failure ranging from the odd document missing, totally misleading information like wrong account balances, or any kind of system failure.&lt;br /&gt;
&lt;br /&gt;
FIXFILE does not fix the consistency of information in the database. When the database is is being updated with a transaction, usually a series of files are updated for the one transaction. A damaged file causes the update program to abort in the middle of the series of updates. Therefore some of the updates are done and the remaining updates are not done. This means that the data in the database (even after fixing the corrupt file) is inconsistent.&lt;br /&gt;
 &lt;br /&gt;
FIXFILE merely fixes the technical structure of the file so that any further program accesses to that portion of the file do not cause immediate program termination and consequent likely catastrophic database inconsistency.&lt;br /&gt;
 &lt;br /&gt;
You must prevent anyone from accessing NEOSYS while FIXFILE is running.&lt;br /&gt;
&lt;br /&gt;
=== Fixing Damaged DEFINITIONS file ===&lt;br /&gt;
 &lt;br /&gt;
==== Non-Solution ====&lt;br /&gt;
 &lt;br /&gt;
You will probably not be able to login if the DEFINITIONS FILE is damaged. You can press Alt+S and type EXECUTE to get a TCL command box but this still doesnt help because you cannot use FIXFILE on DEFINITIONS.&lt;br /&gt;
 &lt;br /&gt;
CAUTION: DO NOT USE FIXFILE TO TRY AND FIX THE DEFINITIONS FILE.&lt;br /&gt;
 &lt;br /&gt;
DOUBLE CAUTION: IN CASE YOU DECIDE TO IGNORE THIS EXPECT ALL KINDS OF HORRIBLE PROBLEMS IN THE DATABASE REQUIRING A COMPLETE RESTORE FROM A GOOD BACKUP AFTER A FEW DAYS OF PAIN BECAUSE RANDOM OLD DATABASE UPGRADE/CONVERSIONS WILL BE PERFORMED *AGAIN* WITHOUT YOU KNOWING IT.&lt;br /&gt;
 &lt;br /&gt;
==== Partial Restore ====&lt;br /&gt;
 &lt;br /&gt;
You can copy recent DEFINITIONS.LK and DEFINITIONS.OV files from the DATA\datasetcode\GENERAL folder.&lt;br /&gt;
 &lt;br /&gt;
CAUTION: All changes done in the Configuration File, Authorisation File, Users File and various other changes will be reverted to the date of the DEFINITIONS files being restored. If you are restoring from last nights backup or testdata then this will not be much but could cause serious confusion to people who have changed their passwords etc.&lt;br /&gt;
&lt;br /&gt;
==== Full Restore ====&lt;br /&gt;
&lt;br /&gt;
Restore from your latest backup losing all work done since that time and date.&lt;br /&gt;
&lt;br /&gt;
=== Preventing users from accessing NEOSYS in order to do maintenance or repairs ===&lt;br /&gt;
 &lt;br /&gt;
On most systems you can simply stop the NEOSYS processes. On other systems where NEOSYS processes are automatically started in response to requests from the web, you need to disable the autostart by one of the following methods&lt;br /&gt;
 &lt;br /&gt;
# Stop the autostart program/script&lt;br /&gt;
# Put a file called NET.CFG with a single line saying AUTOSTART=NO in the neosys\neosys folder&lt;br /&gt;
# Stop the IIS server&lt;br /&gt;
# Stop/Pause the particular web in question&lt;br /&gt;
&lt;br /&gt;
== Dealing with damaged files that cannot be fixed ==&lt;br /&gt;
&lt;br /&gt;
If programmers are unable to fix the damage in a reasonably period of time and the damage is caused due to matters beyond NEOSYS control such as non-dedicated servers and power failures then data must be restored and client advised why they are going to suffer loss of data.&lt;br /&gt;
 &lt;br /&gt;
THIS DOES NOT RELEASE NEOSYS SUPPORT STAFF FROM THE OBLIGATION TO PROACTIVELY INFORM THE CLIENT OF MEASURES TO PREVENT THE RECURRENCE OF THE EVENT.&lt;br /&gt;
&lt;br /&gt;
The following are the steps to follow:&lt;br /&gt;
&lt;br /&gt;
# Ascertain the cause of the damage to the database by looking at the internal logs&lt;br /&gt;
# Create a new database from the damaged one as it will contain the up to date but damaged database.&lt;br /&gt;
# Restore the database from the backup media so that the database is in the last good known state. &lt;br /&gt;
# The client can see what work was done over the past couple of days from the damaged database and it will assist them to redo the work in the currently restored out of date main database.&lt;br /&gt;
# Next discuss with the client about the cause of the damage and (a) what to do to prevent the damage occurring again (b) to agree a procedure to perform a manual backup in case the automatic one is not performed for any reason overnight.&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=682</id>
		<title>Handling damaged files</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=682"/>
		<updated>2011-05-24T09:49:30Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Fixing damaged file that have a process to recreate them */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Symptoms ==&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;A Damaged file has been found..... ((the rest of this message to be completed)) &lt;br /&gt;
 Group format Error:&lt;br /&gt;
 OS File : BOOKING.TEXTS&lt;br /&gt;
 Group# : 00000932&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
&lt;br /&gt;
== Cause ==&lt;br /&gt;
Rare but nasty problem on server 99% caused by power failure, killing NEOSYS or server hardware or operating system failure.&lt;br /&gt;
&lt;br /&gt;
*Did somebody kill NEOSYS processes to reboot the server or any other reason?&lt;br /&gt;
*Was there a power cut?&lt;br /&gt;
*Any expected or unexpected reboots in the server log? (see Event Viewer &amp;gt; System Log)&lt;br /&gt;
*Enough disk free space especially on servers not dedicated to NEOSYS?&lt;br /&gt;
*Third party software running on NEOSYS server?&lt;br /&gt;
*RAID installed on the server?&lt;br /&gt;
*Did windows update happen?&lt;br /&gt;
&lt;br /&gt;
== Solution==&lt;br /&gt;
&lt;br /&gt;
Damaged files, when detected, cause an immediate termination of the currently executing program/user request and a restart of the process is involved. Some damaged files are automatically fixed during restart. Although the process &amp;quot;restarts&amp;quot; it may be internally corrupted in some way and it is advisable to close it completely and start or allow another process to start automatically.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
However, the solution always depends on the cause and usually often requires aggressive interrogation to discover the cause.&lt;br /&gt;
&lt;br /&gt;
== Recovery==&lt;br /&gt;
&lt;br /&gt;
It is URGENT to stop using NEOSYS and fix the damaged file because it will cause NEOSYS to crash everytime it happens to update that part of the file. NEOSYS crashing while updating often produces unrecoverable inconsistencies in the database that can only be fixed by programmers sitting for hours trying to edit the database .... or by restoring from a backup causing loss of work.&lt;br /&gt;
&lt;br /&gt;
See the following sections how to patch the damaged files.&lt;br /&gt;
&lt;br /&gt;
== Files that are automatically fixed ==&lt;br /&gt;
&lt;br /&gt;
*LISTS&lt;br /&gt;
*LOCKS&lt;br /&gt;
*!INDEXING&lt;br /&gt;
&lt;br /&gt;
The above files are automatically checked for corruption (and initialised to empty if so) when you &lt;br /&gt;
startup a NEOSYS process and do not require any manual intervention apart from locating and eliminating the initial cause of the damage.&lt;br /&gt;
&lt;br /&gt;
If the !INDEXING file was damaged then you should also do REINDEXALL to reinstate any possibly missing index entries, but since this will take a long time&lt;br /&gt;
you should do this when everybody is off the system in the evening probably. A few missing index entries may only mean some records missing from some reports which may or may not be seriously inconvenient. It is a temporary file that should not hold any records for longer than it takes to update the various indexes immediately when the user saves any document.&lt;br /&gt;
&lt;br /&gt;
Each process has its own LISTS file, so damage is limited to one process for the LISTS file. The process number can be seen in the error message. for example:&lt;br /&gt;
&lt;br /&gt;
 Process=7&lt;br /&gt;
&lt;br /&gt;
You can also see the process number on the server screen. For example here is a process 2.&lt;br /&gt;
&lt;br /&gt;
 13:17:31 TESTDB NEOS0002 0 Listening 7 hours, 49 mins ...&lt;br /&gt;
&lt;br /&gt;
The LISTS file is a temporary file for sorting records into order for reports, popups etc. Therefore any damage usually causes no real inconvenience apart from the failed report or popup on which the user might receive the &amp;quot;damaged LISTS file&amp;quot; message.&lt;br /&gt;
&lt;br /&gt;
The error message would appear as follows :&lt;br /&gt;
&lt;br /&gt;
 SYSTEM ERROR:&lt;br /&gt;
 An internal file LISTS was found&lt;br /&gt;
 to be damaged and has been patched.&lt;br /&gt;
 INFORM YOUR TECHNICAL SUPPORT&amp;lt;br&amp;gt;&lt;br /&gt;
 SOME DATA HAS PROBABLY BEEN LOST&lt;br /&gt;
 AND THE NEOSYS SYSTEM MAY MALFUNCTION&amp;lt;br&amp;gt;&lt;br /&gt;
 Server=NEOSYS-SERVER&lt;br /&gt;
 Install=D:\NEOSYS\NEOSYS\&lt;br /&gt;
 Version=17:16:04  23 JAN 2011&lt;br /&gt;
 Database=1D68EE63 ADLINED&lt;br /&gt;
 Process=2&lt;br /&gt;
&lt;br /&gt;
The error could also appear as follows :&lt;br /&gt;
&lt;br /&gt;
 A DAMAGED FILE HAS BEEN FOUND.&lt;br /&gt;
 YOU MUST GIVE THE FOLLOWING MESSAGE TO TECHNICAL SUPPORT NOW.&lt;br /&gt;
 DO NOT CONTINUE USING THE SYSTEM!&amp;lt;br&amp;gt;&lt;br /&gt;
 Group Format Error:&lt;br /&gt;
 File    : LISTS&lt;br /&gt;
 Group # : 00000014&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
 Server=NEOSYS-SERVER&lt;br /&gt;
 Install=D:\NEOSYS\NEOSYS\&lt;br /&gt;
 Version=17:16:04  23 JAN 2011&lt;br /&gt;
 Database=1D68EE63 ADLINED&lt;br /&gt;
 Process=2&lt;br /&gt;
&lt;br /&gt;
Please note that both the above messages mean the same.&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged file that have a process to recreate them ==&lt;br /&gt;
&lt;br /&gt;
Below files can be recreated from the maintenance mode.&lt;br /&gt;
&lt;br /&gt;
ADS file can be recreated with F5 CREATEADS&lt;br /&gt;
&lt;br /&gt;
ANALYSIS file can be recreated with F5 CREATEANALYSIS&lt;br /&gt;
&lt;br /&gt;
BRANDS files can be recreated with F5 CREATEBRANDS&lt;br /&gt;
&lt;br /&gt;
If the file is actually damaged it might be necessary to initialise it first using CLEARFILE filename.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Symptoms&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 While backup up the following error might appear&lt;br /&gt;
  Group Format Error:&lt;br /&gt;
  OS File : ADS&lt;br /&gt;
  Group # : 00009543&lt;br /&gt;
  Record length incorrect or frame linkage error.&lt;br /&gt;
  217 files checked.&lt;br /&gt;
  Failed with 1 errors&lt;br /&gt;
  !!! DANGER !!!&lt;br /&gt;
  !!! DAMAGED FILES HAVE BEEN FOUND IN THE NEOSYS SYSTEM !!!&lt;br /&gt;
  !!! BACKUP NOT DONE !!!&lt;br /&gt;
&lt;br /&gt;
Explanation: An AD file is damaged while doing a nightly backup.&lt;br /&gt;
&lt;br /&gt;
  Error while writing data.&lt;br /&gt;
  You have attempted to write to a read-only file.&lt;br /&gt;
                      - or -&lt;br /&gt;
  access to the file has been denied by the operating system.&lt;br /&gt;
  (operating system file name: &amp;quot;ADS&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Explanation: This message is very rare and can be seen with the above error messages in the backup email.  The above message says, some thing is trying to access the files at the time of backup.&lt;br /&gt;
&lt;br /&gt;
Before doing the solution below, please check the number of damaged files for the database by running CHK.FILES in maintenance mode. [This can be done when users are online]&lt;br /&gt;
&lt;br /&gt;
Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; Stop all the processes before doing the below procedure.&lt;br /&gt;
&lt;br /&gt;
Procedure to run CREATESADS is as under &lt;br /&gt;
&lt;br /&gt;
Login to maintenance&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 CREATEXXXX&lt;br /&gt;
&lt;br /&gt;
(XXXX = ADS, ANALYSIS OR BRANDS)&lt;br /&gt;
&lt;br /&gt;
Select the option appropriate option and start the procedure and hit ENTER&lt;br /&gt;
&lt;br /&gt;
To verify if the above is done successfully and check if the damage files is fixed in the database run CHK.FILES or CHK.FILES FILENAME(Recommended)from this link: http://techwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Checking_for_corrupt_database_files&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged index files (names starting with !) ==&lt;br /&gt;
&lt;br /&gt;
Whilst backing up or using NEOSYS the following error message might appear:&lt;br /&gt;
 &lt;br /&gt;
 &amp;quot;A Damaged file has been found.....&lt;br /&gt;
 Group format Error:&lt;br /&gt;
 OS File : !ADS&lt;br /&gt;
 Group# : 00000932&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
&lt;br /&gt;
#Ensure that no-one is using NEOSYS&lt;br /&gt;
#Log into NEOSYS on the server&lt;br /&gt;
#Press F5 to get a TCL command box&lt;br /&gt;
#Type REINDEXADS and press enter.&lt;br /&gt;
#Wait until it finishes and you get back to the command box&lt;br /&gt;
#Type OFF in the command box and you will quit NEOSYS.&lt;br /&gt;
&lt;br /&gt;
Other reindex commands are:&lt;br /&gt;
&lt;br /&gt;
*REINDEXACCOUNTS	recreates !ACCOUNTS, !BATCHES and !VOUCHERS&lt;br /&gt;
*REINDEXADDRESSES &lt;br /&gt;
*REINDEXADS&lt;br /&gt;
*REINDEXBOOKINGS	recreates !BOOKING.ORDERS&lt;br /&gt;
*REINDEXBRANDS&lt;br /&gt;
*REINDEXCLIENTS&lt;br /&gt;
*REINDEXINVS		recreates !INVOICES&lt;br /&gt;
*REINDEXJOBS&lt;br /&gt;
*REINDEXMATERIALS&lt;br /&gt;
*REINDEXPLANS&lt;br /&gt;
*REINDEXPRODINVS	recreates !PRODUCTION.INVOICES&lt;br /&gt;
*REINDEXPRODORDERS	recreates !PRODUCTION.ORDERS&lt;br /&gt;
*REINDEXRATECARDS&lt;br /&gt;
*REINDEXSCHEDULES&lt;br /&gt;
*REINDEXSUPPLIERS&lt;br /&gt;
*REINDEXTIMESHEETS&lt;br /&gt;
*REINDEXVEHICLES&lt;br /&gt;
&lt;br /&gt;
REINDEXMEDIA does all the following&lt;br /&gt;
*REINDEXPLANS&lt;br /&gt;
*REINDEXSCHEDULES&lt;br /&gt;
*REINDEXADS&lt;br /&gt;
*REINDEXMATERIALS&lt;br /&gt;
*REINDEXBOOKINGS&lt;br /&gt;
&lt;br /&gt;
REINDEXFILES does all the following&lt;br /&gt;
*REINDEXCLIENTS&lt;br /&gt;
*REINDEXBRANDS&lt;br /&gt;
*REINDEXSUPPLIERS&lt;br /&gt;
*REINDEXVEHICLES&lt;br /&gt;
*REINDEXRATECARDS&lt;br /&gt;
&lt;br /&gt;
REINDEXPRODUCTION does all the following&lt;br /&gt;
*REINDEXJOBS&lt;br /&gt;
*REINDEXPRODORDERS&lt;br /&gt;
*REINDEXPRODINVS&lt;br /&gt;
*REINDEXTIMESHEETS&lt;br /&gt;
&lt;br /&gt;
REINDEXALL does all the following&lt;br /&gt;
*REINDEXMEDIA&lt;br /&gt;
*REINDEXPRODUCTION&lt;br /&gt;
*REINDEXFILES&lt;br /&gt;
*REINDEXINVS&lt;br /&gt;
*REINDEXACCOUNTS&lt;br /&gt;
*REINDEXADDRESSES&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged files that have no process for recreating them ==&lt;br /&gt;
&lt;br /&gt;
Some damaged files can be rebuilt using NEOSYS utilities especially index files with filenames starting with !. Other damaged files like &#039;&#039;LOG20xx&#039;&#039; can be “fixed” to prevent NEOSYS crashes as follows &amp;lt;i&amp;gt;but some records will most probably be lost&amp;lt;/i&amp;gt;. Depending on the file loss of a few records may not be too bad compared to restoring a database but the client should be informed and make the decision. Depending on the file it is usually best to lose the records. We can make a list of files that one can afford to lose records and those files that can be rebuilt programmatically from other files. Booking order texts they can lose records but inform them and especially the numbers mentioned in FIXFILE&lt;br /&gt;
&lt;br /&gt;
FIXFILE will not run if there are neosys services still running so before doing the FIXFILE command, shut down services from the Support menu or with the Global command:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; If there are multiple datasets running on the server. Shut down the particular dataset which has got the problem:&lt;br /&gt;
&lt;br /&gt;
F5&lt;br /&gt;
&lt;br /&gt;
 FIXFILE filename&lt;br /&gt;
&lt;br /&gt;
(Select option 1 to update the file)&lt;br /&gt;
&lt;br /&gt;
In case you get any Overwrite messages – type YES, as these are the actual files being updated.&lt;br /&gt;
&lt;br /&gt;
The only alternative is restore from a previous backup in this case losing a days work. Nasty, and even worse, it will be impossible to reproduce the days work and especially the exact serial numbers of critical documents like orders, invoices, receipts and payments advices.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Using FIXFILE to repair corrupted files ===&lt;br /&gt;
&lt;br /&gt;
BEWARE: FIXFILE causes loss of data. If the data is critical then use of FIXFILE can be totally catastrophic without any warning.&lt;br /&gt;
 &lt;br /&gt;
Using FIXFILE on some files is a guaranteed way to cause complete chaos for the users without them being aware of it until too late to do anything about it.&lt;br /&gt;
&lt;br /&gt;
Corrupt files will cause programs to abort every time they try to update that section of the file. Aborting programs causes possibly horrendous inconsistency in the database so it is important to stop all user activity and fix the corrupt file immediately.&lt;br /&gt;
&lt;br /&gt;
You can freely use FIXFILE on any file but it works by deleting any problematic data so cannot realistically be used on some files at all.&lt;br /&gt;
&lt;br /&gt;
FIXFILE cannot and does not recover any corrupted records therefore, for those files that have specific programs to rebuild them, FIXFILE is not the correct option.&lt;br /&gt;
&lt;br /&gt;
Why use FIXFILE at all since it causes loss of data?&lt;br /&gt;
&lt;br /&gt;
Many files do not have programs to rebuild them and for some of those files, using FIXFILE is a quick way to get the system back in operation BUT with missing records. Missing records causes various degrees of failure ranging from the odd document missing, totally misleading information like wrong account balances, or any kind of system failure.&lt;br /&gt;
&lt;br /&gt;
FIXFILE does not fix the consistency of information in the database. When the database is is being updated with a transaction, usually a series of files are updated for the one transaction. A damaged file causes the update program to abort in the middle of the series of updates. Therefore some of the updates are done and the remaining updates are not done. This means that the data in the database (even after fixing the corrupt file) is inconsistent.&lt;br /&gt;
 &lt;br /&gt;
FIXFILE merely fixes the technical structure of the file so that any further program accesses to that portion of the file do not cause immediate program termination and consequent likely catastrophic database inconsistency.&lt;br /&gt;
 &lt;br /&gt;
You must prevent anyone from accessing NEOSYS while FIXFILE is running.&lt;br /&gt;
&lt;br /&gt;
=== Fixing Damaged DEFINITIONS file ===&lt;br /&gt;
 &lt;br /&gt;
==== Non-Solution ====&lt;br /&gt;
 &lt;br /&gt;
You will probably not be able to login if the DEFINITIONS FILE is damaged. You can press Alt+S and type EXECUTE to get a TCL command box but this still doesnt help because you cannot use FIXFILE on DEFINITIONS.&lt;br /&gt;
 &lt;br /&gt;
CAUTION: DO NOT USE FIXFILE TO TRY AND FIX THE DEFINITIONS FILE.&lt;br /&gt;
 &lt;br /&gt;
DOUBLE CAUTION: IN CASE YOU DECIDE TO IGNORE THIS EXPECT ALL KINDS OF HORRIBLE PROBLEMS IN THE DATABASE REQUIRING A COMPLETE RESTORE FROM A GOOD BACKUP AFTER A FEW DAYS OF PAIN BECAUSE RANDOM OLD DATABASE UPGRADE/CONVERSIONS WILL BE PERFORMED *AGAIN* WITHOUT YOU KNOWING IT.&lt;br /&gt;
 &lt;br /&gt;
==== Partial Restore ====&lt;br /&gt;
 &lt;br /&gt;
You can copy recent DEFINITIONS.LK and DEFINITIONS.OV files from the DATA\datasetcode\GENERAL folder.&lt;br /&gt;
 &lt;br /&gt;
CAUTION: All changes done in the Configuration File, Authorisation File, Users File and various other changes will be reverted to the date of the DEFINITIONS files being restored. If you are restoring from last nights backup or testdata then this will not be much but could cause serious confusion to people who have changed their passwords etc.&lt;br /&gt;
&lt;br /&gt;
==== Full Restore ====&lt;br /&gt;
&lt;br /&gt;
Restore from your latest backup losing all work done since that time and date.&lt;br /&gt;
&lt;br /&gt;
=== Preventing users from accessing NEOSYS in order to do maintenance or repairs ===&lt;br /&gt;
 &lt;br /&gt;
On most systems you can simply stop the NEOSYS processes. On other systems where NEOSYS processes are automatically started in response to requests from the web, you need to disable the autostart by one of the following methods&lt;br /&gt;
 &lt;br /&gt;
# Stop the autostart program/script&lt;br /&gt;
# Put a file called NET.CFG with a single line saying AUTOSTART=NO in the neosys\neosys folder&lt;br /&gt;
# Stop the IIS server&lt;br /&gt;
# Stop/Pause the particular web in question&lt;br /&gt;
&lt;br /&gt;
== Dealing with damaged files that cannot be fixed ==&lt;br /&gt;
&lt;br /&gt;
If programmers are unable to fix the damage in a reasonably period of time and the damage is caused due to matters beyond NEOSYS control such as non-dedicated servers and power failures then data must be restored and client advised why they are going to suffer loss of data.&lt;br /&gt;
 &lt;br /&gt;
THIS DOES NOT RELEASE NEOSYS SUPPORT STAFF FROM THE OBLIGATION TO PROACTIVELY INFORM THE CLIENT OF MEASURES TO PREVENT THE RECURRENCE OF THE EVENT.&lt;br /&gt;
&lt;br /&gt;
The following are the steps to follow:&lt;br /&gt;
&lt;br /&gt;
# Ascertain the cause of the damage to the database by looking at the internal logs&lt;br /&gt;
# Create a new database from the damaged one as it will contain the up to date but damaged database.&lt;br /&gt;
# Restore the database from the backup media so that the database is in the last good known state. &lt;br /&gt;
# The client can see what work was done over the past couple of days from the damaged database and it will assist them to redo the work in the currently restored out of date main database.&lt;br /&gt;
# Next discuss with the client about the cause of the damage and (a) what to do to prevent the damage occurring again (b) to agree a procedure to perform a manual backup in case the automatic one is not performed for any reason overnight.&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=681</id>
		<title>Handling damaged files</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=681"/>
		<updated>2011-05-24T08:01:16Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Cause */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Symptoms ==&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;A Damaged file has been found..... ((the rest of this message to be completed)) &lt;br /&gt;
 Group format Error:&lt;br /&gt;
 OS File : BOOKING.TEXTS&lt;br /&gt;
 Group# : 00000932&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
&lt;br /&gt;
== Cause ==&lt;br /&gt;
Rare but nasty problem on server 99% caused by power failure, killing NEOSYS or server hardware or operating system failure.&lt;br /&gt;
&lt;br /&gt;
*Did somebody kill NEOSYS processes to reboot the server or any other reason?&lt;br /&gt;
*Was there a power cut?&lt;br /&gt;
*Any expected or unexpected reboots in the server log? (see Event Viewer &amp;gt; System Log)&lt;br /&gt;
*Enough disk free space especially on servers not dedicated to NEOSYS?&lt;br /&gt;
*Third party software running on NEOSYS server?&lt;br /&gt;
*RAID installed on the server?&lt;br /&gt;
*Did windows update happen?&lt;br /&gt;
&lt;br /&gt;
== Solution==&lt;br /&gt;
&lt;br /&gt;
Damaged files, when detected, cause an immediate termination of the currently executing program/user request and a restart of the process is involved. Some damaged files are automatically fixed during restart. Although the process &amp;quot;restarts&amp;quot; it may be internally corrupted in some way and it is advisable to close it completely and start or allow another process to start automatically.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
However, the solution always depends on the cause and usually often requires aggressive interrogation to discover the cause.&lt;br /&gt;
&lt;br /&gt;
== Recovery==&lt;br /&gt;
&lt;br /&gt;
It is URGENT to stop using NEOSYS and fix the damaged file because it will cause NEOSYS to crash everytime it happens to update that part of the file. NEOSYS crashing while updating often produces unrecoverable inconsistencies in the database that can only be fixed by programmers sitting for hours trying to edit the database .... or by restoring from a backup causing loss of work.&lt;br /&gt;
&lt;br /&gt;
See the following sections how to patch the damaged files.&lt;br /&gt;
&lt;br /&gt;
== Files that are automatically fixed ==&lt;br /&gt;
&lt;br /&gt;
*LISTS&lt;br /&gt;
*LOCKS&lt;br /&gt;
*!INDEXING&lt;br /&gt;
&lt;br /&gt;
The above files are automatically checked for corruption (and initialised to empty if so) when you &lt;br /&gt;
startup a NEOSYS process and do not require any manual intervention apart from locating and eliminating the initial cause of the damage.&lt;br /&gt;
&lt;br /&gt;
If the !INDEXING file was damaged then you should also do REINDEXALL to reinstate any possibly missing index entries, but since this will take a long time&lt;br /&gt;
you should do this when everybody is off the system in the evening probably. A few missing index entries may only mean some records missing from some reports which may or may not be seriously inconvenient. It is a temporary file that should not hold any records for longer than it takes to update the various indexes immediately when the user saves any document.&lt;br /&gt;
&lt;br /&gt;
Each process has its own LISTS file, so damage is limited to one process for the LISTS file. The process number can be seen in the error message. for example:&lt;br /&gt;
&lt;br /&gt;
 Process=7&lt;br /&gt;
&lt;br /&gt;
You can also see the process number on the server screen. For example here is a process 2.&lt;br /&gt;
&lt;br /&gt;
 13:17:31 TESTDB NEOS0002 0 Listening 7 hours, 49 mins ...&lt;br /&gt;
&lt;br /&gt;
The LISTS file is a temporary file for sorting records into order for reports, popups etc. Therefore any damage usually causes no real inconvenience apart from the failed report or popup on which the user might receive the &amp;quot;damaged LISTS file&amp;quot; message.&lt;br /&gt;
&lt;br /&gt;
The error message would appear as follows :&lt;br /&gt;
&lt;br /&gt;
 SYSTEM ERROR:&lt;br /&gt;
 An internal file LISTS was found&lt;br /&gt;
 to be damaged and has been patched.&lt;br /&gt;
 INFORM YOUR TECHNICAL SUPPORT&amp;lt;br&amp;gt;&lt;br /&gt;
 SOME DATA HAS PROBABLY BEEN LOST&lt;br /&gt;
 AND THE NEOSYS SYSTEM MAY MALFUNCTION&amp;lt;br&amp;gt;&lt;br /&gt;
 Server=NEOSYS-SERVER&lt;br /&gt;
 Install=D:\NEOSYS\NEOSYS\&lt;br /&gt;
 Version=17:16:04  23 JAN 2011&lt;br /&gt;
 Database=1D68EE63 ADLINED&lt;br /&gt;
 Process=2&lt;br /&gt;
&lt;br /&gt;
The error could also appear as follows :&lt;br /&gt;
&lt;br /&gt;
 A DAMAGED FILE HAS BEEN FOUND.&lt;br /&gt;
 YOU MUST GIVE THE FOLLOWING MESSAGE TO TECHNICAL SUPPORT NOW.&lt;br /&gt;
 DO NOT CONTINUE USING THE SYSTEM!&amp;lt;br&amp;gt;&lt;br /&gt;
 Group Format Error:&lt;br /&gt;
 File    : LISTS&lt;br /&gt;
 Group # : 00000014&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
 Server=NEOSYS-SERVER&lt;br /&gt;
 Install=D:\NEOSYS\NEOSYS\&lt;br /&gt;
 Version=17:16:04  23 JAN 2011&lt;br /&gt;
 Database=1D68EE63 ADLINED&lt;br /&gt;
 Process=2&lt;br /&gt;
&lt;br /&gt;
Please note that both the above messages mean the same.&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged file that have a process to recreate them ==&lt;br /&gt;
&lt;br /&gt;
ADS file can be recreated with F5 CREATEADS&lt;br /&gt;
&lt;br /&gt;
ANALYSIS file can be recreated with F5 CREATEANALYSIS&lt;br /&gt;
&lt;br /&gt;
BRANDS files can be recreated with F5 CREATEBRANDS&lt;br /&gt;
&lt;br /&gt;
If the file is actually damaged it might be necessary to initialise it first using CLEARFILE filename.&lt;br /&gt;
&lt;br /&gt;
Procedure to run CREATEXXXX (Where XXXX = ADS, ANALYSIS OR BRANDS)&lt;br /&gt;
&lt;br /&gt;
NOTE: Stop all the processes before doing the below procedure.&lt;br /&gt;
&lt;br /&gt;
Login to maintenance&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 CREATEXXXX&lt;br /&gt;
&lt;br /&gt;
Triggering this will give you three options:&lt;br /&gt;
&lt;br /&gt;
a) Recreate the XXXX file&lt;br /&gt;
&lt;br /&gt;
b) Check the XXXX file&lt;br /&gt;
&lt;br /&gt;
c) Re-index the XXXX file&lt;br /&gt;
&lt;br /&gt;
Select the first option to &amp;quot;RECREATE THE XXXX FILE&amp;quot; and wait until it completes.&lt;br /&gt;
&lt;br /&gt;
To verify if the above is done successfully run CHK.FILES (Recommended)in maintenance mode to check for corrupt files.&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 CHK.FILES&lt;br /&gt;
&lt;br /&gt;
Alternatively if you know the name of the file that is damaged/corrupt, you could do the following&lt;br /&gt;
&lt;br /&gt;
(XXXX = File name)&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 CHK.FILES XXXX&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged index files (names starting with !) ==&lt;br /&gt;
&lt;br /&gt;
Whilst backing up or using NEOSYS the following error message might appear:&lt;br /&gt;
 &lt;br /&gt;
 &amp;quot;A Damaged file has been found.....&lt;br /&gt;
 Group format Error:&lt;br /&gt;
 OS File : !ADS&lt;br /&gt;
 Group# : 00000932&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
&lt;br /&gt;
#Ensure that no-one is using NEOSYS&lt;br /&gt;
#Log into NEOSYS on the server&lt;br /&gt;
#Press F5 to get a TCL command box&lt;br /&gt;
#Type REINDEXADS and press enter.&lt;br /&gt;
#Wait until it finishes and you get back to the command box&lt;br /&gt;
#Type OFF in the command box and you will quit NEOSYS.&lt;br /&gt;
&lt;br /&gt;
Other reindex commands are:&lt;br /&gt;
&lt;br /&gt;
*REINDEXACCOUNTS	recreates !ACCOUNTS, !BATCHES and !VOUCHERS&lt;br /&gt;
*REINDEXADDRESSES &lt;br /&gt;
*REINDEXADS&lt;br /&gt;
*REINDEXBOOKINGS	recreates !BOOKING.ORDERS&lt;br /&gt;
*REINDEXBRANDS&lt;br /&gt;
*REINDEXCLIENTS&lt;br /&gt;
*REINDEXINVS		recreates !INVOICES&lt;br /&gt;
*REINDEXJOBS&lt;br /&gt;
*REINDEXMATERIALS&lt;br /&gt;
*REINDEXPLANS&lt;br /&gt;
*REINDEXPRODINVS	recreates !PRODUCTION.INVOICES&lt;br /&gt;
*REINDEXPRODORDERS	recreates !PRODUCTION.ORDERS&lt;br /&gt;
*REINDEXRATECARDS&lt;br /&gt;
*REINDEXSCHEDULES&lt;br /&gt;
*REINDEXSUPPLIERS&lt;br /&gt;
*REINDEXTIMESHEETS&lt;br /&gt;
*REINDEXVEHICLES&lt;br /&gt;
&lt;br /&gt;
REINDEXMEDIA does all the following&lt;br /&gt;
*REINDEXPLANS&lt;br /&gt;
*REINDEXSCHEDULES&lt;br /&gt;
*REINDEXADS&lt;br /&gt;
*REINDEXMATERIALS&lt;br /&gt;
*REINDEXBOOKINGS&lt;br /&gt;
&lt;br /&gt;
REINDEXFILES does all the following&lt;br /&gt;
*REINDEXCLIENTS&lt;br /&gt;
*REINDEXBRANDS&lt;br /&gt;
*REINDEXSUPPLIERS&lt;br /&gt;
*REINDEXVEHICLES&lt;br /&gt;
*REINDEXRATECARDS&lt;br /&gt;
&lt;br /&gt;
REINDEXPRODUCTION does all the following&lt;br /&gt;
*REINDEXJOBS&lt;br /&gt;
*REINDEXPRODORDERS&lt;br /&gt;
*REINDEXPRODINVS&lt;br /&gt;
*REINDEXTIMESHEETS&lt;br /&gt;
&lt;br /&gt;
REINDEXALL does all the following&lt;br /&gt;
*REINDEXMEDIA&lt;br /&gt;
*REINDEXPRODUCTION&lt;br /&gt;
*REINDEXFILES&lt;br /&gt;
*REINDEXINVS&lt;br /&gt;
*REINDEXACCOUNTS&lt;br /&gt;
*REINDEXADDRESSES&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged files that have no process for recreating them ==&lt;br /&gt;
&lt;br /&gt;
Some damaged files can be rebuilt using NEOSYS utilities especially index files with filenames starting with !. Other damaged files like &#039;&#039;LOG20xx&#039;&#039; can be “fixed” to prevent NEOSYS crashes as follows &amp;lt;i&amp;gt;but some records will most probably be lost&amp;lt;/i&amp;gt;. Depending on the file loss of a few records may not be too bad compared to restoring a database but the client should be informed and make the decision. Depending on the file it is usually best to lose the records. We can make a list of files that one can afford to lose records and those files that can be rebuilt programmatically from other files. Booking order texts they can lose records but inform them and especially the numbers mentioned in FIXFILE&lt;br /&gt;
&lt;br /&gt;
FIXFILE will not run if there are neosys services still running so before doing the FIXFILE command, shut down services from the Support menu or with the Global command:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; If there are multiple datasets running on the server. Shut down the particular dataset which has got the problem:&lt;br /&gt;
&lt;br /&gt;
F5&lt;br /&gt;
&lt;br /&gt;
 FIXFILE filename&lt;br /&gt;
&lt;br /&gt;
(Select option 1 to update the file)&lt;br /&gt;
&lt;br /&gt;
In case you get any Overwrite messages – type YES, as these are the actual files being updated.&lt;br /&gt;
&lt;br /&gt;
The only alternative is restore from a previous backup in this case losing a days work. Nasty, and even worse, it will be impossible to reproduce the days work and especially the exact serial numbers of critical documents like orders, invoices, receipts and payments advices.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Using FIXFILE to repair corrupted files ===&lt;br /&gt;
&lt;br /&gt;
BEWARE: FIXFILE causes loss of data. If the data is critical then use of FIXFILE can be totally catastrophic without any warning.&lt;br /&gt;
 &lt;br /&gt;
Using FIXFILE on some files is a guaranteed way to cause complete chaos for the users without them being aware of it until too late to do anything about it.&lt;br /&gt;
&lt;br /&gt;
Corrupt files will cause programs to abort every time they try to update that section of the file. Aborting programs causes possibly horrendous inconsistency in the database so it is important to stop all user activity and fix the corrupt file immediately.&lt;br /&gt;
&lt;br /&gt;
You can freely use FIXFILE on any file but it works by deleting any problematic data so cannot realistically be used on some files at all.&lt;br /&gt;
&lt;br /&gt;
FIXFILE cannot and does not recover any corrupted records therefore, for those files that have specific programs to rebuild them, FIXFILE is not the correct option.&lt;br /&gt;
&lt;br /&gt;
Why use FIXFILE at all since it causes loss of data?&lt;br /&gt;
&lt;br /&gt;
Many files do not have programs to rebuild them and for some of those files, using FIXFILE is a quick way to get the system back in operation BUT with missing records. Missing records causes various degrees of failure ranging from the odd document missing, totally misleading information like wrong account balances, or any kind of system failure.&lt;br /&gt;
&lt;br /&gt;
FIXFILE does not fix the consistency of information in the database. When the database is is being updated with a transaction, usually a series of files are updated for the one transaction. A damaged file causes the update program to abort in the middle of the series of updates. Therefore some of the updates are done and the remaining updates are not done. This means that the data in the database (even after fixing the corrupt file) is inconsistent.&lt;br /&gt;
 &lt;br /&gt;
FIXFILE merely fixes the technical structure of the file so that any further program accesses to that portion of the file do not cause immediate program termination and consequent likely catastrophic database inconsistency.&lt;br /&gt;
 &lt;br /&gt;
You must prevent anyone from accessing NEOSYS while FIXFILE is running.&lt;br /&gt;
&lt;br /&gt;
=== Fixing Damaged DEFINITIONS file ===&lt;br /&gt;
 &lt;br /&gt;
==== Non-Solution ====&lt;br /&gt;
 &lt;br /&gt;
You will probably not be able to login if the DEFINITIONS FILE is damaged. You can press Alt+S and type EXECUTE to get a TCL command box but this still doesnt help because you cannot use FIXFILE on DEFINITIONS.&lt;br /&gt;
 &lt;br /&gt;
CAUTION: DO NOT USE FIXFILE TO TRY AND FIX THE DEFINITIONS FILE.&lt;br /&gt;
 &lt;br /&gt;
DOUBLE CAUTION: IN CASE YOU DECIDE TO IGNORE THIS EXPECT ALL KINDS OF HORRIBLE PROBLEMS IN THE DATABASE REQUIRING A COMPLETE RESTORE FROM A GOOD BACKUP AFTER A FEW DAYS OF PAIN BECAUSE RANDOM OLD DATABASE UPGRADE/CONVERSIONS WILL BE PERFORMED *AGAIN* WITHOUT YOU KNOWING IT.&lt;br /&gt;
 &lt;br /&gt;
==== Partial Restore ====&lt;br /&gt;
 &lt;br /&gt;
You can copy recent DEFINITIONS.LK and DEFINITIONS.OV files from the DATA\datasetcode\GENERAL folder.&lt;br /&gt;
 &lt;br /&gt;
CAUTION: All changes done in the Configuration File, Authorisation File, Users File and various other changes will be reverted to the date of the DEFINITIONS files being restored. If you are restoring from last nights backup or testdata then this will not be much but could cause serious confusion to people who have changed their passwords etc.&lt;br /&gt;
&lt;br /&gt;
==== Full Restore ====&lt;br /&gt;
&lt;br /&gt;
Restore from your latest backup losing all work done since that time and date.&lt;br /&gt;
&lt;br /&gt;
=== Preventing users from accessing NEOSYS in order to do maintenance or repairs ===&lt;br /&gt;
 &lt;br /&gt;
On most systems you can simply stop the NEOSYS processes. On other systems where NEOSYS processes are automatically started in response to requests from the web, you need to disable the autostart by one of the following methods&lt;br /&gt;
 &lt;br /&gt;
# Stop the autostart program/script&lt;br /&gt;
# Put a file called NET.CFG with a single line saying AUTOSTART=NO in the neosys\neosys folder&lt;br /&gt;
# Stop the IIS server&lt;br /&gt;
# Stop/Pause the particular web in question&lt;br /&gt;
&lt;br /&gt;
== Dealing with damaged files that cannot be fixed ==&lt;br /&gt;
&lt;br /&gt;
If programmers are unable to fix the damage in a reasonably period of time and the damage is caused due to matters beyond NEOSYS control such as non-dedicated servers and power failures then data must be restored and client advised why they are going to suffer loss of data.&lt;br /&gt;
 &lt;br /&gt;
THIS DOES NOT RELEASE NEOSYS SUPPORT STAFF FROM THE OBLIGATION TO PROACTIVELY INFORM THE CLIENT OF MEASURES TO PREVENT THE RECURRENCE OF THE EVENT.&lt;br /&gt;
&lt;br /&gt;
The following are the steps to follow:&lt;br /&gt;
&lt;br /&gt;
# Ascertain the cause of the damage to the database by looking at the internal logs&lt;br /&gt;
# Create a new database from the damaged one as it will contain the up to date but damaged database.&lt;br /&gt;
# Restore the database from the backup media so that the database is in the last good known state. &lt;br /&gt;
# The client can see what work was done over the past couple of days from the damaged database and it will assist them to redo the work in the currently restored out of date main database.&lt;br /&gt;
# Next discuss with the client about the cause of the damage and (a) what to do to prevent the damage occurring again (b) to agree a procedure to perform a manual backup in case the automatic one is not performed for any reason overnight.&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=680</id>
		<title>Handling damaged files</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=680"/>
		<updated>2011-05-23T08:19:00Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Fixing damaged file that have a process to recreate them */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Symptoms ==&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;A Damaged file has been found..... ((the rest of this message to be completed)) &lt;br /&gt;
 Group format Error:&lt;br /&gt;
 OS File : BOOKING.TEXTS&lt;br /&gt;
 Group# : 00000932&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
&lt;br /&gt;
== Cause ==&lt;br /&gt;
Rare but nasty problem on server 99% caused by power failure, killing NEOSYS or server hardware or operating system failure.&lt;br /&gt;
&lt;br /&gt;
*Did somebody kill NEOSYS processes to reboot the server or any other reason?&lt;br /&gt;
*Was there a power cut?&lt;br /&gt;
*Any expected or unexpected reboots in the server log? (see Event Viewer &amp;gt; System Log)&lt;br /&gt;
*Enough disk free space especially on servers not dedicated to NEOSYS?&lt;br /&gt;
&lt;br /&gt;
== Solution==&lt;br /&gt;
&lt;br /&gt;
Damaged files, when detected, cause an immediate termination of the currently executing program/user request and a restart of the process is involved. Some damaged files are automatically fixed during restart. Although the process &amp;quot;restarts&amp;quot; it may be internally corrupted in some way and it is advisable to close it completely and start or allow another process to start automatically.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
However, the solution always depends on the cause and usually often requires aggressive interrogation to discover the cause.&lt;br /&gt;
&lt;br /&gt;
== Recovery==&lt;br /&gt;
&lt;br /&gt;
It is URGENT to stop using NEOSYS and fix the damaged file because it will cause NEOSYS to crash everytime it happens to update that part of the file. NEOSYS crashing while updating often produces unrecoverable inconsistencies in the database that can only be fixed by programmers sitting for hours trying to edit the database .... or by restoring from a backup causing loss of work.&lt;br /&gt;
&lt;br /&gt;
See the following sections how to patch the damaged files.&lt;br /&gt;
&lt;br /&gt;
== Files that are automatically fixed ==&lt;br /&gt;
&lt;br /&gt;
*LISTS&lt;br /&gt;
*LOCKS&lt;br /&gt;
*!INDEXING&lt;br /&gt;
&lt;br /&gt;
The above files are automatically checked for corruption (and initialised to empty if so) when you &lt;br /&gt;
startup a NEOSYS process and do not require any manual intervention apart from locating and eliminating the initial cause of the damage.&lt;br /&gt;
&lt;br /&gt;
If the !INDEXING file was damaged then you should also do REINDEXALL to reinstate any possibly missing index entries, but since this will take a long time&lt;br /&gt;
you should do this when everybody is off the system in the evening probably. A few missing index entries may only mean some records missing from some reports which may or may not be seriously inconvenient. It is a temporary file that should not hold any records for longer than it takes to update the various indexes immediately when the user saves any document.&lt;br /&gt;
&lt;br /&gt;
Each process has its own LISTS file, so damage is limited to one process for the LISTS file. The process number can be seen in the error message. for example:&lt;br /&gt;
&lt;br /&gt;
 Process=7&lt;br /&gt;
&lt;br /&gt;
You can also see the process number on the server screen. For example here is a process 2.&lt;br /&gt;
&lt;br /&gt;
 13:17:31 TESTDB NEOS0002 0 Listening 7 hours, 49 mins ...&lt;br /&gt;
&lt;br /&gt;
The LISTS file is a temporary file for sorting records into order for reports, popups etc. Therefore any damage usually causes no real inconvenience apart from the failed report or popup on which the user might receive the &amp;quot;damaged LISTS file&amp;quot; message.&lt;br /&gt;
&lt;br /&gt;
The error message would appear as follows :&lt;br /&gt;
&lt;br /&gt;
 SYSTEM ERROR:&lt;br /&gt;
 An internal file LISTS was found&lt;br /&gt;
 to be damaged and has been patched.&lt;br /&gt;
 INFORM YOUR TECHNICAL SUPPORT&amp;lt;br&amp;gt;&lt;br /&gt;
 SOME DATA HAS PROBABLY BEEN LOST&lt;br /&gt;
 AND THE NEOSYS SYSTEM MAY MALFUNCTION&amp;lt;br&amp;gt;&lt;br /&gt;
 Server=NEOSYS-SERVER&lt;br /&gt;
 Install=D:\NEOSYS\NEOSYS\&lt;br /&gt;
 Version=17:16:04  23 JAN 2011&lt;br /&gt;
 Database=1D68EE63 ADLINED&lt;br /&gt;
 Process=2&lt;br /&gt;
&lt;br /&gt;
The error could also appear as follows :&lt;br /&gt;
&lt;br /&gt;
 A DAMAGED FILE HAS BEEN FOUND.&lt;br /&gt;
 YOU MUST GIVE THE FOLLOWING MESSAGE TO TECHNICAL SUPPORT NOW.&lt;br /&gt;
 DO NOT CONTINUE USING THE SYSTEM!&amp;lt;br&amp;gt;&lt;br /&gt;
 Group Format Error:&lt;br /&gt;
 File    : LISTS&lt;br /&gt;
 Group # : 00000014&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
 Server=NEOSYS-SERVER&lt;br /&gt;
 Install=D:\NEOSYS\NEOSYS\&lt;br /&gt;
 Version=17:16:04  23 JAN 2011&lt;br /&gt;
 Database=1D68EE63 ADLINED&lt;br /&gt;
 Process=2&lt;br /&gt;
&lt;br /&gt;
Please note that both the above messages mean the same.&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged file that have a process to recreate them ==&lt;br /&gt;
&lt;br /&gt;
ADS file can be recreated with F5 CREATEADS&lt;br /&gt;
&lt;br /&gt;
ANALYSIS file can be recreated with F5 CREATEANALYSIS&lt;br /&gt;
&lt;br /&gt;
BRANDS files can be recreated with F5 CREATEBRANDS&lt;br /&gt;
&lt;br /&gt;
If the file is actually damaged it might be necessary to initialise it first using CLEARFILE filename.&lt;br /&gt;
&lt;br /&gt;
Procedure to run CREATEXXXX (Where XXXX = ADS, ANALYSIS OR BRANDS)&lt;br /&gt;
&lt;br /&gt;
NOTE: Stop all the processes before doing the below procedure.&lt;br /&gt;
&lt;br /&gt;
Login to maintenance&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 CREATEXXXX&lt;br /&gt;
&lt;br /&gt;
Triggering this will give you three options:&lt;br /&gt;
&lt;br /&gt;
a) Recreate the XXXX file&lt;br /&gt;
&lt;br /&gt;
b) Check the XXXX file&lt;br /&gt;
&lt;br /&gt;
c) Re-index the XXXX file&lt;br /&gt;
&lt;br /&gt;
Select the first option to &amp;quot;RECREATE THE XXXX FILE&amp;quot; and wait until it completes.&lt;br /&gt;
&lt;br /&gt;
To verify if the above is done successfully run CHK.FILES (Recommended)in maintenance mode to check for corrupt files.&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 CHK.FILES&lt;br /&gt;
&lt;br /&gt;
Alternatively if you know the name of the file that is damaged/corrupt, you could do the following&lt;br /&gt;
&lt;br /&gt;
(XXXX = File name)&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 CHK.FILES XXXX&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged index files (names starting with !) ==&lt;br /&gt;
&lt;br /&gt;
Whilst backing up or using NEOSYS the following error message might appear:&lt;br /&gt;
 &lt;br /&gt;
 &amp;quot;A Damaged file has been found.....&lt;br /&gt;
 Group format Error:&lt;br /&gt;
 OS File : !ADS&lt;br /&gt;
 Group# : 00000932&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
&lt;br /&gt;
#Ensure that no-one is using NEOSYS&lt;br /&gt;
#Log into NEOSYS on the server&lt;br /&gt;
#Press F5 to get a TCL command box&lt;br /&gt;
#Type REINDEXADS and press enter.&lt;br /&gt;
#Wait until it finishes and you get back to the command box&lt;br /&gt;
#Type OFF in the command box and you will quit NEOSYS.&lt;br /&gt;
&lt;br /&gt;
Other reindex commands are:&lt;br /&gt;
&lt;br /&gt;
*REINDEXACCOUNTS	recreates !ACCOUNTS, !BATCHES and !VOUCHERS&lt;br /&gt;
*REINDEXADDRESSES &lt;br /&gt;
*REINDEXADS&lt;br /&gt;
*REINDEXBOOKINGS	recreates !BOOKING.ORDERS&lt;br /&gt;
*REINDEXBRANDS&lt;br /&gt;
*REINDEXCLIENTS&lt;br /&gt;
*REINDEXINVS		recreates !INVOICES&lt;br /&gt;
*REINDEXJOBS&lt;br /&gt;
*REINDEXMATERIALS&lt;br /&gt;
*REINDEXPLANS&lt;br /&gt;
*REINDEXPRODINVS	recreates !PRODUCTION.INVOICES&lt;br /&gt;
*REINDEXPRODORDERS	recreates !PRODUCTION.ORDERS&lt;br /&gt;
*REINDEXRATECARDS&lt;br /&gt;
*REINDEXSCHEDULES&lt;br /&gt;
*REINDEXSUPPLIERS&lt;br /&gt;
*REINDEXTIMESHEETS&lt;br /&gt;
*REINDEXVEHICLES&lt;br /&gt;
&lt;br /&gt;
REINDEXMEDIA does all the following&lt;br /&gt;
*REINDEXPLANS&lt;br /&gt;
*REINDEXSCHEDULES&lt;br /&gt;
*REINDEXADS&lt;br /&gt;
*REINDEXMATERIALS&lt;br /&gt;
*REINDEXBOOKINGS&lt;br /&gt;
&lt;br /&gt;
REINDEXFILES does all the following&lt;br /&gt;
*REINDEXCLIENTS&lt;br /&gt;
*REINDEXBRANDS&lt;br /&gt;
*REINDEXSUPPLIERS&lt;br /&gt;
*REINDEXVEHICLES&lt;br /&gt;
*REINDEXRATECARDS&lt;br /&gt;
&lt;br /&gt;
REINDEXPRODUCTION does all the following&lt;br /&gt;
*REINDEXJOBS&lt;br /&gt;
*REINDEXPRODORDERS&lt;br /&gt;
*REINDEXPRODINVS&lt;br /&gt;
*REINDEXTIMESHEETS&lt;br /&gt;
&lt;br /&gt;
REINDEXALL does all the following&lt;br /&gt;
*REINDEXMEDIA&lt;br /&gt;
*REINDEXPRODUCTION&lt;br /&gt;
*REINDEXFILES&lt;br /&gt;
*REINDEXINVS&lt;br /&gt;
*REINDEXACCOUNTS&lt;br /&gt;
*REINDEXADDRESSES&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged files that have no process for recreating them ==&lt;br /&gt;
&lt;br /&gt;
Some damaged files can be rebuilt using NEOSYS utilities especially index files with filenames starting with !. Other damaged files like &#039;&#039;LOG20xx&#039;&#039; can be “fixed” to prevent NEOSYS crashes as follows &amp;lt;i&amp;gt;but some records will most probably be lost&amp;lt;/i&amp;gt;. Depending on the file loss of a few records may not be too bad compared to restoring a database but the client should be informed and make the decision. Depending on the file it is usually best to lose the records. We can make a list of files that one can afford to lose records and those files that can be rebuilt programmatically from other files. Booking order texts they can lose records but inform them and especially the numbers mentioned in FIXFILE&lt;br /&gt;
&lt;br /&gt;
FIXFILE will not run if there are neosys services still running so before doing the FIXFILE command, shut down services from the Support menu or with the Global command:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; If there are multiple datasets running on the server. Shut down the particular dataset which has got the problem:&lt;br /&gt;
&lt;br /&gt;
F5&lt;br /&gt;
&lt;br /&gt;
 FIXFILE filename&lt;br /&gt;
&lt;br /&gt;
(Select option 1 to update the file)&lt;br /&gt;
&lt;br /&gt;
In case you get any Overwrite messages – type YES, as these are the actual files being updated.&lt;br /&gt;
&lt;br /&gt;
The only alternative is restore from a previous backup in this case losing a days work. Nasty, and even worse, it will be impossible to reproduce the days work and especially the exact serial numbers of critical documents like orders, invoices, receipts and payments advices.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Using FIXFILE to repair corrupted files ===&lt;br /&gt;
&lt;br /&gt;
BEWARE: FIXFILE causes loss of data. If the data is critical then use of FIXFILE can be totally catastrophic without any warning.&lt;br /&gt;
 &lt;br /&gt;
Using FIXFILE on some files is a guaranteed way to cause complete chaos for the users without them being aware of it until too late to do anything about it.&lt;br /&gt;
&lt;br /&gt;
Corrupt files will cause programs to abort every time they try to update that section of the file. Aborting programs causes possibly horrendous inconsistency in the database so it is important to stop all user activity and fix the corrupt file immediately.&lt;br /&gt;
&lt;br /&gt;
You can freely use FIXFILE on any file but it works by deleting any problematic data so cannot realistically be used on some files at all.&lt;br /&gt;
&lt;br /&gt;
FIXFILE cannot and does not recover any corrupted records therefore, for those files that have specific programs to rebuild them, FIXFILE is not the correct option.&lt;br /&gt;
&lt;br /&gt;
Why use FIXFILE at all since it causes loss of data?&lt;br /&gt;
&lt;br /&gt;
Many files do not have programs to rebuild them and for some of those files, using FIXFILE is a quick way to get the system back in operation BUT with missing records. Missing records causes various degrees of failure ranging from the odd document missing, totally misleading information like wrong account balances, or any kind of system failure.&lt;br /&gt;
&lt;br /&gt;
FIXFILE does not fix the consistency of information in the database. When the database is is being updated with a transaction, usually a series of files are updated for the one transaction. A damaged file causes the update program to abort in the middle of the series of updates. Therefore some of the updates are done and the remaining updates are not done. This means that the data in the database (even after fixing the corrupt file) is inconsistent.&lt;br /&gt;
 &lt;br /&gt;
FIXFILE merely fixes the technical structure of the file so that any further program accesses to that portion of the file do not cause immediate program termination and consequent likely catastrophic database inconsistency.&lt;br /&gt;
 &lt;br /&gt;
You must prevent anyone from accessing NEOSYS while FIXFILE is running.&lt;br /&gt;
&lt;br /&gt;
=== Fixing Damaged DEFINITIONS file ===&lt;br /&gt;
 &lt;br /&gt;
==== Non-Solution ====&lt;br /&gt;
 &lt;br /&gt;
You will probably not be able to login if the DEFINITIONS FILE is damaged. You can press Alt+S and type EXECUTE to get a TCL command box but this still doesnt help because you cannot use FIXFILE on DEFINITIONS.&lt;br /&gt;
 &lt;br /&gt;
CAUTION: DO NOT USE FIXFILE TO TRY AND FIX THE DEFINITIONS FILE.&lt;br /&gt;
 &lt;br /&gt;
DOUBLE CAUTION: IN CASE YOU DECIDE TO IGNORE THIS EXPECT ALL KINDS OF HORRIBLE PROBLEMS IN THE DATABASE REQUIRING A COMPLETE RESTORE FROM A GOOD BACKUP AFTER A FEW DAYS OF PAIN BECAUSE RANDOM OLD DATABASE UPGRADE/CONVERSIONS WILL BE PERFORMED *AGAIN* WITHOUT YOU KNOWING IT.&lt;br /&gt;
 &lt;br /&gt;
==== Partial Restore ====&lt;br /&gt;
 &lt;br /&gt;
You can copy recent DEFINITIONS.LK and DEFINITIONS.OV files from the DATA\datasetcode\GENERAL folder.&lt;br /&gt;
 &lt;br /&gt;
CAUTION: All changes done in the Configuration File, Authorisation File, Users File and various other changes will be reverted to the date of the DEFINITIONS files being restored. If you are restoring from last nights backup or testdata then this will not be much but could cause serious confusion to people who have changed their passwords etc.&lt;br /&gt;
&lt;br /&gt;
==== Full Restore ====&lt;br /&gt;
&lt;br /&gt;
Restore from your latest backup losing all work done since that time and date.&lt;br /&gt;
&lt;br /&gt;
=== Preventing users from accessing NEOSYS in order to do maintenance or repairs ===&lt;br /&gt;
 &lt;br /&gt;
On most systems you can simply stop the NEOSYS processes. On other systems where NEOSYS processes are automatically started in response to requests from the web, you need to disable the autostart by one of the following methods&lt;br /&gt;
 &lt;br /&gt;
# Stop the autostart program/script&lt;br /&gt;
# Put a file called NET.CFG with a single line saying AUTOSTART=NO in the neosys\neosys folder&lt;br /&gt;
# Stop the IIS server&lt;br /&gt;
# Stop/Pause the particular web in question&lt;br /&gt;
&lt;br /&gt;
== Dealing with damaged files that cannot be fixed ==&lt;br /&gt;
&lt;br /&gt;
If programmers are unable to fix the damage in a reasonably period of time and the damage is caused due to matters beyond NEOSYS control such as non-dedicated servers and power failures then data must be restored and client advised why they are going to suffer loss of data.&lt;br /&gt;
 &lt;br /&gt;
THIS DOES NOT RELEASE NEOSYS SUPPORT STAFF FROM THE OBLIGATION TO PROACTIVELY INFORM THE CLIENT OF MEASURES TO PREVENT THE RECURRENCE OF THE EVENT.&lt;br /&gt;
&lt;br /&gt;
The following are the steps to follow:&lt;br /&gt;
&lt;br /&gt;
# Ascertain the cause of the damage to the database by looking at the internal logs&lt;br /&gt;
# Create a new database from the damaged one as it will contain the up to date but damaged database.&lt;br /&gt;
# Restore the database from the backup media so that the database is in the last good known state. &lt;br /&gt;
# The client can see what work was done over the past couple of days from the damaged database and it will assist them to redo the work in the currently restored out of date main database.&lt;br /&gt;
# Next discuss with the client about the cause of the damage and (a) what to do to prevent the damage occurring again (b) to agree a procedure to perform a manual backup in case the automatic one is not performed for any reason overnight.&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_NEOSYS_Generally&amp;diff=678</id>
		<title>Configuring NEOSYS Generally</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_NEOSYS_Generally&amp;diff=678"/>
		<updated>2011-05-16T07:06:18Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Clearing files in database (done when you want to clean an old database) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Clearing files in database (done when you want to clean an old database) ===&lt;br /&gt;
&lt;br /&gt;
This is to be done incase you want to clean an old database or clean a training database so that a client can enter fresh data. These commands DO NOT clear down the whole database and hence for new installations you need to download a fresh BACKUP.ZIP file from the NEOSYS website.&lt;br /&gt;
&lt;br /&gt;
Clear data		F5 	CLEAROP (only clears transactions not reference files)&lt;br /&gt;
&lt;br /&gt;
Clear suppliers		F5	CLEARFILE SUPPLIERS&lt;br /&gt;
&lt;br /&gt;
Clear Vehicles		F5	CLEARFILE VEHICLES&lt;br /&gt;
&lt;br /&gt;
Flush Index		F5	FLUSH.INDEX&lt;br /&gt;
&lt;br /&gt;
Clear all		F5	CLEARALL (rather nasty command because clears all reference files as well)&lt;br /&gt;
&lt;br /&gt;
Clear Payment Instruction F5    CLEARFIELD CLIENTS PAYMENT_INSTRUCTIONS (only clears the payment instruction from the client and brand file)&lt;br /&gt;
&lt;br /&gt;
=== Configuring backup procedures ===&lt;br /&gt;
&lt;br /&gt;
See the System Configuration File on the NEOSYS Support Menu.&lt;br /&gt;
&lt;br /&gt;
==== Non-Liability for Backup ====&lt;br /&gt;
&lt;br /&gt;
{{Non-Liability For Backup}}&lt;br /&gt;
&lt;br /&gt;
==== Backing up the Images folder ====&lt;br /&gt;
&lt;br /&gt;
The Images folder under the NEOSYS installation is used to upload images/artworks/files from the Job File section and hence needs to be backed up. NEOSYS will automatically backup this Images folder to the USB drive or other location (specified for the usual data backup) once a week. To configure this backup, RSYNC needs to have been installed during the initial installation.&lt;br /&gt;
&lt;br /&gt;
In case we need to configure the Images folder backup at another location other than the usual daily backup location than we need to edit:&lt;br /&gt;
&lt;br /&gt;
 line 12 - and specify the Drive of the location to be backed up to. eg. E or F&lt;br /&gt;
&lt;br /&gt;
=== Copying a single record from one database to another ===&lt;br /&gt;
 &lt;br /&gt;
You need to know the file name and record key of the record to be copied.&lt;br /&gt;
 &lt;br /&gt;
In this case the file is DEFINITIONS and the key is AGENCY.PARAMS&lt;br /&gt;
 &lt;br /&gt;
You can invent any old style 8.3 filename instead of C:\AGP.DAT in the following example&lt;br /&gt;
 &lt;br /&gt;
On the source computer:&lt;br /&gt;
 &lt;br /&gt;
 F5&lt;br /&gt;
 COPY DEFINITIONS AGENCY.PARAMS TO: (DOS C:\AGP.DAT)&lt;br /&gt;
&lt;br /&gt;
On the target computer:&lt;br /&gt;
 &lt;br /&gt;
 F5&lt;br /&gt;
 COPY DOS C:\AGP.DAT (ON) TO: (DEFINITIONS AGENCY.PARAMS)&lt;br /&gt;
&lt;br /&gt;
The (O) option is required to force overwrite of the existing &lt;br /&gt;
 &lt;br /&gt;
The (N) option means only copy if the target already exists. It is advisable to use it when you know that the target already exists to avoid misspellings in the command. It must be omitted if the target doesnt exist.&lt;br /&gt;
&lt;br /&gt;
== Allowing users temporary login as NEOSYS in maintenance mode ==&lt;br /&gt;
 &lt;br /&gt;
#Get them to login with any name even NEOSYS&lt;br /&gt;
#Get the to enter &amp;quot;?&amp;quot; for the pass without the quotes&lt;br /&gt;
#NEOSYS will give them a lock like &amp;quot;NEOSYS 123456&amp;quot; which they must give you. You should not log out until the next step is completed&lt;br /&gt;
#Follow the NEOSYS lock/key procedure using the full contents of the lock including the user name&lt;br /&gt;
(to allow access EXCEPT access to authorisation screen use a special number (not documented here) as the last number of the initial command)&lt;br /&gt;
#Give them the key and get them to enter and proceed&lt;br /&gt;
&lt;br /&gt;
== Configuring upload of photoshop &amp;quot;cs2&amp;quot; jpg files ==&lt;br /&gt;
&lt;br /&gt;
Photoshop version &amp;quot;cs2&amp;quot; produces jpg files that cannot be viewed in Internet Explorer.&lt;br /&gt;
&lt;br /&gt;
A solution is to rename the files extension from .jpg to .psjpg before uploading.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;psjpg&amp;quot; files are an invention of NEOSYS and IIS must be configured to handle .psjpg files as follows:&lt;br /&gt;
&lt;br /&gt;
Windows Server 2003 (doesnt work on XP)&lt;br /&gt;
&lt;br /&gt;
#Computer Management, Internet Information Server, Properties&lt;br /&gt;
#Click MIME Types&lt;br /&gt;
#Click New&lt;br /&gt;
#Extension: psjpg&lt;br /&gt;
#MIME Type: application/photoshop&lt;br /&gt;
#Click OK,OK,OK&lt;br /&gt;
#Restart IIS (Right click, All Tasks, Restart)&lt;br /&gt;
&lt;br /&gt;
== Enabling backup servers to access backed-up servers ==&lt;br /&gt;
&lt;br /&gt;
This relates to a common procedure used by NEOSYS to provide automatic nightly synchronisation/backups between servers for multi-office configurations. For more information see&lt;br /&gt;
http://itwiki.neosys.com/index.php/Setting_up_remote_backup&lt;br /&gt;
&lt;br /&gt;
Αccording to this procedure, backup processes are actually initiated and run on a &amp;quot;backup server&amp;quot; using a &amp;quot;pull&amp;quot; concept. The &amp;quot;backed-up server&amp;quot; serves the data (usually using an rsync service) to the backup server on request. They do not use a &amp;quot;push&amp;quot; concept.&lt;br /&gt;
&lt;br /&gt;
This means that backup servers need to be able to automatically login to the backed-up servers. On most backup servers a NEOSYS cygwin script called autologin.sh has been installed. This helps you configure the backup server and backed-up server.&lt;br /&gt;
&lt;br /&gt;
Normally you only need to run autologin.sh once per pair of backup and backed-up servers but sometimes the configuration is lost (particularly when NEOSYS is upgraded) and it must be repeated.&lt;br /&gt;
&lt;br /&gt;
=== Using autologin.sh ===&lt;br /&gt;
&lt;br /&gt;
#Asks you for the username and hostname&lt;br /&gt;
#Copies an identity file from the backup server to the backed up server.&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;This requires you to enter the administrator or root password.&amp;lt;/b&amp;gt;&lt;br /&gt;
#Logs you in to the backed up server&#039;s cygwin/bash command line.&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;This requires you to enter the password again.&amp;lt;/b&amp;gt;&lt;br /&gt;
#YOU then type a series of commands to install the identity file and finally exit the command console.&amp;lt;br&amp;gt;The series of commands that you must type are shown on screen by autologin.sh&lt;br /&gt;
#Logs you in to the backed up server&#039;s cygwin/bash command line.&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;This time, you should NOT be required to enter a password.&amp;lt;/b&amp;gt;&lt;br /&gt;
#YOU type &amp;quot;exit&amp;quot; to quit the backed up server&#039;s command line.&lt;br /&gt;
&lt;br /&gt;
=== Running ./autologin.sh ===&lt;br /&gt;
&lt;br /&gt;
In cygwin on the backup server, type&lt;br /&gt;
&lt;br /&gt;
 ./autologin.sh&lt;br /&gt;
&lt;br /&gt;
... and follow instructions on screen. The system will ask you once the password to the target server to transfer an identity file and once again to access the command line of the target server from where you must follow a set of instructions in order to load the identity file properly.&lt;br /&gt;
&lt;br /&gt;
The username is usually administrator for windows server targets.&lt;br /&gt;
&lt;br /&gt;
The hostname can be found in backup email logs or in the CONFIG.CMD file in the backup server.&lt;br /&gt;
&lt;br /&gt;
There are often two alternative hostnames. Try the first one first. If you succeed with the first then there is no need to try the second.&lt;br /&gt;
&lt;br /&gt;
Sometimes one of the host names is based on alternative network access methods like hamachi which uses ip addresses starting with &amp;quot;5.&amp;quot; and requires hamachi service to be running in both servers and this sometimes is dependent on being logged in and correct setup of hamachi. You can ping the host names to discover the ip numbers of course.&lt;br /&gt;
&lt;br /&gt;
Follow the instructions on the screen VERY carefully.&lt;br /&gt;
&lt;br /&gt;
=== The edit step ===&lt;br /&gt;
&lt;br /&gt;
The last step will enter the nano editor where you should do the following:&lt;br /&gt;
&lt;br /&gt;
If present, delete the word neosys near the end of the last line of the file. The last bit of the last line will refer to some user and host that you are enabling access FROM&lt;br /&gt;
&lt;br /&gt;
BE CAREFUL NOT TO TRIGGER THE AUTOMATIC LINE BREAKING IN NANO because line breaking into two or more lines is automatically triggered when you add characters to long lines. it is not triggered if you just delete characters. If you do cause a line break then quit the editor WITHOUT saving and try again or then use the editor to rejoin the two lines. Note that pressing Alt+L will turn long line breaking off and on which avoids the problem in the first place.&lt;br /&gt;
&lt;br /&gt;
Press Ctrl+X to exit the editor&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Moving_NEOSYS&amp;diff=676</id>
		<title>Moving NEOSYS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Moving_NEOSYS&amp;diff=676"/>
		<updated>2011-05-12T14:13:14Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Moving NEOSYS to new servers ===&lt;br /&gt;
&lt;br /&gt;
Make sure you disable old systems BEFORE you enable new systems.&lt;br /&gt;
&lt;br /&gt;
You cannot count on users to pay attention to WHICH system they are using so its up to you to prevent access to the old system PRIOR to opening a new system for them.&lt;br /&gt;
&lt;br /&gt;
Failure to follow this procedure OFTEN results in chaos in the clients procedures. Missing invoices, etc etc etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changing drive letter to match old drive letter ====&lt;br /&gt;
&lt;br /&gt;
[[Image:changepartitiondriveletter.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Backup and restore of IIS configuration ====&lt;br /&gt;
&lt;br /&gt;
[[Image:backupiis.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== How to deauthorisation a NEOSYS installation ====&lt;br /&gt;
 &lt;br /&gt;
Deauthorisation removes the authorisation and gives a pair of &amp;quot;authorisation numbers&amp;quot; that can be run through a check to prove that deauthorisation has been done.&lt;br /&gt;
 &lt;br /&gt;
After deauthorisation you cannot use NEOSYS. If you try then it will ask for authorisation again and you cannot use the original authorisation number to reauthorise it.&lt;br /&gt;
 &lt;br /&gt;
In NEOSYS Maintenance mode press F5 then type&lt;br /&gt;
 &lt;br /&gt;
 DEAUTHORISE&lt;br /&gt;
 &lt;br /&gt;
... and answer all the questions properly.&lt;br /&gt;
 &lt;br /&gt;
At the final stage it will give you the &amp;quot;deauthorisation numbers&amp;quot; which consist of the original computer number plus another number. These numbers should not be lost and should be given to NEOSYS who will verify they are correct.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reinstating live system from backup system and shifting back ===&lt;br /&gt;
&lt;br /&gt;
This process should be done only when all the users are offline.&lt;br /&gt;
&lt;br /&gt;
To move the data form live to backup server and restore it back, follow the steps mention below:&lt;br /&gt;
&lt;br /&gt;
Before restoring the data from live server to backup server and viceversa, do a manual back (If Required) and run the &#039;&#039;&#039;backup.adlined&#039;&#039;&#039; task on backup server.&lt;br /&gt;
&lt;br /&gt;
====Steps to stop adline dubai process to start:====&lt;br /&gt;
&lt;br /&gt;
# Un-ticked automatic backup from the configuration file at adline dubai server.&lt;br /&gt;
# Renamed Global.end.temp to Global.end&lt;br /&gt;
# Disabled schedule task (Copy adline2adltest &amp;amp; start adlined)&lt;br /&gt;
# Disabled backup.adlined task at ADLINED2 server to avoid backup of adlined &amp;gt; adlined2&lt;br /&gt;
# After doing this start adlined processes at ADLINED2 server and tick the automatic backup option in the configure file. &lt;br /&gt;
# Email client giving the new URL to access NEOSYS.&lt;br /&gt;
# Ask the IT guy to plug-in the backup USB to the server and configure the drive letter on the configuration file in neosys. &lt;br /&gt;
&lt;br /&gt;
====Steps to restore adlined dataset back to adlined server (Live server)====&lt;br /&gt;
&lt;br /&gt;
ATTENTION: Send a mail to the client staff, saying neosys will be down from XXXX hours and they should logout from neosys before the XXXX hours and save their work. &lt;br /&gt;
	     If possible co-ordinate with IT guy/Responsible person to follow up and make sure that users logout on the decided time. Once all the users are offline, Block all users to access neosys.&lt;br /&gt;
&lt;br /&gt;
#Take a manual backup of the dataset you want to move to a removable drive (Flash/USB drive)&lt;br /&gt;
#Once the backup is completed, go to the configuration file and un-tick the automatic backup from the configuration file.&lt;br /&gt;
#Now unplug the USB from the backup server and plug it on main server.&lt;br /&gt;
#Before doing a restore read the below note very carefully.&lt;br /&gt;
#Now log in to maintenance process and go to General &amp;gt; Backup &amp;amp; Data Management, select Restore from disk or diskette (which is no 4), select the back drive and follow the prompts ahead.&lt;br /&gt;
#Now enable all the task disabled which were disabled on adlined server earlier and enable backup.adlined schedule task on adlined2 server.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
REMEMBER THAT RESTORE = first DELETE! and then RESTORE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Chat for reference:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
DELETE MEANS YOU SHOULD BE FRIGHTENED &amp;gt;&amp;gt; AND THEREFORE TAKE A COPY&lt;br /&gt;
&lt;br /&gt;
In this case you KNOW you have a good working copy of the data on the backup server so DELETING+RESTORE on the main server is not very frightening .. but STILL .. play SAFE .. take a COPY OF WHAT YOU DELETE DURING RESTORE maybe you can add this chat to wiki as well as my email&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=675</id>
		<title>Configuring IIS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=675"/>
		<updated>2011-05-10T06:58:48Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;After you have installed all the NEOSYS program files you need to configure IIS so that you can operate NEOSYS. Instructions are below.&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for Windows 2008 ==&lt;br /&gt;
&lt;br /&gt;
==== Installing IIS ====&lt;br /&gt;
&lt;br /&gt;
First install IIS from Control Panel &amp;gt; Programs &amp;amp; Features &amp;gt; Turn Windows Features ON or OFF &amp;gt; Add Roles:&lt;br /&gt;
&lt;br /&gt;
[[image:iis1.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the window that pops up click on next and you will get this screen, tick Web Server (IIS) - on the prompt click on Add Required Resources and then on Next:&lt;br /&gt;
&lt;br /&gt;
[[image:iis2.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the next window, click on next until you get this window - tick ASP and ISAPI Extensions:&lt;br /&gt;
&lt;br /&gt;
[[image:iis3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on Next and Finish&lt;br /&gt;
&lt;br /&gt;
==== Configuring IIS ====&lt;br /&gt;
After successfully installing IIS, go to Control Panel &amp;gt; Administrative Tools &amp;gt; Computer Management &amp;gt; Services and Applications &amp;gt; Internet Information Services (IIS) &amp;gt; Machine Name &amp;gt; Sites &amp;gt; Default Website:&lt;br /&gt;
&lt;br /&gt;
The first step is to create a virtual directory called neosys linked to D:\neosys\neosys.net:&lt;br /&gt;
&lt;br /&gt;
[[image:iis4.jpg]]&lt;br /&gt;
&lt;br /&gt;
Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data:&lt;br /&gt;
&lt;br /&gt;
[[image:iis5.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the IIS Default Web Site create a another virtual directory called neosys.w3c linked to D:\neosys\neosys.w3c (only if timesheets for mac is required):&lt;br /&gt;
&lt;br /&gt;
[[image:iis6.jpg]]&lt;br /&gt;
&lt;br /&gt;
To allow file uploads – create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
&lt;br /&gt;
[[image:iis7.jpg]]&lt;br /&gt;
&lt;br /&gt;
After you add all virtual directories the tree map of the Default Website should look as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:iis8.jpg]]&lt;br /&gt;
&lt;br /&gt;
To configure file uploads besides adding the images directory, go under IIS &amp;gt; Default Website &amp;gt; neosys – click on Handler Mappings and delete the ISAPI you see there:&lt;br /&gt;
&lt;br /&gt;
[[image:iis9a.jpg]]&lt;br /&gt;
&lt;br /&gt;
Thereafter click on Add Script Map and fill in the details as follows – Request path: *.dll , Executable: D:\neosys\neosys.net\NEOSYS\dll\upload.dll , Name: ISAPI (once you click on OK click on YES to the confirmation box)&lt;br /&gt;
&lt;br /&gt;
[[image:iis9b.jpg]]&lt;br /&gt;
&lt;br /&gt;
Edit the hosts file under c:\windows\system32\drivers\etc\ - delete the # sign next to 127.0.0.1 localhost and incluide the # sign before ::1 localhost&lt;br /&gt;
&lt;br /&gt;
[[image:iis10.jpg]]&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_NEOSYS_Finance_System&amp;diff=638</id>
		<title>Configuring NEOSYS Finance System</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_NEOSYS_Finance_System&amp;diff=638"/>
		<updated>2011-02-07T10:59:12Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Deleting unwanted historical unposted batches prior to commencing finance module ==&lt;br /&gt;
&lt;br /&gt;
This is irreversible so take a backup in case of errors. It is advisable to do this on test data first and then on main data. The process only deletes unposted records. At the time of writing, AF found no way to verify which exact version could be categorised as before or after 2009 and hence he suggests you should do this in test data first.&lt;br /&gt;
&lt;br /&gt;
The instructions say LT 2008.12 or LT 0812 - &amp;quot;LT&amp;quot; means LESS THAN ie NOT including the period mentioned so it is the first period you want to KEEP!&lt;br /&gt;
&lt;br /&gt;
=== NEOSYS versions after mid-2009 ===&lt;br /&gt;
&lt;br /&gt;
==== Clearing both posted &amp;amp; unposted items ====&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 SELECT BATCHES WITH YEAR_PERIOD LT &amp;quot;2008.12&amp;quot;&lt;br /&gt;
 DELETE BATCHES&lt;br /&gt;
 FLUSH.INDEX&lt;br /&gt;
 SELECT VOUCHERS WITH YEAR_PERIOD LT &amp;quot;0812&amp;quot;&lt;br /&gt;
 DELETE VOUCHERS&lt;br /&gt;
 FLUSH.INDEX&lt;br /&gt;
&lt;br /&gt;
 UTIL - this prepares maintenance to run the next command&lt;br /&gt;
 CHK.VINDEX               (&amp;quot;0&amp;quot; for all periods and delete all missing voucher entries and clear all empty index records)&lt;br /&gt;
 FLUSH.INDEX&lt;br /&gt;
 CLEARFILE BALANCES &lt;br /&gt;
&lt;br /&gt;
==== Clearing unposted items only ====&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 SELECT BATCHES WITH YEAR_PERIOD LT &amp;quot;2008.12&amp;quot; AND WITH UNPOSTED&lt;br /&gt;
 DELETE BATCHES&lt;br /&gt;
 FLUSH.INDEX&lt;br /&gt;
 SELECT VOUCHERS WITH YEAR_PERIOD LT &amp;quot;0812&amp;quot; AND WITH LASTACTION &amp;quot;D&amp;quot;&lt;br /&gt;
 DELETE VOUCHERS&lt;br /&gt;
 FLUSH.INDEX&lt;br /&gt;
&lt;br /&gt;
 UTIL - this prepares maintenance to run the next command&lt;br /&gt;
 CHK.VINDEX               (&amp;quot;0&amp;quot; for all periods and delete all missing voucher entries and clear all empty index records)&lt;br /&gt;
 FLUSH.INDEX&lt;br /&gt;
&lt;br /&gt;
=== NEOSYS versions before mid-2009 ===&lt;br /&gt;
&lt;br /&gt;
==== Clearing both posted &amp;amp; unposted items ====&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 SELECT BATCHES WITH YEAR_PERIOD LT &amp;quot;08.12&amp;quot;&lt;br /&gt;
 DELETE BATCHES&lt;br /&gt;
 FLUSH.INDEX&lt;br /&gt;
 SELECT VOUCHERS WITH YEAR_PERIOD LT &amp;quot;0812&amp;quot;&lt;br /&gt;
 DELETE VOUCHERS&lt;br /&gt;
 FLUSH.INDEX&lt;br /&gt;
&lt;br /&gt;
 UTIL - this prepares maintenance to run the next command&lt;br /&gt;
 CHK.INDEX               (&amp;quot;0&amp;quot; for all periods and delete all missing voucher entries and clear all empty index records)&lt;br /&gt;
 FLUSH.INDEX&lt;br /&gt;
 CLEARFILE BALANCES &lt;br /&gt;
&lt;br /&gt;
==== Clearing unposted items only ====&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 SELECT BATCHES WITH YEAR_PERIOD LT &amp;quot;08.12&amp;quot; AND WITH UNPOSTED&lt;br /&gt;
 DELETE BATCHES&lt;br /&gt;
 FLUSH.INDEX&lt;br /&gt;
 SELECT VOUCHERS WITH YEAR_PERIOD LT &amp;quot;0812&amp;quot; AND WITH LASTACTION &amp;quot;D&amp;quot;&lt;br /&gt;
 DELETE VOUCHERS&lt;br /&gt;
 FLUSH.INDEX&lt;br /&gt;
&lt;br /&gt;
 UTIL - this prepares maintenance to run the next command&lt;br /&gt;
 CHK.INDEX               (&amp;quot;0&amp;quot; for all periods and delete all missing voucher entries and clear all empty index records)&lt;br /&gt;
 FLUSH.INDEX&lt;br /&gt;
&lt;br /&gt;
== Deleting selected vouchers from open item statements ==&lt;br /&gt;
&lt;br /&gt;
This may be useful in fixing some types of cross check balance errors. It must be done in maintenance mode using F5.&lt;br /&gt;
&lt;br /&gt;
=== Method 1 - Recreation ===&lt;br /&gt;
&lt;br /&gt;
Delete all and rebuild using CHK.ALLOC. This method is the easiest but takes longer and cannot be done while users are online.&lt;br /&gt;
&lt;br /&gt;
AAAA is the ORIGINAL account no and CCC is the company code&lt;br /&gt;
&lt;br /&gt;
 DELETE VOUCHER.INDEX *AAAA*CCC&lt;br /&gt;
&lt;br /&gt;
 CHK.ALLOC&lt;br /&gt;
&lt;br /&gt;
=== Method 2 - Editing ===&lt;br /&gt;
&lt;br /&gt;
Direct editing using Ctrl+G, Ctrl+D, F9 and Esc.&lt;br /&gt;
&lt;br /&gt;
WARNING: You can easily delete the wrong entries. If so then use Method 2 to recover.&lt;br /&gt;
&lt;br /&gt;
WARNING: Do not remain in edit long if there are users online who might post to this account and company otherwise their posting will hang and maybe crash resulting in unrecoverably corrupt finance data requiring restoration of a backup and loss of all users work since the last backup.&lt;br /&gt;
&lt;br /&gt;
After you list the vouchers in step 2 you will be able to see which ones (lines) you need to delete. The order in the edit is the same as the order in the list. Delete in reverse order, last lines first so the order is unchanged until you delete a line.&lt;br /&gt;
&lt;br /&gt;
AAAA is the ORIGINAL account no and CCC is the company code&lt;br /&gt;
&lt;br /&gt;
 SELECTVOUCHERS AAAA 1&lt;br /&gt;
 LIST VOUCHERS DATE VOUCHER_PERIOD&lt;br /&gt;
 ED VOUCHERS *AAAA*C&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==How to delete a company from the dataset?==&lt;br /&gt;
&lt;br /&gt;
This procedure can only be done by NEOSYS staff in the maintenance mode. &lt;br /&gt;
&lt;br /&gt;
Login to the maintenance window.&lt;br /&gt;
&lt;br /&gt;
Go to Finance menu, select the company file. To get the company details on the screen enter the code in the company cod field.&lt;br /&gt;
&lt;br /&gt;
To delete the company press Alt + D and confirm once again after you get the screens as shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:Company_file.jpg]]&lt;br /&gt;
&lt;br /&gt;
Once you confirm the above step, system will pop-up a message with the three options as below:&lt;br /&gt;
&lt;br /&gt;
[[File:Company_file1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Select the appropriate option to delete the company.&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Company_file1.jpg&amp;diff=637</id>
		<title>File:Company file1.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Company_file1.jpg&amp;diff=637"/>
		<updated>2011-02-07T10:58:12Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Company_file.jpg&amp;diff=636</id>
		<title>File:Company file.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Company_file.jpg&amp;diff=636"/>
		<updated>2011-02-07T10:56:37Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=634</id>
		<title>Handling damaged files</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=634"/>
		<updated>2011-01-16T07:40:54Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Fixing damaged files that have no process for recreating them */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Symptoms ==&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;A Damaged file has been found..... ((the rest of this message to be completed)) &lt;br /&gt;
 Group format Error:&lt;br /&gt;
 OS File : BOOKING.TEXTS&lt;br /&gt;
 Group# : 00000932&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
&lt;br /&gt;
== Cause ==&lt;br /&gt;
Rare but nasty problem on server 99% caused by power failure, killing NEOSYS or server hardware or operating system failure.&lt;br /&gt;
&lt;br /&gt;
*Did somebody kill NEOSYS processes to reboot the server or any other reason?&lt;br /&gt;
*Was there a power cut?&lt;br /&gt;
*Any expected or unexpected reboots in the server log? (see Event Viewer &amp;gt; System Log)&lt;br /&gt;
*Enough disk free space especially on servers not dedicated to NEOSYS?&lt;br /&gt;
&lt;br /&gt;
== Solution==&lt;br /&gt;
&lt;br /&gt;
Damaged files, when detected, cause an immediate termination of the currently executing program/user request and a restart of the process is involved. Some damaged files are automatically fixed during restart. Although the process &amp;quot;restarts&amp;quot; it may be internally corrupted in some way and it is advisable to close it completely and start or allow another process to start automatically.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
However, the solution always depends on the cause and usually often requires aggressive interrogation to discover the cause.&lt;br /&gt;
&lt;br /&gt;
== Recovery==&lt;br /&gt;
&lt;br /&gt;
It is URGENT to stop using NEOSYS and fix the damaged file because it will cause NEOSYS to crash everytime it happens to update that part of the file. NEOSYS crashing while updating often produces unrecoverable inconsistencies in the database that can only be fixed by programmers sitting for hours trying to edit the database .... or by restoring from a backup causing loss of work.&lt;br /&gt;
&lt;br /&gt;
See the following sections how to patch the damaged files.&lt;br /&gt;
&lt;br /&gt;
== Files that are automatically fixed ==&lt;br /&gt;
&lt;br /&gt;
*LISTS&lt;br /&gt;
*LOCKS&lt;br /&gt;
*!INDEXING&lt;br /&gt;
&lt;br /&gt;
The above files are automatically checked for corruption (and initialised to empty if so) when you &lt;br /&gt;
startup a NEOSYS process and do not require any manual intervention apart from locating and eliminating the initial cause of the damage.&lt;br /&gt;
&lt;br /&gt;
If the !INDEXING file was damaged then you should also do REINDEXALL to reinstate any possibly missing index entries, but since this will take a long time&lt;br /&gt;
you should do this when everybody is off the system in the evening probably. A few missing index entries may only mean some records missing from some reports which may or may not be seriously inconvenient. It is a temporary file that should not hold any records for longer than it takes to update the various indexes immediately when the user saves any document.&lt;br /&gt;
&lt;br /&gt;
Each process has its own LISTS file, so damage is limited to one process for the LISTS file. The process number can be seen in the error message. for example:&lt;br /&gt;
&lt;br /&gt;
 Process=7&lt;br /&gt;
&lt;br /&gt;
You can also see the process number on the server screen. For example here is a process 2.&lt;br /&gt;
&lt;br /&gt;
 13:17:31 TESTDB NEOS0002 0 Listening 7 hours, 49 mins ...&lt;br /&gt;
&lt;br /&gt;
The LISTS file is a temporary file for sorting records into order for reports, popups etc. Therefore any damage usually causes no real inconvenience apart from the failed report or popup on which the user might receive the &amp;quot;damaged LISTS file&amp;quot; message.&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged file that have a process to recreate them ==&lt;br /&gt;
&lt;br /&gt;
ADS file can be recreated with F5 CREATEADS&lt;br /&gt;
&lt;br /&gt;
ANALYSIS file can be recreated with F5 CREATEANALYSIS&lt;br /&gt;
&lt;br /&gt;
BRANDS files can be recreated with F5 CREATEBRANDS&lt;br /&gt;
&lt;br /&gt;
If the file is actually damaged it might be necessary to initialise it first using CLEARFILE filename.&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged index files (names starting with !) ==&lt;br /&gt;
&lt;br /&gt;
Whilst backing up or using NEOSYS the following error message might appear:&lt;br /&gt;
 &lt;br /&gt;
 &amp;quot;A Damaged file has been found.....&lt;br /&gt;
 Group format Error:&lt;br /&gt;
 OS File : !ADS&lt;br /&gt;
 Group# : 00000932&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
&lt;br /&gt;
#Ensure that no-one is using NEOSYS&lt;br /&gt;
#Log into NEOSYS on the server&lt;br /&gt;
#Press F5 to get a TCL command box&lt;br /&gt;
#Type REINDEXADS and press enter.&lt;br /&gt;
#Wait until it finishes and you get back to the command box&lt;br /&gt;
#Type OFF in the command box and you will quit NEOSYS.&lt;br /&gt;
&lt;br /&gt;
Other reindex commands are:&lt;br /&gt;
&lt;br /&gt;
*REINDEXACCOUNTS	recreates !ACCOUNTS, !BATCHES and !VOUCHERS&lt;br /&gt;
*REINDEXADDRESSES &lt;br /&gt;
*REINDEXADS&lt;br /&gt;
*REINDEXBOOKINGS	recreates !BOOKING.ORDERS&lt;br /&gt;
*REINDEXBRANDS&lt;br /&gt;
*REINDEXCLIENTS&lt;br /&gt;
*REINDEXINVS		recreates !INVOICES&lt;br /&gt;
*REINDEXJOBS&lt;br /&gt;
*REINDEXMATERIALS&lt;br /&gt;
*REINDEXPLANS&lt;br /&gt;
*REINDEXPRODINVS	recreates !PRODUCTION.INVOICES&lt;br /&gt;
*REINDEXPRODORDERS	recreates !PRODUCTION.ORDERS&lt;br /&gt;
*REINDEXRATECARDS&lt;br /&gt;
*REINDEXSCHEDULES&lt;br /&gt;
*REINDEXSUPPLIERS&lt;br /&gt;
*REINDEXTIMESHEETS&lt;br /&gt;
*REINDEXVEHICLES&lt;br /&gt;
&lt;br /&gt;
REINDEXMEDIA does all the following&lt;br /&gt;
*REINDEXPLANS&lt;br /&gt;
*REINDEXSCHEDULES&lt;br /&gt;
*REINDEXADS&lt;br /&gt;
*REINDEXMATERIALS&lt;br /&gt;
*REINDEXBOOKINGS&lt;br /&gt;
&lt;br /&gt;
REINDEXFILES does all the following&lt;br /&gt;
*REINDEXCLIENTS&lt;br /&gt;
*REINDEXBRANDS&lt;br /&gt;
*REINDEXSUPPLIERS&lt;br /&gt;
*REINDEXVEHICLES&lt;br /&gt;
*REINDEXRATECARDS&lt;br /&gt;
&lt;br /&gt;
REINDEXPRODUCTION does all the following&lt;br /&gt;
*REINDEXJOBS&lt;br /&gt;
*REINDEXPRODORDERS&lt;br /&gt;
*REINDEXPRODINVS&lt;br /&gt;
*REINDEXTIMESHEETS&lt;br /&gt;
&lt;br /&gt;
REINDEXALL does all the following&lt;br /&gt;
*REINDEXMEDIA&lt;br /&gt;
*REINDEXPRODUCTION&lt;br /&gt;
*REINDEXFILES&lt;br /&gt;
*REINDEXINVS&lt;br /&gt;
*REINDEXACCOUNTS&lt;br /&gt;
*REINDEXADDRESSES&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged files that have no process for recreating them ==&lt;br /&gt;
&lt;br /&gt;
Some damaged files can be rebuilt using NEOSYS utilities especially index files with filenames starting with !. Other damaged files like &#039;&#039;LOG20xx&#039;&#039; can be “fixed” to prevent NEOSYS crashes as follows &amp;lt;i&amp;gt;but some records will most probably be lost&amp;lt;/i&amp;gt;. Depending on the file loss of a few records may not be too bad compared to restoring a database but the client should be informed and make the decision. Depending on the file it is usually best to lose the records. We can make a list of files that one can afford to lose records and those files that can be rebuilt programmatically from other files. Booking order texts they can lose records but inform them and especially the numbers mentioned in FIXFILE&lt;br /&gt;
&lt;br /&gt;
FIXFILE will not run if there are neosys services still running so before doing the FIXFILE command, shut down services from the Support menu or with the Global command:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; If there are multiple datasets running on the server. Shut down the particular dataset which has got the problem:&lt;br /&gt;
&lt;br /&gt;
F5&lt;br /&gt;
&lt;br /&gt;
 FIXFILE filename&lt;br /&gt;
&lt;br /&gt;
(Select option 1 to update the file)&lt;br /&gt;
&lt;br /&gt;
In case you get any Overwrite messages – type YES, as these are the actual files being updated.&lt;br /&gt;
&lt;br /&gt;
The only alternative is restore from a previous backup in this case losing a days work. Nasty, and even worse, it will be impossible to reproduce the days work and especially the exact serial numbers of critical documents like orders, invoices, receipts and payments advices.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Using FIXFILE to repair corrupted files ===&lt;br /&gt;
&lt;br /&gt;
BEWARE: FIXFILE causes loss of data. If the data is critical then use of FIXFILE can be totally catastrophic without any warning.&lt;br /&gt;
 &lt;br /&gt;
Using FIXFILE on some files is a guaranteed way to cause complete chaos for the users without them being aware of it until too late to do anything about it.&lt;br /&gt;
&lt;br /&gt;
Corrupt files will cause programs to abort every time they try to update that section of the file. Aborting programs causes possibly horrendous inconsistency in the database so it is important to stop all user activity and fix the corrupt file immediately.&lt;br /&gt;
&lt;br /&gt;
You can freely use FIXFILE on any file but it works by deleting any problematic data so cannot realistically be used on some files at all.&lt;br /&gt;
&lt;br /&gt;
FIXFILE cannot and does not recover any corrupted records therefore, for those files that have specific programs to rebuild them, FIXFILE is not the correct option.&lt;br /&gt;
&lt;br /&gt;
Why use FIXFILE at all since it causes loss of data?&lt;br /&gt;
&lt;br /&gt;
Many files do not have programs to rebuild them and for some of those files, using FIXFILE is a quick way to get the system back in operation BUT with missing records. Missing records causes various degrees of failure ranging from the odd document missing, totally misleading information like wrong account balances, or any kind of system failure.&lt;br /&gt;
&lt;br /&gt;
FIXFILE does not fix the consistency of information in the database. When the database is is being updated with a transaction, usually a series of files are updated for the one transaction. A damaged file causes the update program to abort in the middle of the series of updates. Therefore some of the updates are done and the remaining updates are not done. This means that the data in the database (even after fixing the corrupt file) is inconsistent.&lt;br /&gt;
 &lt;br /&gt;
FIXFILE merely fixes the technical structure of the file so that any further program accesses to that portion of the file do not cause immediate program termination and consequent likely catastrophic database inconsistency.&lt;br /&gt;
 &lt;br /&gt;
You must prevent anyone from accessing NEOSYS while FIXFILE is running.&lt;br /&gt;
&lt;br /&gt;
=== Fixing Damaged DEFINITIONS file ===&lt;br /&gt;
 &lt;br /&gt;
==== Non-Solution ====&lt;br /&gt;
 &lt;br /&gt;
You will probably not be able to login if the DEFINITIONS FILE is damaged. You can press Alt+S and type EXECUTE to get a TCL command box but this still doesnt help because you cannot use FIXFILE on DEFINITIONS.&lt;br /&gt;
 &lt;br /&gt;
CAUTION: DO NOT USE FIXFILE TO TRY AND FIX THE DEFINITIONS FILE.&lt;br /&gt;
 &lt;br /&gt;
DOUBLE CAUTION: IN CASE YOU DECIDE TO IGNORE THIS EXPECT ALL KINDS OF HORRIBLE PROBLEMS IN THE DATABASE REQUIRING A COMPLETE RESTORE FROM A GOOD BACKUP AFTER A FEW DAYS OF PAIN BECAUSE RANDOM OLD DATABASE UPGRADE/CONVERSIONS WILL BE PERFORMED *AGAIN* WITHOUT YOU KNOWING IT.&lt;br /&gt;
 &lt;br /&gt;
==== Partial Restore ====&lt;br /&gt;
 &lt;br /&gt;
You can copy recent DEFINITIONS.LK and DEFINITIONS.OV files from the DATA\datasetcode\GENERAL folder.&lt;br /&gt;
 &lt;br /&gt;
CAUTION: All changes done in the Configuration File, Authorisation File, Users File and various other changes will be reverted to the date of the DEFINITIONS files being restored. If you are restoring from last nights backup or testdata then this will not be much but could cause serious confusion to people who have changed their passwords etc.&lt;br /&gt;
&lt;br /&gt;
==== Full Restore ====&lt;br /&gt;
&lt;br /&gt;
Restore from your latest backup losing all work done since that time and date.&lt;br /&gt;
&lt;br /&gt;
=== Preventing users from accessing NEOSYS in order to do maintenance or repairs ===&lt;br /&gt;
 &lt;br /&gt;
On most systems you can simply stop the NEOSYS processes. On other systems where NEOSYS processes are automatically started in response to requests from the web, you need to disable the autostart by one of the following methods&lt;br /&gt;
 &lt;br /&gt;
# Stop the autostart program/script&lt;br /&gt;
# Put a file called NET.CFG with a single line saying AUTOSTART=NO in the neosys\neosys folder&lt;br /&gt;
# Stop the IIS server&lt;br /&gt;
# Stop/Pause the particular web in question&lt;br /&gt;
&lt;br /&gt;
== Dealing with damaged files that cannot be fixed ==&lt;br /&gt;
&lt;br /&gt;
If programmers are unable to fix the damage in a reasonably period of time and the damage is caused due to matters beyond NEOSYS control such as non-dedicated servers and power failures then data must be restored and client advised why they are going to suffer loss of data.&lt;br /&gt;
 &lt;br /&gt;
THIS DOES NOT RELEASE NEOSYS SUPPORT STAFF FROM THE OBLIGATION TO PROACTIVELY INFORM THE CLIENT OF MEASURES TO PREVENT THE RECURRENCE OF THE EVENT.&lt;br /&gt;
&lt;br /&gt;
The following are the steps to follow:&lt;br /&gt;
&lt;br /&gt;
# Ascertain the cause of the damage to the database by looking at the internal logs&lt;br /&gt;
# Create a new database from the damaged one as it will contain the up to date but damaged database.&lt;br /&gt;
# Restore the database from the backup media so that the database is in the last good known state. &lt;br /&gt;
# The client can see what work was done over the past couple of days from the damaged database and it will assist them to redo the work in the currently restored out of date main database.&lt;br /&gt;
# Next discuss with the client about the cause of the damage and (a) what to do to prevent the damage occurring again (b) to agree a procedure to perform a manual backup in case the automatic one is not performed for any reason overnight.&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=604</id>
		<title>Troubleshooting NEOSYS Generally</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=604"/>
		<updated>2010-11-04T07:51:22Z</updated>

		<summary type="html">&lt;p&gt;Sunny: /* Solving “page not found” when downloading some file types after uploading them successfully */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Solving failure to start a NEOSYS server due to disk failure message ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
During a reboot process (which maybe due to a Windows update or even done by a support personnel) the NEOSYS server gets hung on the startup and shows a message &amp;quot;Boot Failure - Abort, Retry&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
=== Temporary solution ===&lt;br /&gt;
This typically happens due to the USB being plugged into the server and the boot sequence being wrong - i.e. the server trying to boot from the USB first and fails. The immediate solution would be to unplug the USB and ask the client to reboot the server again and upon successfully rebooting the system, plug the USB back again.&lt;br /&gt;
&lt;br /&gt;
=== Permanent solution ===&lt;br /&gt;
The above problem will occur every time the computer is rebooted, so you need to immediately talk to the IT Administrator of the client and ask them to rectify the boot sequence to make it boot first from the CD ROM, then the HDD and last the USB.&lt;br /&gt;
&lt;br /&gt;
== Solving &amp;quot;Read error in the operating system file&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
&lt;br /&gt;
Nagios reports a hung process and on the server a process has the following message popup.&lt;br /&gt;
&lt;br /&gt;
 Read error in the operating system file &amp;quot;..\DATA\PT0833\ACCOUNTS\REV20049&lt;br /&gt;
 The file does not exist or the filename is&lt;br /&gt;
 not valid for the operating system.&lt;br /&gt;
&lt;br /&gt;
[[Image:readerrorintheoperatingsystemfile.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
Some non-NEOSYS program is directly accessing the NEOSYS database files while NEOSYS processes are running and using the files as well.&lt;br /&gt;
&lt;br /&gt;
*Client IT staff using a backup program to perform backup without ensuring that NEOSYS processes are shutdown.&lt;br /&gt;
*A NEOSYS rsync process taking longer than expected due to new USB.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
Kill the NEOSYS process eg with the X button. It is advisable NOT to let it run further while it cannot properly access one of its files.&lt;br /&gt;
&lt;br /&gt;
=== Prevention ===&lt;br /&gt;
&lt;br /&gt;
Remove the third party program or arrange for it to operate only while NEOSYS processes are shutdown eg from 3am-6am.&lt;br /&gt;
&lt;br /&gt;
== Handling damaged files ==&lt;br /&gt;
&lt;br /&gt;
[[Handling damaged files]]&lt;br /&gt;
&lt;br /&gt;
== Checking for corrupt database files ==&lt;br /&gt;
&lt;br /&gt;
Login to NEOSYS Maintenance&lt;br /&gt;
&lt;br /&gt;
Press F5&lt;br /&gt;
&lt;br /&gt;
 CHK.FILES&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
 CHK.FILES filename&lt;br /&gt;
&lt;br /&gt;
== Assessing Database Size per File ==&lt;br /&gt;
 &lt;br /&gt;
In NEOSYS maintenance mode&lt;br /&gt;
 &lt;br /&gt;
 LIST FILES BY BY-DSND SIZE VOLUME.NAME SIZE&lt;br /&gt;
 &lt;br /&gt;
This will include all files not just those in the actual dataset in DATA\* folders.&lt;br /&gt;
&lt;br /&gt;
== Resolving slow speed ==&lt;br /&gt;
&lt;br /&gt;
[[Benchmarking NEOSYS]]&lt;br /&gt;
&lt;br /&gt;
== Handling failure and warning on nightly backup alerts ==&lt;br /&gt;
&lt;br /&gt;
[[Handling failure and warning messages on nightly backup alerts]]&lt;br /&gt;
&lt;br /&gt;
== Resolving permissions errors while logging in ==&lt;br /&gt;
 &lt;br /&gt;
=== Problem ===&lt;br /&gt;
 &lt;br /&gt;
While logging in, you get the following error message:&lt;br /&gt;
[[Image:login_error_message.jpg]]&lt;br /&gt;
 &lt;br /&gt;
=== Solution ===&lt;br /&gt;
 &lt;br /&gt;
Add the internet guest account to the security list of the data folder with the default permission of list/read/write&lt;br /&gt;
 &lt;br /&gt;
Make sure the read&amp;amp;execute permission is removed&lt;br /&gt;
[[Image:permissions_on_data.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resolving the &#039;HTTP Error 500.0 - Internal Server Error&#039; while logging in on IE on a Windows Vista system ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
After configuring IIS on Windows Vista you will get this error message while trying to login into NEOSYS from Internet Explorer:&lt;br /&gt;
&lt;br /&gt;
 HTTP Error 500.0 - Internal Server Error&lt;br /&gt;
 Description: This application is running in an application pool that uses the Integrated .NET  &lt;br /&gt;
 mode. This is the preferred mode for running ASP.NET applications on the current and future &lt;br /&gt;
 version of IIS.&lt;br /&gt;
 &lt;br /&gt;
 In this mode, the application using client impersonation configured with &amp;lt;identity &lt;br /&gt;
 impersonate=&amp;quot;true&amp;quot; /&amp;gt; may not behave correctly. Client impersonation is not available in early &lt;br /&gt;
 ASP.NET request processing stages and may lead modules in those stages to execute with process &lt;br /&gt;
 identity instead.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
You can move the application to an application pool that uses the Classic .NET mode by using the following from a command line window (the window must be running as Administrator) &lt;br /&gt;
&lt;br /&gt;
 %systemroot%\system32\inetsrv\APPCMD.EXE set app &amp;quot;Default Web Site/neosys&amp;quot; /applicationPool:&amp;quot;Classic .NET AppPool&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can use any other application pool on your system that is running in the Classic .NET mode. You can also use the IIS Administration tool to move this application to another application pool.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resolving the &#039;Class Not Registered&#039; error message while logging in ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
While logging into NEOSYS, you will get a popup window giving an error message saying &#039;Class Not Registered - Server Error&#039;. Typically, you will encounter this error with XP Pro IIS 5.1. As usual, there&#039;s way to solve it, however the root cause of this is still unknown.&lt;br /&gt;
&lt;br /&gt;
Anyway, you will get the proper message in the event log:&lt;br /&gt;
&lt;br /&gt;
 Event Type: Warning&lt;br /&gt;
 Event Source: W3SVC&lt;br /&gt;
 Event Category: None&lt;br /&gt;
 Event ID: 36&lt;br /&gt;
 Description: The server failed to load application &#039;/LM/W3SVC/1/ROOT/NEOSYS.&lt;br /&gt;
 The error was &#039;Class not registered&#039;. &lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
So, what do you do ? This problem is related to Component Services, and when you open Component Services MMC, you will most probably  get  Error Code 8004E00F COM + was unable to talk to Microsoft Distributed Transaction Coordinator. So, fix the COM+ services first by using the following KB from Microsoft (PRB: Cannot Expand &amp;quot;My Computer&amp;quot; in Component Services MMC Snap-In http://support.microsoft.com/?id=301919):&lt;br /&gt;
&lt;br /&gt;
To resolve this problem, reinstall Component Services as follows: WARNING: &lt;br /&gt;
# Open registry editor, locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3, and then delete this key.  &lt;br /&gt;
# From the Start menu, point to Settings, click Control Panel, and then click Add/Remove Programs.  &lt;br /&gt;
# Click Add/Remove Windows Components. &lt;br /&gt;
# Proceed through the wizard, and accept all of the defaults (including IIS)&lt;br /&gt;
# Restart the computer.&lt;br /&gt;
&lt;br /&gt;
If the above didn&#039;t solve it, and you still receive the &#039;Class not registered&#039; error message, then you need to recreate the IIS packages in COM+, try&lt;br /&gt;
&lt;br /&gt;
# Delete IIS related package in Component Services MMC&lt;br /&gt;
# IIS In-Process Applications &lt;br /&gt;
# IIS Out-of-Process Pooled Applications &lt;br /&gt;
# IIS Utilities&lt;br /&gt;
&lt;br /&gt;
Next, if you still get the message, try following before re-install IIS if you can&#039;t find Distributed Transaction Coordinator in your Services console.&lt;br /&gt;
&lt;br /&gt;
Launch command prompt and run the following command.&lt;br /&gt;
# msdtc -install&lt;br /&gt;
# net start msdtc&lt;br /&gt;
&lt;br /&gt;
Then try re-install IIS.&lt;br /&gt;
&lt;br /&gt;
This should solve the problem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Enabling File Security option on Win XP Professional ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
&lt;br /&gt;
In the Properties of any folders, the Security option does not show, hence you cannot modify the Read, Write options.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
The solution would be to untick the &#039;Simple File Sharing&#039; option from  Tools &amp;gt; Folder Options &amp;gt; View:&lt;br /&gt;
[[Image:simplefilesharingoff.jpg]]&lt;br /&gt;
&lt;br /&gt;
== B10 &amp;amp; B12 Errors ==&lt;br /&gt;
&lt;br /&gt;
These errors are in the software and should be immediately escalated to the programmer.&lt;br /&gt;
&lt;br /&gt;
== Internet Explorer Menu, View, Text Size doesnt change font size as expected ==&lt;br /&gt;
&lt;br /&gt;
Cause: This is because the font size is now user definable in NEOSYS and View, Text Size does not override predefined font sizes.&lt;br /&gt;
&lt;br /&gt;
Solution: If you are using Internet Explorer 7 you can scale the screen (including the font size  using ctrl + and ctrl - keyboard shortcuts or the font size button on the bottom right hand side of the window. &lt;br /&gt;
&lt;br /&gt;
You can adjust the font size on the User Details form when you login although this permanently applies to all forms not just the one that you are on.&lt;br /&gt;
&lt;br /&gt;
== Error on process window &amp;quot;Not enough string space - Out of Memory&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Message ===&lt;br /&gt;
&lt;br /&gt;
‘RTP27’ Line 1. [B29] Not enough string space – Out of Memory.&lt;br /&gt;
&lt;br /&gt;
Not enough memory to execute Debugger; current program aborted.&lt;br /&gt;
Press any key to continue&lt;br /&gt;
&lt;br /&gt;
[[Image:out_of_memory.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
Unknown perhaps related to some large document or report&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
Ask users for any hanging transactions.&lt;br /&gt;
None other than closing and starting another process&lt;br /&gt;
&lt;br /&gt;
== Uploaded jpg files fail to display in internet explorer ==&lt;br /&gt;
&lt;br /&gt;
Some large jpg files &amp;gt; 2Mb cannot be viewed in internet explorer despite being viewable in image preview, ms paint and other viewers/editors. It is not an issue caused by uploading or downloading the files.&lt;br /&gt;
&lt;br /&gt;
These file appear to have been created on Photoshop CS Macintosh and may be a special type of uncompressed jpg used for production quality files.&lt;br /&gt;
&lt;br /&gt;
=== Partial solution ===&lt;br /&gt;
Before uploading the files, open them in some editor like MS Paint (right click, edit) and save them. However this results in a loss of quality. Perhaps there is some program that can convert these files to a format understandable by Internet explorer without any loss of quality.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;You have attempted to write to a read-only file&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Message ===&lt;br /&gt;
&lt;br /&gt;
Error while writing data.&lt;br /&gt;
You have attempted to write to a read-only file.&lt;br /&gt;
- or -&lt;br /&gt;
access to the file has been denied by the operating system.&lt;br /&gt;
(operating system file name: &amp;quot;..\DATA\ADLINEC\ADAGENCY\REV76467.OV00012618&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
It is almost certainly due to some third party backup or other maintenance software opening the NEOSYS database files when it shouldn&#039;t e.g. badly configured third party backup scheduled to backup NEOSYS while NEOSYS is still running. Note that the exact filename varies each time.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
This can be a serious error that causes damaged files in NEOSYS especially if the filename ends in .OV. Use the usual methods of checking for damaged files e.g. do a backup which also looks for damaged files BUT DO NOT OVERWRITE THE LATEST BACKUP SINCE IT MAY BE REQUIRED for restoration. Then fix the damaged files using the usual methods e.g. by rebuilding/using&lt;br /&gt;
FIXFILE or restoring databases.&lt;br /&gt;
&lt;br /&gt;
=== Prevention ===&lt;br /&gt;
&lt;br /&gt;
Remove the third party backup or other maintenance software or reschedule it to run at a time that NEOSYS is shutdown. Removal of software may require hunting through the windows process list for unexpected programs running.&lt;br /&gt;
&lt;br /&gt;
== Resolving &amp;quot;Cannot backup/restore because PROCESS1 PROCESS2 (etc) is/are online&amp;quot; message ==&lt;br /&gt;
 &lt;br /&gt;
This can happen for a variety of reasons if all the NEOSYS processes fail to close down at backup time&lt;br /&gt;
 &lt;br /&gt;
# NEOSYS maintenance windows are left open.&lt;br /&gt;
# NEOSYS processes hang due to software error.&lt;br /&gt;
 &lt;br /&gt;
== How to kill hung NEOSYS processes ==&lt;br /&gt;
 &lt;br /&gt;
NOTE WELL: If you kill actively working NEOSYS processes (those which are &amp;quot;listening&amp;quot; and not hung/crashed) there is a reasonable chance that the database will be damaged and might need a restore losing possibly large amounts of work.&lt;br /&gt;
 &lt;br /&gt;
==== If NEOSYS processes are visible on the server desktop ====&lt;br /&gt;
 &lt;br /&gt;
Look for processes which don&#039;t have &amp;quot;Listening ...&amp;quot; on the last but one line. The times on the left hand side are frozen as at the time of the hang.&lt;br /&gt;
 &lt;br /&gt;
You can then click the X to kill the process and confirm that this is OK.&lt;br /&gt;
 &lt;br /&gt;
Example of a NEOSYS process that has hung due to a software error resulting in a failure to handle a complex query with a lot of brand codes.&lt;br /&gt;
&lt;br /&gt;
[[Image:hungprocess.jpg]]&lt;br /&gt;
 &lt;br /&gt;
==== If NEOSYS processes are not visible on the server desktop ====&lt;br /&gt;
&lt;br /&gt;
NEOSYS processes are most of the time visible on the desktop (i.e. the black dos windows) in Windows 2003 OS, except in the case that the process has been scheduled to start on computer restart and no one has logged into the server. In this case it would be running in the background. Secondly in the case of Windows 2008, the processes always are hidden. &lt;br /&gt;
&lt;br /&gt;
You can check if there are any hung processes from the NEOSYS Support Menu, List of Database Processes. &lt;br /&gt;
[[Image:databaseprocesseslist.jpg]]&lt;br /&gt;
&lt;br /&gt;
In this case you should follow the below instructions - however all of them need to be done within 30 seconds of starting the first instruction to avoid inconvenience to the users. It is recommend that you keep relevant windows open before proceeding with the same:&lt;br /&gt;
&lt;br /&gt;
#Shutdown NEOSYS by TEMPORARILY putting a file called GLOBAL.END in the parent directory of NEOSYS (if there is already a GLOBAL.END.TEMP file then rename it to GLOBAL.END). Leaving the file there would prevent NEOSYS from starting up again. Shutting down NEOSYS from the Support menu will not work because of the hung processes.&lt;br /&gt;
#Use Windows Task Manager to kill all the NTVDM processes - assuming that you have closed all the visible NEOSYS processes, then the NTVDM processes in the task manager would be the hung one.&lt;br /&gt;
#Delete GLOBAL.END or rename it to GLOBAL.END.TEMP&lt;br /&gt;
#Restart the processes back again. If there are many datasets then you need to restart them all well within the 30 seconds period.&lt;br /&gt;
&lt;br /&gt;
In case of Patsalides, where we have a thousand datasets which start &amp;quot;on demand&amp;quot; i.e. usually on login; all you need to do is start one dataset which will restart all the other datasets &amp;quot;on demand&amp;quot;. If there is no response within 30 seconds then one of the running datasets will start it up so there appears to be a 30 second delay when you login to one of the thousand datasets the first time on any one day.&lt;br /&gt;
&lt;br /&gt;
=== Temporary workarounds for hung NEOSYS processes ===&lt;br /&gt;
Until the error in the software is fixed users can often get their results by simplifying their requirements. For example select individual clients instead of selecting all the brands for a particular client. If the user has repeated his request (in forlorn hope that it would work finally) then the number of NEOSYS working NEOSYS processes will drop causing severe slowdown for other users and complete stop if all the NEOSYS processes hang.&lt;br /&gt;
&lt;br /&gt;
== How to fix a NEOSYS process which opens up in a notepad instead of Microsoft Windows Based Script Host (i.e. DOS window)==&lt;br /&gt;
&lt;br /&gt;
The NEOSYS process (cmd file) might open up in a notepad, instead of the usual black colour DOS window. This can be fixed by the following:&lt;br /&gt;
&lt;br /&gt;
# Download and install the Windows Script 5.6/5.7 from the Microsoft Website&lt;br /&gt;
# Go to any folder, click on Tools &amp;gt; Folder Options &amp;gt; File Types and find the .JS and .JSE and change the default program to wscript.exe (from windows&amp;gt;system32)&lt;br /&gt;
&lt;br /&gt;
== Resolving a &#039;Could not start&#039; error on Scheduled Tasks in Windows Server 2000 SP4 ==&lt;br /&gt;
&lt;br /&gt;
This error occurs because of a change that is made to the data that is stored in the credentials database when you install Windows 2000 SP4. Hence installing SP4 causes the the data that is stored in the credentials database to get converted to an SP4-compatible format. A registry key is configured to indicate that the data has been converted to the SP4 format.&lt;br /&gt;
&lt;br /&gt;
Hence the Scheduled Tasks do not work sometimes. However the Scheduled Tasks works fine sometimes, but when you uninstall SP4, it does not work.&lt;br /&gt;
&lt;br /&gt;
The best solution is to:&lt;br /&gt;
&lt;br /&gt;
# Incase Scheduled Tasks do not work after installing SP4, then uninstall SP4 and it should be fine.&lt;br /&gt;
# Incase Scheduled Tasks works after installing SP4, and later after uninstalling SP4, it does not work, then install SP4 and it should be fine.&lt;br /&gt;
&lt;br /&gt;
== Checking for server or NEOSYS crashes ==&lt;br /&gt;
 &lt;br /&gt;
#NEOSYS Maintenance Mode&lt;br /&gt;
#General Menu, Setup, Processes&lt;br /&gt;
#Select the dates and the option Detailed&lt;br /&gt;
 &lt;br /&gt;
This report shows a list of dates and times that NEOSYS logged in but did not log out properly.&lt;br /&gt;
 &lt;br /&gt;
Ignore the very latest entries since they represent the current NEOSYS processes. For example, if you have four NEOSYS processes running at the time that you get the report (including any in maintenance mode) then you can ignore the last four entries.&lt;br /&gt;
 &lt;br /&gt;
The date and time shows for each process that has failed to shutdown correctly when the process logged in. Versions of NEOSYS from January 2008 will also show the date and time that each crashed NEOSYS process was last active (heartbeat) so that the time of failure can be known.&lt;br /&gt;
 &lt;br /&gt;
If you see a bunch of NEOSYS processes all started up at around the same time but all failed to shutdown correctly then the cause will be a server failure - usually power failure.&lt;br /&gt;
 &lt;br /&gt;
Isolated one-off failures will be related to individual NEOSYS process crashes - most commonly caused by one of the following:&lt;br /&gt;
 &lt;br /&gt;
#NEOSYS hanging to due to software failure&lt;br /&gt;
#Manually exiting a NEOSYS process on the server either by pressing Ctrl+Alt+Del or clicking the &amp;quot;X&amp;quot; close icon/box and ignoring the warning&lt;br /&gt;
#Random server failures eg memory, disk etc&lt;br /&gt;
 &lt;br /&gt;
Example:&lt;br /&gt;
 &lt;br /&gt;
 LOGIN 22/12/2007 06:02 NEOSYS SERVER ADAGENCY         Current workstation &lt;br /&gt;
 LOGIN 23/12/2007 06:00 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 06:01 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 06:02 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:52 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:52 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:53 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:00 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:01 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:02 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 13:51 NEOSYS SERVER NEOSYS         Current user session  &lt;br /&gt;
&lt;br /&gt;
Interpretation:&lt;br /&gt;
 &lt;br /&gt;
The first four entries indicate that all four NEOSYS processes started at 06am were suddenly killed probably by power failure&lt;br /&gt;
 &lt;br /&gt;
The next four entries indicate that NEOSYS was restarted at around 08:52 and all these processes were AGAIN killed probably by power failure&lt;br /&gt;
 &lt;br /&gt;
The last four entries can be ignored because there were four NEOSYS processes running at the time that the report was generated&lt;br /&gt;
&lt;br /&gt;
== Searching for word/number in the database files using maintenance mode ==&lt;br /&gt;
&lt;br /&gt;
You can search for any word/number in the database files of NEOSYS, using the following command line:&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 FIND FILENAME WORDWITHOUTANYSPACES&lt;br /&gt;
 &lt;br /&gt;
 For eg:&lt;br /&gt;
 FIND CURRENCIES 1.1&lt;br /&gt;
 (here you are searching for the number 1.1 in the currencies file) You CANNOT search for a phrase ie include spaces like this.&lt;br /&gt;
 &lt;br /&gt;
 Or you can also type:&lt;br /&gt;
 FIND FILENAME &amp;lt;enter&amp;gt;&lt;br /&gt;
 and it will ask you what you want do to search. You can enter an exact phrase with spaces.&lt;br /&gt;
&lt;br /&gt;
Incase you do not know the filenames, you can enter the following command to see all the filenames in the system:&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 LF&lt;br /&gt;
&lt;br /&gt;
== NO LOCK RECORD error when working on NEOSYS ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears:&lt;br /&gt;
&lt;br /&gt;
 Cannot save &amp;quot;DOCUMENT NAME&amp;quot; because:&lt;br /&gt;
 Somebody has updated this record.&lt;br /&gt;
 Your update cannot be applied.&lt;br /&gt;
 This session id does not agree &amp;quot;NO LOCK PERIOD&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Possible Causes and Solutions ===&lt;br /&gt;
 &lt;br /&gt;
1. There is some other error in NEOSYS software while saving the record.&lt;br /&gt;
Probably another error message would come before this one and that message should be sent to NEOSYS in order to solve the actual problem.&lt;br /&gt;
 &lt;br /&gt;
2. There has been a temporary loss of connection to the server for some period of time.&lt;br /&gt;
The NEOSYS web page needs to periodically &amp;quot;refresh&amp;quot; the exclusive lock on the document being edited. If NEOSYS cannot perform the refresh it may lose the rights to save the document.&lt;br /&gt;
 &lt;br /&gt;
Loss of connection could be for a huge variety of reasons including server, network, and workstation failures.&lt;br /&gt;
 &lt;br /&gt;
3. Bad Internet Explorer Configuration&lt;br /&gt;
Loss of cookies etc due to third party software (internet toolbars/spyware etc)&lt;br /&gt;
 &lt;br /&gt;
Reset Internet Explorer to factory settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting the NTVDM Hard error when opening up NEOSYS processes ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears:&lt;br /&gt;
&lt;br /&gt;
[[Image:ntvdm.jpg]]&lt;br /&gt;
&lt;br /&gt;
 NTVDM encountered a hard error&lt;br /&gt;
&lt;br /&gt;
=== Solution  ===&lt;br /&gt;
 &lt;br /&gt;
This error is caused by missing or corrupt Windows system files (i.e. command.com, autoexec.nt and config.nt). The solution is to run a program called XP FIX which will reinstall these missing files. You can download it form http://www.visualtour.com/downloads/xp_fix.exe&lt;br /&gt;
&lt;br /&gt;
Sometimes even after running the XP FIX program the error still appears. Then you need to copy all the files under C:/windows/repair to C:/windows/system32 and in the autoexec.nt and config.nt put REM before any lines there which don&#039;t have it.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting a Service Unavailable message on Internet Explorer when opening up NEOSYS ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears in Internet Explorer when you try to open up NEOSYS:&lt;br /&gt;
&lt;br /&gt;
 Service Unavailable&lt;br /&gt;
&lt;br /&gt;
=== Solution  ===&lt;br /&gt;
 &lt;br /&gt;
Open the IIS Manager, right click Web Sites and select properties:&lt;br /&gt;
[[Image:serviceunavailable1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Switch to the Service Tab and tick the &amp;quot;Run WWW Service in IIS 5.0 Isolation Mode&amp;quot;.&lt;br /&gt;
[[Image:serviceunavailable2.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will be asked for Restart of IIS. Click yes to restart IIS. If you are not asked just restart IIS.&lt;br /&gt;
&lt;br /&gt;
== Inspecting IIS log files ==&lt;br /&gt;
&lt;br /&gt;
At a windows command prompt:&lt;br /&gt;
&lt;br /&gt;
 c:&lt;br /&gt;
 cd \Windows\system32\LogFiles\W3SVC1&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 %SystemDrive%&lt;br /&gt;
 cd %SystemRoot%&lt;br /&gt;
 cd system32\LogFiles\W3SVC1&lt;br /&gt;
&lt;br /&gt;
then (substituting the ip number you are interested in)&lt;br /&gt;
&lt;br /&gt;
 find &amp;quot;192.168.1.55&amp;quot; *|sort&amp;gt;temp.log&lt;br /&gt;
&lt;br /&gt;
Open temp.log in Excel and use Tools, Data, Text to Columns to split into columns using options &amp;quot;Delimited&amp;quot; and check split on Space.&lt;br /&gt;
&lt;br /&gt;
Autowidth all columns by clicking on the top left box just outside the data to the left of column A and above column 1 then double click the column separator to the right of column &amp;quot;A&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note that times and dates are in UTC/GMT so you have to add/subtract your timezone offset to get local times.&lt;br /&gt;
&lt;br /&gt;
== Fixing NEOSYS processes that do not auto start / Recovering from incorrect advanced date or time ==&lt;br /&gt;
&lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
After starting up the 1st process, the rest of the processes don&#039;t start up.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
The possible cause for this could be that the system date/time might have been changed - either manually or by the auto synchronization. Do the following checks in the sequence of order:&lt;br /&gt;
&lt;br /&gt;
# Check for any .$* files (* is a number, the highest being the latest one). If it shows OK, then proceed ahead.&lt;br /&gt;
# Check for any .end files and delete it to rename to .end.temp&lt;br /&gt;
# Check the System Event Viewer log for any 520 or 577 error message (refer http://128.175.24.251/forensics/timechange.htm). Also check for any out of sequence / ahead of today date or time.&lt;br /&gt;
# In case of no 520 or 577 error message, go to Administrative Tools &amp;gt; Local Security Policy &amp;gt; Local Policies &amp;gt; Audit Policy &amp;gt; Audit Privilege use - make sure that Success and Failure are selected under this (this will ensure that future changes to the date/time are recorded in the System Log).&lt;br /&gt;
# In NEOSYS maintenance mode - F5 ED PROCESSES %UPDATE% - and see what it says, incase of any text there, that means that for sure the system date has been changed.&lt;br /&gt;
# Now to fix this, in maintenance mode again enter - F5 DELETE PROCESSES &amp;quot;%UPDATE%&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Recognising and Solving Low Memory Problems ==&lt;br /&gt;
&lt;br /&gt;
Quick Note: Installing a server class operating system on a workstation class computer with the intention of NEOSYS serving a heavy load is likely to cause problems with low memory.&lt;br /&gt;
&lt;br /&gt;
Quick Fix: Disable *ALL* non-essential features in the power-on setup menu.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
&lt;br /&gt;
It is speculated but not proven that low memory may cause NEOSYS to fail by hanging, causing damaged files etc.&lt;br /&gt;
&lt;br /&gt;
=== Checking ===&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 MEMORY&lt;br /&gt;
&lt;br /&gt;
On server class machines it should say somewhere around 350Kb to 370Kb Free&lt;br /&gt;
&lt;br /&gt;
Some server class machines have around 330Kb and sometimes even less with no reported problems&lt;br /&gt;
&lt;br /&gt;
The actual effect of low memory is supposed to make NEOSYS slower and perhaps cause hanging and damaged files however this has not been proven in an specific case so far.&lt;br /&gt;
&lt;br /&gt;
On workstation class machines it may often say around 280Kb to 300Kb.&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
Although there is plenty of real memory in virtually all computers now, NEOSYS runs in the legacy 16 bit virtual memory space of a windows mode called NTVDM. This is limited to 1Mb plus 4Mb of EMS memory.&lt;br /&gt;
&lt;br /&gt;
The 1Mb memory space is shared with:&lt;br /&gt;
&lt;br /&gt;
#Various non-essential windows drivers which NEOSYS automatically disables them in autoexec.nt&lt;br /&gt;
#Various plug and play hardware device drivers for the various adapters in the computer like video, network adapters and various other items that NEOSYS is unable to disable.&lt;br /&gt;
&lt;br /&gt;
In a server class computer the hardware device drivers are usually minimally present in the 1Mb base memory and do not therefore DOESNT a low memory situation for NEOSYS.&lt;br /&gt;
&lt;br /&gt;
In workstation class computers there are often many hardware device drivers present in the 1Mb base memory and this DOES causes a low memory situation for NEOSYS.&lt;br /&gt;
&lt;br /&gt;
When NEOSYS is installed on workstation class computers with XP there is usually not a heavy load expectation and therefore the low memory does not cause a problem.&lt;br /&gt;
&lt;br /&gt;
If Windows Server OS is installed on a workstation class computer NEOSYS may well be expected to serve a heavy load with limited amounts of memory.&lt;br /&gt;
&lt;br /&gt;
Workstation class computers: hardware drivers present and EMS is installed in low memory (0000-9FFF) causing low memory for NEOSYS and possible inability to &lt;br /&gt;
&lt;br /&gt;
Server class computers: Usually few hardware drivers are present in high part (A000-FFFF) of the 1Mb base memory and EMS is able to occupy the high memory leaving the low part (0000-9FFFF) of the 1Mb memory free for NEOSYS. You can find out how much memory is available to NEOSYS and whether EMS is occuping high or low memory using the following sections.&lt;br /&gt;
&lt;br /&gt;
=== Fixing Low Memory ===&lt;br /&gt;
&lt;br /&gt;
Start, Run, notepad c:\windows\system32\autoexec.nt&lt;br /&gt;
&lt;br /&gt;
Every time NEOSYS starts it tries to make some changes as follow:&lt;br /&gt;
&lt;br /&gt;
#replaces all lines in C:/WINDOWS/SYSTEM32/AUTOEXEC.NT starting with &#039;lh &#039; to start with &#039;rem NEOSYS LH &#039; instead.&lt;br /&gt;
#changes the line in C:/WINDOWS/SYSTEM32/CONFIG.NT &amp;quot;files=...&amp;quot; to &amp;quot;FILES=200&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The replacement is case sensitive triggered on &#039;lh&#039; and &#039;files&#039; so if you manually edit the files and remove the rem or change the number of files and leave the LH and FILES in uppercase then NEOSYS will NOT make further changes. This allows you to do manual amendments to the files without NEOSYS overwriting them.&lt;br /&gt;
&lt;br /&gt;
Check that NEOSYS has successfully disabled all the drivers in the lines starting with LH.&lt;br /&gt;
&lt;br /&gt;
They should be commented out (prefixed) with REM or REM NEOSYS as follows.&lt;br /&gt;
&lt;br /&gt;
After making changes reopen NEOSYS in maintenance mode to use the MEMORY and WHO commands again.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM Install CD ROM extensions&lt;br /&gt;
REM NEOSYS LH %SystemRoot%\system32\mscdexnt.exe&lt;br /&gt;
&lt;br /&gt;
REM Install network redirector (load before dosx.exe)&lt;br /&gt;
REM NEOSYS LH %SystemRoot%\system32\redir&lt;br /&gt;
&lt;br /&gt;
REM Install DPMI support&lt;br /&gt;
REM NEOSYS LH %SYSTEMROOT%\SYSTEM32\DOSX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Allowing DOS programs that require DOSX to run on the same computer as NEOSYS ===&lt;br /&gt;
&lt;br /&gt;
The automatic commenting out DOSX by NEOSYS will prevent some other DOS-like programs from running. If NEOSYS is on dedicated server then there should be no other such programs to fail. However, if you must allow DOS-like programs to work as well as NEOSYS you can do the following configuration:&lt;br /&gt;
&lt;br /&gt;
#leave or restore the original AUTOEXEC.NT and CONFIG.NT files where they are&lt;br /&gt;
#copy them to another folder eg neosys folder&lt;br /&gt;
#make the necessary REM changes there by hand&lt;br /&gt;
#right click the NEOSYS\NEOSYS\AREV.PIF and select properties&lt;br /&gt;
#change the location of the AUTOEXEC.NT and CONFIG.NT files in the following location&lt;br /&gt;
&lt;br /&gt;
[[image:pifsettings.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Checking EMS Memory Configuration ===&lt;br /&gt;
&lt;br /&gt;
==== Inspection ====&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 WHO&lt;br /&gt;
&lt;br /&gt;
 press the up arrow to get to the last part/page&lt;br /&gt;
&lt;br /&gt;
===== Example of Typical Server EMS Memory =====&lt;br /&gt;
[[image:serveremm.jpg]]&lt;br /&gt;
&lt;br /&gt;
===== Example of Typical Workstation EMS Memory =====&lt;br /&gt;
[[image:workstationemm.jpg]]&lt;br /&gt;
&lt;br /&gt;
====Correction====&lt;br /&gt;
&lt;br /&gt;
No easy way&lt;br /&gt;
&lt;br /&gt;
Removal of hardware adapters designed for workstations instead of servers eg graphics cards and network cards.&lt;br /&gt;
&lt;br /&gt;
Many of the devices may be located on the motherboard and not relocatable except possibly by BIOS configuration or special manufacturer information.&lt;br /&gt;
&lt;br /&gt;
Use windows device manager, View: Resources by Connection, Open the Memory item and look for items between 000A0000 up to 000FFFFF that might give you a clue as to what hardware could be removed or reconfigured. Actually only 000C0000 to 000FFFFF is candidate for EMS memory since 000A000-000BFFFF is mandatory video memory in all systems.&lt;br /&gt;
&lt;br /&gt;
[[image:devicemanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Resolving issue where NEOSYS processes do not start-up at all or start-up and close immediately ==&lt;br /&gt;
&lt;br /&gt;
# Find if a file with the name global.end exists in the root directory of the NEOSYS installation. Eg D:\global.end . If you find such a file, rename it to global.end.temp - for more information on global.end and what it does refer to http://techwiki.neosys.com/index.php/Closing_NEOSYS_services&lt;br /&gt;
# If the above didn&#039;t fix the problem and NEOSYS still does not start, do a windows search for the entire NEOSYS folder for *.end (i.e. any file ending with .end extension). You may find a (databasecode).end file in D:\neosys\neosys folder which is created by the NEOSYS program during backup at 1 am and later on removed automatically. In this case NEOSYS program might have crashed during the backup and left this file behind. (databasecode).end files prevent other other NEOSYS processes starting up on the database while exclusive processes (like backup) are being done.&lt;br /&gt;
&lt;br /&gt;
In case the above didn&#039;t fix the problem then escalate to the programmer immediately.&lt;br /&gt;
&lt;br /&gt;
== Handling Change Backup message if the client does not use a USB backup device ==&lt;br /&gt;
DO *NOT* FOLLOW THIS PROCEDURE SINCE IS IT IS TOTALLY UNACCEPTABLE FOR NEOSYS TO SEND OUT A &amp;quot;BACKUP SUCCESS&amp;quot; MESSAGE WHEN THE BACKUP IS NOT BEING DONE PROPERLY. IN GENERAL, TAKING SHORT CUTS THAT MAKE THINGS APPEAR SATISFACTORY WHEN THEY ARE NOT IS VERY POOR POLICY.&lt;br /&gt;
&lt;br /&gt;
IF THE CLIENT IS BACKING UP TO A NON-REMOVABLE DESTINATION THEN EITHER 1. LIVE WITH THE FAILURE MESSAGE OR 2. SUPPRESS THE BACKUP ENTIRELY IN WHICH CASE NO BACKUPS ARE BEING DONE AND PROBABLY THIS WILL SHOW ON NEOSYS PROACTIVE WARNING SYSTEMS LIKE NAGIOS.&lt;br /&gt;
&lt;br /&gt;
# Basically most of the client use USB for Neosys server but there are some clients who do not use USB but save their backups in hard drive. &lt;br /&gt;
# As we know that backup take place in Data.bak folder but it do a backup only for a week in a single USB. Over here client do not use USB but save their backup in hard drive in Data.bak folder, once the week is over  it will again give Change backup message.  &lt;br /&gt;
# In this case rename the Data.bak folder to Data1.bak this is done because system read only Data.bak folder as it is configured in the system. When you rename Data.bak to Data1.bak it automatically create a new folder Data.bak in Backup drive.&lt;br /&gt;
# This process is done so that the backup should not fail then next day morning and backups are done in Data.bak folder.&lt;br /&gt;
# In the third week we will again see the same message Chang backup USB message so you need to rename Data.bak folder to Data2.bak&lt;br /&gt;
# But in fourth week you rename the Data1.bak to Data.bak and change the Data2.bak to Data1.bak and Data.bak to Data2.bak &lt;br /&gt;
# Keep only three folders and Data.bak, Data1.bak, Data2.bak and keep on renaming these folders every week as shown above.&lt;br /&gt;
&lt;br /&gt;
== Closing processes that are not visible on the desktop or hidden ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS processes are most of the time visible on the desktop (i.e. the black dos windows) in Windows 2003 OS, except in the case that the process has been scheduled to start on restart and no one has logged into the server. In this case it would be hidden. Secondly in the case of Windows 2008, the processes always are hidden.&lt;br /&gt;
&lt;br /&gt;
In these cases whenever there is a hung NEOSYS process - due to many reasons for eg low memory. In this case you should close all processes using the global.end method and then from the task manager kill any NTVDM processes and then restart NEOSYS. This should be done within 30 seconds from using the global.end method to avoid any inconvenience to the users. If there are many datasets then you need to restart them all well within the 30 seconds period.&lt;br /&gt;
&lt;br /&gt;
In case of Patsalides, where we have a thousand datasets which start &amp;quot;on demand&amp;quot; i.e. usually on login; all you need to do is start one dataset which will restart all the other datasets &amp;quot;on demand&amp;quot;. If there is no response within 30 seconds then one of the running datasets will start it up so there appears to be a 30 second delay when you login to one of the thousand datasets the first time on any one day.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS not updating Nagios ==&lt;br /&gt;
&lt;br /&gt;
You find something like the following message in UPDATE.$WG in the neosys\neosys.folder&lt;br /&gt;
&lt;br /&gt;
 Connecting to 192.168.100.145:8080 failed: No such file or directory.&lt;br /&gt;
&lt;br /&gt;
Where the above appears to be some non-functional http proxy server ip/port number and is not the expected nagios server ip number.&lt;br /&gt;
&lt;br /&gt;
The windows command proxycfg shows the same ip and port&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
D:\NEOSYS\NEOSYS&amp;gt;proxycfg&lt;br /&gt;
Microsoft (R) WinHTTP Default Proxy Configuration Tool&lt;br /&gt;
Copyright (c) Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;br /&gt;
Current WinHTTP proxy settings under:&lt;br /&gt;
  HKEY_LOCAL_MACHINE\&lt;br /&gt;
    SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\&lt;br /&gt;
      WinHttpSettings :&lt;br /&gt;
&lt;br /&gt;
    Proxy Server(s) :  192.168.100.145:8080&lt;br /&gt;
    Bypass List     :  192.168.*.*;localhost;&amp;lt;local&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solution 1 - Remove the above setting to create a direct connection ===&lt;br /&gt;
&lt;br /&gt;
To remove the registry entries that ProxyCfg.exe creates,&lt;br /&gt;
you must delete the WinHttpSettings value from the following registry key.&lt;br /&gt;
&lt;br /&gt;
 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\WinHttpSettings&lt;br /&gt;
&lt;br /&gt;
After you do the above, confirm that the proxy details are deleted by running the proxycfg command.&lt;br /&gt;
&lt;br /&gt;
Next, restart the NEOSYS processes for the changes to be affected.&lt;br /&gt;
&lt;br /&gt;
=== Solution 2 – Configure a functioning proxy ip/port number ===&lt;br /&gt;
&lt;br /&gt;
Use the proxycfg command to enter a working proxy ip/port number/exclusion list&lt;br /&gt;
&lt;br /&gt;
http://msdn.microsoft.com/en-us/library/aa384069%28VS.85%29.aspx&lt;br /&gt;
&lt;br /&gt;
After you do the above, confirm that the new proxy details are working by running the proxycfg command again.&lt;br /&gt;
&lt;br /&gt;
Next, restart the NEOSYS processes for the changes to be affected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;B&amp;gt; Note: Please refer to the link before you restart NEOSYS processes http://techwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Closing_processes_that_are_not_visible_on_the_desktop_or_hidden &amp;lt;/B&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solving “page not found” when downloading some file types after uploading them successfully ==&lt;br /&gt;
=== One by One ===&lt;br /&gt;
&lt;br /&gt;
Windows web server will not download file types that it is unaware of. You can enable the download of new file types one by one as follows.&lt;br /&gt;
&lt;br /&gt;
This process is tedious and error-prone if you have to add many type.&lt;br /&gt;
&lt;br /&gt;
#Computer Management&lt;br /&gt;
#Services and Applications&lt;br /&gt;
#IIS properties&lt;br /&gt;
#Mime Types&lt;br /&gt;
#Add&lt;br /&gt;
&lt;br /&gt;
=== Many ===&lt;br /&gt;
&lt;br /&gt;
Window Server 2003 is unaware of all the Office 2007+ file types. To add all Office 2007+ file types at once do the following:&lt;br /&gt;
&lt;br /&gt;
Stop IIS&lt;br /&gt;
&lt;br /&gt;
 iisreset /stop&lt;br /&gt;
&lt;br /&gt;
Open the list of mime types&lt;br /&gt;
&lt;br /&gt;
*Start, Run, notepad C:\WINDOWS\system32\inetsrv\MetaBase.xml&lt;br /&gt;
&lt;br /&gt;
Search the file for “xlsx” and quit the editor if already inserted.&lt;br /&gt;
&lt;br /&gt;
Otherwise, find the following line,&lt;br /&gt;
&lt;br /&gt;
  .xml,text/xml&lt;br /&gt;
&lt;br /&gt;
and insert after that line the following lines. They do not need to be indented.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.docm,application/vnd.ms-word.document.macroEnabled.12&lt;br /&gt;
.docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document&lt;br /&gt;
.dotm,application/vnd.ms-word.template.macroEnabled.12&lt;br /&gt;
.dotx,application/vnd.openxmlformats-officedocument.wordprocessingml.template&lt;br /&gt;
.potm,application/vnd.ms-powerpoint.template.macroEnabled.12&lt;br /&gt;
.potx,application/vnd.openxmlformats-officedocument.presentationml.template&lt;br /&gt;
.ppam,application/vnd.ms-powerpoint.addin.macroEnabled.12&lt;br /&gt;
.ppsm,application/vnd.ms-powerpoint.slideshow.macroEnabled.12&lt;br /&gt;
.ppsx,application/vnd.openxmlformats-officedocument.presentationml.slideshow&lt;br /&gt;
.pptm,application/vnd.ms-powerpoint.presentation.macroEnabled.12&lt;br /&gt;
.pptx,application/vnd.openxmlformats-officedocument.presentationml.presentation&lt;br /&gt;
.xlam,application/vnd.ms-excel.addin.macroEnabled.12&lt;br /&gt;
.xlsb,application/vnd.ms-excel.sheet.binary.macroEnabled.12&lt;br /&gt;
.xlsm,application/vnd.ms-excel.sheet.macroEnabled.12&lt;br /&gt;
.xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&lt;br /&gt;
.xltm,application/vnd.ms-excel.template.macroEnabled.12&lt;br /&gt;
.xltx,application/vnd.openxmlformats-officedocument.spreadsheetml.template&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file with File and Exit&lt;br /&gt;
&lt;br /&gt;
Restart IIS&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=603</id>
		<title>Troubleshooting NEOSYS Generally</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=603"/>
		<updated>2010-11-04T07:46:05Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Solving failure to start a NEOSYS server due to disk failure message ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
During a reboot process (which maybe due to a Windows update or even done by a support personnel) the NEOSYS server gets hung on the startup and shows a message &amp;quot;Boot Failure - Abort, Retry&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
=== Temporary solution ===&lt;br /&gt;
This typically happens due to the USB being plugged into the server and the boot sequence being wrong - i.e. the server trying to boot from the USB first and fails. The immediate solution would be to unplug the USB and ask the client to reboot the server again and upon successfully rebooting the system, plug the USB back again.&lt;br /&gt;
&lt;br /&gt;
=== Permanent solution ===&lt;br /&gt;
The above problem will occur every time the computer is rebooted, so you need to immediately talk to the IT Administrator of the client and ask them to rectify the boot sequence to make it boot first from the CD ROM, then the HDD and last the USB.&lt;br /&gt;
&lt;br /&gt;
== Solving &amp;quot;Read error in the operating system file&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
&lt;br /&gt;
Nagios reports a hung process and on the server a process has the following message popup.&lt;br /&gt;
&lt;br /&gt;
 Read error in the operating system file &amp;quot;..\DATA\PT0833\ACCOUNTS\REV20049&lt;br /&gt;
 The file does not exist or the filename is&lt;br /&gt;
 not valid for the operating system.&lt;br /&gt;
&lt;br /&gt;
[[Image:readerrorintheoperatingsystemfile.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
Some non-NEOSYS program is directly accessing the NEOSYS database files while NEOSYS processes are running and using the files as well.&lt;br /&gt;
&lt;br /&gt;
*Client IT staff using a backup program to perform backup without ensuring that NEOSYS processes are shutdown.&lt;br /&gt;
*A NEOSYS rsync process taking longer than expected due to new USB.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
Kill the NEOSYS process eg with the X button. It is advisable NOT to let it run further while it cannot properly access one of its files.&lt;br /&gt;
&lt;br /&gt;
=== Prevention ===&lt;br /&gt;
&lt;br /&gt;
Remove the third party program or arrange for it to operate only while NEOSYS processes are shutdown eg from 3am-6am.&lt;br /&gt;
&lt;br /&gt;
== Handling damaged files ==&lt;br /&gt;
&lt;br /&gt;
[[Handling damaged files]]&lt;br /&gt;
&lt;br /&gt;
== Checking for corrupt database files ==&lt;br /&gt;
&lt;br /&gt;
Login to NEOSYS Maintenance&lt;br /&gt;
&lt;br /&gt;
Press F5&lt;br /&gt;
&lt;br /&gt;
 CHK.FILES&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
 CHK.FILES filename&lt;br /&gt;
&lt;br /&gt;
== Assessing Database Size per File ==&lt;br /&gt;
 &lt;br /&gt;
In NEOSYS maintenance mode&lt;br /&gt;
 &lt;br /&gt;
 LIST FILES BY BY-DSND SIZE VOLUME.NAME SIZE&lt;br /&gt;
 &lt;br /&gt;
This will include all files not just those in the actual dataset in DATA\* folders.&lt;br /&gt;
&lt;br /&gt;
== Resolving slow speed ==&lt;br /&gt;
&lt;br /&gt;
[[Benchmarking NEOSYS]]&lt;br /&gt;
&lt;br /&gt;
== Handling failure and warning on nightly backup alerts ==&lt;br /&gt;
&lt;br /&gt;
[[Handling failure and warning messages on nightly backup alerts]]&lt;br /&gt;
&lt;br /&gt;
== Resolving permissions errors while logging in ==&lt;br /&gt;
 &lt;br /&gt;
=== Problem ===&lt;br /&gt;
 &lt;br /&gt;
While logging in, you get the following error message:&lt;br /&gt;
[[Image:login_error_message.jpg]]&lt;br /&gt;
 &lt;br /&gt;
=== Solution ===&lt;br /&gt;
 &lt;br /&gt;
Add the internet guest account to the security list of the data folder with the default permission of list/read/write&lt;br /&gt;
 &lt;br /&gt;
Make sure the read&amp;amp;execute permission is removed&lt;br /&gt;
[[Image:permissions_on_data.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resolving the &#039;HTTP Error 500.0 - Internal Server Error&#039; while logging in on IE on a Windows Vista system ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
After configuring IIS on Windows Vista you will get this error message while trying to login into NEOSYS from Internet Explorer:&lt;br /&gt;
&lt;br /&gt;
 HTTP Error 500.0 - Internal Server Error&lt;br /&gt;
 Description: This application is running in an application pool that uses the Integrated .NET  &lt;br /&gt;
 mode. This is the preferred mode for running ASP.NET applications on the current and future &lt;br /&gt;
 version of IIS.&lt;br /&gt;
 &lt;br /&gt;
 In this mode, the application using client impersonation configured with &amp;lt;identity &lt;br /&gt;
 impersonate=&amp;quot;true&amp;quot; /&amp;gt; may not behave correctly. Client impersonation is not available in early &lt;br /&gt;
 ASP.NET request processing stages and may lead modules in those stages to execute with process &lt;br /&gt;
 identity instead.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
You can move the application to an application pool that uses the Classic .NET mode by using the following from a command line window (the window must be running as Administrator) &lt;br /&gt;
&lt;br /&gt;
 %systemroot%\system32\inetsrv\APPCMD.EXE set app &amp;quot;Default Web Site/neosys&amp;quot; /applicationPool:&amp;quot;Classic .NET AppPool&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can use any other application pool on your system that is running in the Classic .NET mode. You can also use the IIS Administration tool to move this application to another application pool.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resolving the &#039;Class Not Registered&#039; error message while logging in ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
While logging into NEOSYS, you will get a popup window giving an error message saying &#039;Class Not Registered - Server Error&#039;. Typically, you will encounter this error with XP Pro IIS 5.1. As usual, there&#039;s way to solve it, however the root cause of this is still unknown.&lt;br /&gt;
&lt;br /&gt;
Anyway, you will get the proper message in the event log:&lt;br /&gt;
&lt;br /&gt;
 Event Type: Warning&lt;br /&gt;
 Event Source: W3SVC&lt;br /&gt;
 Event Category: None&lt;br /&gt;
 Event ID: 36&lt;br /&gt;
 Description: The server failed to load application &#039;/LM/W3SVC/1/ROOT/NEOSYS.&lt;br /&gt;
 The error was &#039;Class not registered&#039;. &lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
So, what do you do ? This problem is related to Component Services, and when you open Component Services MMC, you will most probably  get  Error Code 8004E00F COM + was unable to talk to Microsoft Distributed Transaction Coordinator. So, fix the COM+ services first by using the following KB from Microsoft (PRB: Cannot Expand &amp;quot;My Computer&amp;quot; in Component Services MMC Snap-In http://support.microsoft.com/?id=301919):&lt;br /&gt;
&lt;br /&gt;
To resolve this problem, reinstall Component Services as follows: WARNING: &lt;br /&gt;
# Open registry editor, locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3, and then delete this key.  &lt;br /&gt;
# From the Start menu, point to Settings, click Control Panel, and then click Add/Remove Programs.  &lt;br /&gt;
# Click Add/Remove Windows Components. &lt;br /&gt;
# Proceed through the wizard, and accept all of the defaults (including IIS)&lt;br /&gt;
# Restart the computer.&lt;br /&gt;
&lt;br /&gt;
If the above didn&#039;t solve it, and you still receive the &#039;Class not registered&#039; error message, then you need to recreate the IIS packages in COM+, try&lt;br /&gt;
&lt;br /&gt;
# Delete IIS related package in Component Services MMC&lt;br /&gt;
# IIS In-Process Applications &lt;br /&gt;
# IIS Out-of-Process Pooled Applications &lt;br /&gt;
# IIS Utilities&lt;br /&gt;
&lt;br /&gt;
Next, if you still get the message, try following before re-install IIS if you can&#039;t find Distributed Transaction Coordinator in your Services console.&lt;br /&gt;
&lt;br /&gt;
Launch command prompt and run the following command.&lt;br /&gt;
# msdtc -install&lt;br /&gt;
# net start msdtc&lt;br /&gt;
&lt;br /&gt;
Then try re-install IIS.&lt;br /&gt;
&lt;br /&gt;
This should solve the problem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Enabling File Security option on Win XP Professional ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
&lt;br /&gt;
In the Properties of any folders, the Security option does not show, hence you cannot modify the Read, Write options.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
The solution would be to untick the &#039;Simple File Sharing&#039; option from  Tools &amp;gt; Folder Options &amp;gt; View:&lt;br /&gt;
[[Image:simplefilesharingoff.jpg]]&lt;br /&gt;
&lt;br /&gt;
== B10 &amp;amp; B12 Errors ==&lt;br /&gt;
&lt;br /&gt;
These errors are in the software and should be immediately escalated to the programmer.&lt;br /&gt;
&lt;br /&gt;
== Internet Explorer Menu, View, Text Size doesnt change font size as expected ==&lt;br /&gt;
&lt;br /&gt;
Cause: This is because the font size is now user definable in NEOSYS and View, Text Size does not override predefined font sizes.&lt;br /&gt;
&lt;br /&gt;
Solution: If you are using Internet Explorer 7 you can scale the screen (including the font size  using ctrl + and ctrl - keyboard shortcuts or the font size button on the bottom right hand side of the window. &lt;br /&gt;
&lt;br /&gt;
You can adjust the font size on the User Details form when you login although this permanently applies to all forms not just the one that you are on.&lt;br /&gt;
&lt;br /&gt;
== Error on process window &amp;quot;Not enough string space - Out of Memory&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Message ===&lt;br /&gt;
&lt;br /&gt;
‘RTP27’ Line 1. [B29] Not enough string space – Out of Memory.&lt;br /&gt;
&lt;br /&gt;
Not enough memory to execute Debugger; current program aborted.&lt;br /&gt;
Press any key to continue&lt;br /&gt;
&lt;br /&gt;
[[Image:out_of_memory.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
Unknown perhaps related to some large document or report&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
Ask users for any hanging transactions.&lt;br /&gt;
None other than closing and starting another process&lt;br /&gt;
&lt;br /&gt;
== Uploaded jpg files fail to display in internet explorer ==&lt;br /&gt;
&lt;br /&gt;
Some large jpg files &amp;gt; 2Mb cannot be viewed in internet explorer despite being viewable in image preview, ms paint and other viewers/editors. It is not an issue caused by uploading or downloading the files.&lt;br /&gt;
&lt;br /&gt;
These file appear to have been created on Photoshop CS Macintosh and may be a special type of uncompressed jpg used for production quality files.&lt;br /&gt;
&lt;br /&gt;
=== Partial solution ===&lt;br /&gt;
Before uploading the files, open them in some editor like MS Paint (right click, edit) and save them. However this results in a loss of quality. Perhaps there is some program that can convert these files to a format understandable by Internet explorer without any loss of quality.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;You have attempted to write to a read-only file&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Message ===&lt;br /&gt;
&lt;br /&gt;
Error while writing data.&lt;br /&gt;
You have attempted to write to a read-only file.&lt;br /&gt;
- or -&lt;br /&gt;
access to the file has been denied by the operating system.&lt;br /&gt;
(operating system file name: &amp;quot;..\DATA\ADLINEC\ADAGENCY\REV76467.OV00012618&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
It is almost certainly due to some third party backup or other maintenance software opening the NEOSYS database files when it shouldn&#039;t e.g. badly configured third party backup scheduled to backup NEOSYS while NEOSYS is still running. Note that the exact filename varies each time.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
This can be a serious error that causes damaged files in NEOSYS especially if the filename ends in .OV. Use the usual methods of checking for damaged files e.g. do a backup which also looks for damaged files BUT DO NOT OVERWRITE THE LATEST BACKUP SINCE IT MAY BE REQUIRED for restoration. Then fix the damaged files using the usual methods e.g. by rebuilding/using&lt;br /&gt;
FIXFILE or restoring databases.&lt;br /&gt;
&lt;br /&gt;
=== Prevention ===&lt;br /&gt;
&lt;br /&gt;
Remove the third party backup or other maintenance software or reschedule it to run at a time that NEOSYS is shutdown. Removal of software may require hunting through the windows process list for unexpected programs running.&lt;br /&gt;
&lt;br /&gt;
== Resolving &amp;quot;Cannot backup/restore because PROCESS1 PROCESS2 (etc) is/are online&amp;quot; message ==&lt;br /&gt;
 &lt;br /&gt;
This can happen for a variety of reasons if all the NEOSYS processes fail to close down at backup time&lt;br /&gt;
 &lt;br /&gt;
# NEOSYS maintenance windows are left open.&lt;br /&gt;
# NEOSYS processes hang due to software error.&lt;br /&gt;
 &lt;br /&gt;
== How to kill hung NEOSYS processes ==&lt;br /&gt;
 &lt;br /&gt;
NOTE WELL: If you kill actively working NEOSYS processes (those which are &amp;quot;listening&amp;quot; and not hung/crashed) there is a reasonable chance that the database will be damaged and might need a restore losing possibly large amounts of work.&lt;br /&gt;
 &lt;br /&gt;
==== If NEOSYS processes are visible on the server desktop ====&lt;br /&gt;
 &lt;br /&gt;
Look for processes which don&#039;t have &amp;quot;Listening ...&amp;quot; on the last but one line. The times on the left hand side are frozen as at the time of the hang.&lt;br /&gt;
 &lt;br /&gt;
You can then click the X to kill the process and confirm that this is OK.&lt;br /&gt;
 &lt;br /&gt;
Example of a NEOSYS process that has hung due to a software error resulting in a failure to handle a complex query with a lot of brand codes.&lt;br /&gt;
&lt;br /&gt;
[[Image:hungprocess.jpg]]&lt;br /&gt;
 &lt;br /&gt;
==== If NEOSYS processes are not visible on the server desktop ====&lt;br /&gt;
&lt;br /&gt;
NEOSYS processes are most of the time visible on the desktop (i.e. the black dos windows) in Windows 2003 OS, except in the case that the process has been scheduled to start on computer restart and no one has logged into the server. In this case it would be running in the background. Secondly in the case of Windows 2008, the processes always are hidden. &lt;br /&gt;
&lt;br /&gt;
You can check if there are any hung processes from the NEOSYS Support Menu, List of Database Processes. &lt;br /&gt;
[[Image:databaseprocesseslist.jpg]]&lt;br /&gt;
&lt;br /&gt;
In this case you should follow the below instructions - however all of them need to be done within 30 seconds of starting the first instruction to avoid inconvenience to the users. It is recommend that you keep relevant windows open before proceeding with the same:&lt;br /&gt;
&lt;br /&gt;
#Shutdown NEOSYS by TEMPORARILY putting a file called GLOBAL.END in the parent directory of NEOSYS (if there is already a GLOBAL.END.TEMP file then rename it to GLOBAL.END). Leaving the file there would prevent NEOSYS from starting up again. Shutting down NEOSYS from the Support menu will not work because of the hung processes.&lt;br /&gt;
#Use Windows Task Manager to kill all the NTVDM processes - assuming that you have closed all the visible NEOSYS processes, then the NTVDM processes in the task manager would be the hung one.&lt;br /&gt;
#Delete GLOBAL.END or rename it to GLOBAL.END.TEMP&lt;br /&gt;
#Restart the processes back again. If there are many datasets then you need to restart them all well within the 30 seconds period.&lt;br /&gt;
&lt;br /&gt;
In case of Patsalides, where we have a thousand datasets which start &amp;quot;on demand&amp;quot; i.e. usually on login; all you need to do is start one dataset which will restart all the other datasets &amp;quot;on demand&amp;quot;. If there is no response within 30 seconds then one of the running datasets will start it up so there appears to be a 30 second delay when you login to one of the thousand datasets the first time on any one day.&lt;br /&gt;
&lt;br /&gt;
=== Temporary workarounds for hung NEOSYS processes ===&lt;br /&gt;
Until the error in the software is fixed users can often get their results by simplifying their requirements. For example select individual clients instead of selecting all the brands for a particular client. If the user has repeated his request (in forlorn hope that it would work finally) then the number of NEOSYS working NEOSYS processes will drop causing severe slowdown for other users and complete stop if all the NEOSYS processes hang.&lt;br /&gt;
&lt;br /&gt;
== How to fix a NEOSYS process which opens up in a notepad instead of Microsoft Windows Based Script Host (i.e. DOS window)==&lt;br /&gt;
&lt;br /&gt;
The NEOSYS process (cmd file) might open up in a notepad, instead of the usual black colour DOS window. This can be fixed by the following:&lt;br /&gt;
&lt;br /&gt;
# Download and install the Windows Script 5.6/5.7 from the Microsoft Website&lt;br /&gt;
# Go to any folder, click on Tools &amp;gt; Folder Options &amp;gt; File Types and find the .JS and .JSE and change the default program to wscript.exe (from windows&amp;gt;system32)&lt;br /&gt;
&lt;br /&gt;
== Resolving a &#039;Could not start&#039; error on Scheduled Tasks in Windows Server 2000 SP4 ==&lt;br /&gt;
&lt;br /&gt;
This error occurs because of a change that is made to the data that is stored in the credentials database when you install Windows 2000 SP4. Hence installing SP4 causes the the data that is stored in the credentials database to get converted to an SP4-compatible format. A registry key is configured to indicate that the data has been converted to the SP4 format.&lt;br /&gt;
&lt;br /&gt;
Hence the Scheduled Tasks do not work sometimes. However the Scheduled Tasks works fine sometimes, but when you uninstall SP4, it does not work.&lt;br /&gt;
&lt;br /&gt;
The best solution is to:&lt;br /&gt;
&lt;br /&gt;
# Incase Scheduled Tasks do not work after installing SP4, then uninstall SP4 and it should be fine.&lt;br /&gt;
# Incase Scheduled Tasks works after installing SP4, and later after uninstalling SP4, it does not work, then install SP4 and it should be fine.&lt;br /&gt;
&lt;br /&gt;
== Checking for server or NEOSYS crashes ==&lt;br /&gt;
 &lt;br /&gt;
#NEOSYS Maintenance Mode&lt;br /&gt;
#General Menu, Setup, Processes&lt;br /&gt;
#Select the dates and the option Detailed&lt;br /&gt;
 &lt;br /&gt;
This report shows a list of dates and times that NEOSYS logged in but did not log out properly.&lt;br /&gt;
 &lt;br /&gt;
Ignore the very latest entries since they represent the current NEOSYS processes. For example, if you have four NEOSYS processes running at the time that you get the report (including any in maintenance mode) then you can ignore the last four entries.&lt;br /&gt;
 &lt;br /&gt;
The date and time shows for each process that has failed to shutdown correctly when the process logged in. Versions of NEOSYS from January 2008 will also show the date and time that each crashed NEOSYS process was last active (heartbeat) so that the time of failure can be known.&lt;br /&gt;
 &lt;br /&gt;
If you see a bunch of NEOSYS processes all started up at around the same time but all failed to shutdown correctly then the cause will be a server failure - usually power failure.&lt;br /&gt;
 &lt;br /&gt;
Isolated one-off failures will be related to individual NEOSYS process crashes - most commonly caused by one of the following:&lt;br /&gt;
 &lt;br /&gt;
#NEOSYS hanging to due to software failure&lt;br /&gt;
#Manually exiting a NEOSYS process on the server either by pressing Ctrl+Alt+Del or clicking the &amp;quot;X&amp;quot; close icon/box and ignoring the warning&lt;br /&gt;
#Random server failures eg memory, disk etc&lt;br /&gt;
 &lt;br /&gt;
Example:&lt;br /&gt;
 &lt;br /&gt;
 LOGIN 22/12/2007 06:02 NEOSYS SERVER ADAGENCY         Current workstation &lt;br /&gt;
 LOGIN 23/12/2007 06:00 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 06:01 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 06:02 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:52 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:52 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:53 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:00 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:01 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:02 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 13:51 NEOSYS SERVER NEOSYS         Current user session  &lt;br /&gt;
&lt;br /&gt;
Interpretation:&lt;br /&gt;
 &lt;br /&gt;
The first four entries indicate that all four NEOSYS processes started at 06am were suddenly killed probably by power failure&lt;br /&gt;
 &lt;br /&gt;
The next four entries indicate that NEOSYS was restarted at around 08:52 and all these processes were AGAIN killed probably by power failure&lt;br /&gt;
 &lt;br /&gt;
The last four entries can be ignored because there were four NEOSYS processes running at the time that the report was generated&lt;br /&gt;
&lt;br /&gt;
== Searching for word/number in the database files using maintenance mode ==&lt;br /&gt;
&lt;br /&gt;
You can search for any word/number in the database files of NEOSYS, using the following command line:&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 FIND FILENAME WORDWITHOUTANYSPACES&lt;br /&gt;
 &lt;br /&gt;
 For eg:&lt;br /&gt;
 FIND CURRENCIES 1.1&lt;br /&gt;
 (here you are searching for the number 1.1 in the currencies file) You CANNOT search for a phrase ie include spaces like this.&lt;br /&gt;
 &lt;br /&gt;
 Or you can also type:&lt;br /&gt;
 FIND FILENAME &amp;lt;enter&amp;gt;&lt;br /&gt;
 and it will ask you what you want do to search. You can enter an exact phrase with spaces.&lt;br /&gt;
&lt;br /&gt;
Incase you do not know the filenames, you can enter the following command to see all the filenames in the system:&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 LF&lt;br /&gt;
&lt;br /&gt;
== NO LOCK RECORD error when working on NEOSYS ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears:&lt;br /&gt;
&lt;br /&gt;
 Cannot save &amp;quot;DOCUMENT NAME&amp;quot; because:&lt;br /&gt;
 Somebody has updated this record.&lt;br /&gt;
 Your update cannot be applied.&lt;br /&gt;
 This session id does not agree &amp;quot;NO LOCK PERIOD&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Possible Causes and Solutions ===&lt;br /&gt;
 &lt;br /&gt;
1. There is some other error in NEOSYS software while saving the record.&lt;br /&gt;
Probably another error message would come before this one and that message should be sent to NEOSYS in order to solve the actual problem.&lt;br /&gt;
 &lt;br /&gt;
2. There has been a temporary loss of connection to the server for some period of time.&lt;br /&gt;
The NEOSYS web page needs to periodically &amp;quot;refresh&amp;quot; the exclusive lock on the document being edited. If NEOSYS cannot perform the refresh it may lose the rights to save the document.&lt;br /&gt;
 &lt;br /&gt;
Loss of connection could be for a huge variety of reasons including server, network, and workstation failures.&lt;br /&gt;
 &lt;br /&gt;
3. Bad Internet Explorer Configuration&lt;br /&gt;
Loss of cookies etc due to third party software (internet toolbars/spyware etc)&lt;br /&gt;
 &lt;br /&gt;
Reset Internet Explorer to factory settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting the NTVDM Hard error when opening up NEOSYS processes ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears:&lt;br /&gt;
&lt;br /&gt;
[[Image:ntvdm.jpg]]&lt;br /&gt;
&lt;br /&gt;
 NTVDM encountered a hard error&lt;br /&gt;
&lt;br /&gt;
=== Solution  ===&lt;br /&gt;
 &lt;br /&gt;
This error is caused by missing or corrupt Windows system files (i.e. command.com, autoexec.nt and config.nt). The solution is to run a program called XP FIX which will reinstall these missing files. You can download it form http://www.visualtour.com/downloads/xp_fix.exe&lt;br /&gt;
&lt;br /&gt;
Sometimes even after running the XP FIX program the error still appears. Then you need to copy all the files under C:/windows/repair to C:/windows/system32 and in the autoexec.nt and config.nt put REM before any lines there which don&#039;t have it.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting a Service Unavailable message on Internet Explorer when opening up NEOSYS ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears in Internet Explorer when you try to open up NEOSYS:&lt;br /&gt;
&lt;br /&gt;
 Service Unavailable&lt;br /&gt;
&lt;br /&gt;
=== Solution  ===&lt;br /&gt;
 &lt;br /&gt;
Open the IIS Manager, right click Web Sites and select properties:&lt;br /&gt;
[[Image:serviceunavailable1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Switch to the Service Tab and tick the &amp;quot;Run WWW Service in IIS 5.0 Isolation Mode&amp;quot;.&lt;br /&gt;
[[Image:serviceunavailable2.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will be asked for Restart of IIS. Click yes to restart IIS. If you are not asked just restart IIS.&lt;br /&gt;
&lt;br /&gt;
== Inspecting IIS log files ==&lt;br /&gt;
&lt;br /&gt;
At a windows command prompt:&lt;br /&gt;
&lt;br /&gt;
 c:&lt;br /&gt;
 cd \Windows\system32\LogFiles\W3SVC1&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 %SystemDrive%&lt;br /&gt;
 cd %SystemRoot%&lt;br /&gt;
 cd system32\LogFiles\W3SVC1&lt;br /&gt;
&lt;br /&gt;
then (substituting the ip number you are interested in)&lt;br /&gt;
&lt;br /&gt;
 find &amp;quot;192.168.1.55&amp;quot; *|sort&amp;gt;temp.log&lt;br /&gt;
&lt;br /&gt;
Open temp.log in Excel and use Tools, Data, Text to Columns to split into columns using options &amp;quot;Delimited&amp;quot; and check split on Space.&lt;br /&gt;
&lt;br /&gt;
Autowidth all columns by clicking on the top left box just outside the data to the left of column A and above column 1 then double click the column separator to the right of column &amp;quot;A&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note that times and dates are in UTC/GMT so you have to add/subtract your timezone offset to get local times.&lt;br /&gt;
&lt;br /&gt;
== Fixing NEOSYS processes that do not auto start / Recovering from incorrect advanced date or time ==&lt;br /&gt;
&lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
After starting up the 1st process, the rest of the processes don&#039;t start up.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
The possible cause for this could be that the system date/time might have been changed - either manually or by the auto synchronization. Do the following checks in the sequence of order:&lt;br /&gt;
&lt;br /&gt;
# Check for any .$* files (* is a number, the highest being the latest one). If it shows OK, then proceed ahead.&lt;br /&gt;
# Check for any .end files and delete it to rename to .end.temp&lt;br /&gt;
# Check the System Event Viewer log for any 520 or 577 error message (refer http://128.175.24.251/forensics/timechange.htm). Also check for any out of sequence / ahead of today date or time.&lt;br /&gt;
# In case of no 520 or 577 error message, go to Administrative Tools &amp;gt; Local Security Policy &amp;gt; Local Policies &amp;gt; Audit Policy &amp;gt; Audit Privilege use - make sure that Success and Failure are selected under this (this will ensure that future changes to the date/time are recorded in the System Log).&lt;br /&gt;
# In NEOSYS maintenance mode - F5 ED PROCESSES %UPDATE% - and see what it says, incase of any text there, that means that for sure the system date has been changed.&lt;br /&gt;
# Now to fix this, in maintenance mode again enter - F5 DELETE PROCESSES &amp;quot;%UPDATE%&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Recognising and Solving Low Memory Problems ==&lt;br /&gt;
&lt;br /&gt;
Quick Note: Installing a server class operating system on a workstation class computer with the intention of NEOSYS serving a heavy load is likely to cause problems with low memory.&lt;br /&gt;
&lt;br /&gt;
Quick Fix: Disable *ALL* non-essential features in the power-on setup menu.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
&lt;br /&gt;
It is speculated but not proven that low memory may cause NEOSYS to fail by hanging, causing damaged files etc.&lt;br /&gt;
&lt;br /&gt;
=== Checking ===&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 MEMORY&lt;br /&gt;
&lt;br /&gt;
On server class machines it should say somewhere around 350Kb to 370Kb Free&lt;br /&gt;
&lt;br /&gt;
Some server class machines have around 330Kb and sometimes even less with no reported problems&lt;br /&gt;
&lt;br /&gt;
The actual effect of low memory is supposed to make NEOSYS slower and perhaps cause hanging and damaged files however this has not been proven in an specific case so far.&lt;br /&gt;
&lt;br /&gt;
On workstation class machines it may often say around 280Kb to 300Kb.&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
Although there is plenty of real memory in virtually all computers now, NEOSYS runs in the legacy 16 bit virtual memory space of a windows mode called NTVDM. This is limited to 1Mb plus 4Mb of EMS memory.&lt;br /&gt;
&lt;br /&gt;
The 1Mb memory space is shared with:&lt;br /&gt;
&lt;br /&gt;
#Various non-essential windows drivers which NEOSYS automatically disables them in autoexec.nt&lt;br /&gt;
#Various plug and play hardware device drivers for the various adapters in the computer like video, network adapters and various other items that NEOSYS is unable to disable.&lt;br /&gt;
&lt;br /&gt;
In a server class computer the hardware device drivers are usually minimally present in the 1Mb base memory and do not therefore DOESNT a low memory situation for NEOSYS.&lt;br /&gt;
&lt;br /&gt;
In workstation class computers there are often many hardware device drivers present in the 1Mb base memory and this DOES causes a low memory situation for NEOSYS.&lt;br /&gt;
&lt;br /&gt;
When NEOSYS is installed on workstation class computers with XP there is usually not a heavy load expectation and therefore the low memory does not cause a problem.&lt;br /&gt;
&lt;br /&gt;
If Windows Server OS is installed on a workstation class computer NEOSYS may well be expected to serve a heavy load with limited amounts of memory.&lt;br /&gt;
&lt;br /&gt;
Workstation class computers: hardware drivers present and EMS is installed in low memory (0000-9FFF) causing low memory for NEOSYS and possible inability to &lt;br /&gt;
&lt;br /&gt;
Server class computers: Usually few hardware drivers are present in high part (A000-FFFF) of the 1Mb base memory and EMS is able to occupy the high memory leaving the low part (0000-9FFFF) of the 1Mb memory free for NEOSYS. You can find out how much memory is available to NEOSYS and whether EMS is occuping high or low memory using the following sections.&lt;br /&gt;
&lt;br /&gt;
=== Fixing Low Memory ===&lt;br /&gt;
&lt;br /&gt;
Start, Run, notepad c:\windows\system32\autoexec.nt&lt;br /&gt;
&lt;br /&gt;
Every time NEOSYS starts it tries to make some changes as follow:&lt;br /&gt;
&lt;br /&gt;
#replaces all lines in C:/WINDOWS/SYSTEM32/AUTOEXEC.NT starting with &#039;lh &#039; to start with &#039;rem NEOSYS LH &#039; instead.&lt;br /&gt;
#changes the line in C:/WINDOWS/SYSTEM32/CONFIG.NT &amp;quot;files=...&amp;quot; to &amp;quot;FILES=200&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The replacement is case sensitive triggered on &#039;lh&#039; and &#039;files&#039; so if you manually edit the files and remove the rem or change the number of files and leave the LH and FILES in uppercase then NEOSYS will NOT make further changes. This allows you to do manual amendments to the files without NEOSYS overwriting them.&lt;br /&gt;
&lt;br /&gt;
Check that NEOSYS has successfully disabled all the drivers in the lines starting with LH.&lt;br /&gt;
&lt;br /&gt;
They should be commented out (prefixed) with REM or REM NEOSYS as follows.&lt;br /&gt;
&lt;br /&gt;
After making changes reopen NEOSYS in maintenance mode to use the MEMORY and WHO commands again.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM Install CD ROM extensions&lt;br /&gt;
REM NEOSYS LH %SystemRoot%\system32\mscdexnt.exe&lt;br /&gt;
&lt;br /&gt;
REM Install network redirector (load before dosx.exe)&lt;br /&gt;
REM NEOSYS LH %SystemRoot%\system32\redir&lt;br /&gt;
&lt;br /&gt;
REM Install DPMI support&lt;br /&gt;
REM NEOSYS LH %SYSTEMROOT%\SYSTEM32\DOSX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Allowing DOS programs that require DOSX to run on the same computer as NEOSYS ===&lt;br /&gt;
&lt;br /&gt;
The automatic commenting out DOSX by NEOSYS will prevent some other DOS-like programs from running. If NEOSYS is on dedicated server then there should be no other such programs to fail. However, if you must allow DOS-like programs to work as well as NEOSYS you can do the following configuration:&lt;br /&gt;
&lt;br /&gt;
#leave or restore the original AUTOEXEC.NT and CONFIG.NT files where they are&lt;br /&gt;
#copy them to another folder eg neosys folder&lt;br /&gt;
#make the necessary REM changes there by hand&lt;br /&gt;
#right click the NEOSYS\NEOSYS\AREV.PIF and select properties&lt;br /&gt;
#change the location of the AUTOEXEC.NT and CONFIG.NT files in the following location&lt;br /&gt;
&lt;br /&gt;
[[image:pifsettings.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Checking EMS Memory Configuration ===&lt;br /&gt;
&lt;br /&gt;
==== Inspection ====&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 WHO&lt;br /&gt;
&lt;br /&gt;
 press the up arrow to get to the last part/page&lt;br /&gt;
&lt;br /&gt;
===== Example of Typical Server EMS Memory =====&lt;br /&gt;
[[image:serveremm.jpg]]&lt;br /&gt;
&lt;br /&gt;
===== Example of Typical Workstation EMS Memory =====&lt;br /&gt;
[[image:workstationemm.jpg]]&lt;br /&gt;
&lt;br /&gt;
====Correction====&lt;br /&gt;
&lt;br /&gt;
No easy way&lt;br /&gt;
&lt;br /&gt;
Removal of hardware adapters designed for workstations instead of servers eg graphics cards and network cards.&lt;br /&gt;
&lt;br /&gt;
Many of the devices may be located on the motherboard and not relocatable except possibly by BIOS configuration or special manufacturer information.&lt;br /&gt;
&lt;br /&gt;
Use windows device manager, View: Resources by Connection, Open the Memory item and look for items between 000A0000 up to 000FFFFF that might give you a clue as to what hardware could be removed or reconfigured. Actually only 000C0000 to 000FFFFF is candidate for EMS memory since 000A000-000BFFFF is mandatory video memory in all systems.&lt;br /&gt;
&lt;br /&gt;
[[image:devicemanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Resolving issue where NEOSYS processes do not start-up at all or start-up and close immediately ==&lt;br /&gt;
&lt;br /&gt;
# Find if a file with the name global.end exists in the root directory of the NEOSYS installation. Eg D:\global.end . If you find such a file, rename it to global.end.temp - for more information on global.end and what it does refer to http://techwiki.neosys.com/index.php/Closing_NEOSYS_services&lt;br /&gt;
# If the above didn&#039;t fix the problem and NEOSYS still does not start, do a windows search for the entire NEOSYS folder for *.end (i.e. any file ending with .end extension). You may find a (databasecode).end file in D:\neosys\neosys folder which is created by the NEOSYS program during backup at 1 am and later on removed automatically. In this case NEOSYS program might have crashed during the backup and left this file behind. (databasecode).end files prevent other other NEOSYS processes starting up on the database while exclusive processes (like backup) are being done.&lt;br /&gt;
&lt;br /&gt;
In case the above didn&#039;t fix the problem then escalate to the programmer immediately.&lt;br /&gt;
&lt;br /&gt;
== Handling Change Backup message if the client does not use a USB backup device ==&lt;br /&gt;
DO *NOT* FOLLOW THIS PROCEDURE SINCE IS IT IS TOTALLY UNACCEPTABLE FOR NEOSYS TO SEND OUT A &amp;quot;BACKUP SUCCESS&amp;quot; MESSAGE WHEN THE BACKUP IS NOT BEING DONE PROPERLY. IN GENERAL, TAKING SHORT CUTS THAT MAKE THINGS APPEAR SATISFACTORY WHEN THEY ARE NOT IS VERY POOR POLICY.&lt;br /&gt;
&lt;br /&gt;
IF THE CLIENT IS BACKING UP TO A NON-REMOVABLE DESTINATION THEN EITHER 1. LIVE WITH THE FAILURE MESSAGE OR 2. SUPPRESS THE BACKUP ENTIRELY IN WHICH CASE NO BACKUPS ARE BEING DONE AND PROBABLY THIS WILL SHOW ON NEOSYS PROACTIVE WARNING SYSTEMS LIKE NAGIOS.&lt;br /&gt;
&lt;br /&gt;
# Basically most of the client use USB for Neosys server but there are some clients who do not use USB but save their backups in hard drive. &lt;br /&gt;
# As we know that backup take place in Data.bak folder but it do a backup only for a week in a single USB. Over here client do not use USB but save their backup in hard drive in Data.bak folder, once the week is over  it will again give Change backup message.  &lt;br /&gt;
# In this case rename the Data.bak folder to Data1.bak this is done because system read only Data.bak folder as it is configured in the system. When you rename Data.bak to Data1.bak it automatically create a new folder Data.bak in Backup drive.&lt;br /&gt;
# This process is done so that the backup should not fail then next day morning and backups are done in Data.bak folder.&lt;br /&gt;
# In the third week we will again see the same message Chang backup USB message so you need to rename Data.bak folder to Data2.bak&lt;br /&gt;
# But in fourth week you rename the Data1.bak to Data.bak and change the Data2.bak to Data1.bak and Data.bak to Data2.bak &lt;br /&gt;
# Keep only three folders and Data.bak, Data1.bak, Data2.bak and keep on renaming these folders every week as shown above.&lt;br /&gt;
&lt;br /&gt;
== Closing processes that are not visible on the desktop or hidden ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS processes are most of the time visible on the desktop (i.e. the black dos windows) in Windows 2003 OS, except in the case that the process has been scheduled to start on restart and no one has logged into the server. In this case it would be hidden. Secondly in the case of Windows 2008, the processes always are hidden.&lt;br /&gt;
&lt;br /&gt;
In these cases whenever there is a hung NEOSYS process - due to many reasons for eg low memory. In this case you should close all processes using the global.end method and then from the task manager kill any NTVDM processes and then restart NEOSYS. This should be done within 30 seconds from using the global.end method to avoid any inconvenience to the users. If there are many datasets then you need to restart them all well within the 30 seconds period.&lt;br /&gt;
&lt;br /&gt;
In case of Patsalides, where we have a thousand datasets which start &amp;quot;on demand&amp;quot; i.e. usually on login; all you need to do is start one dataset which will restart all the other datasets &amp;quot;on demand&amp;quot;. If there is no response within 30 seconds then one of the running datasets will start it up so there appears to be a 30 second delay when you login to one of the thousand datasets the first time on any one day.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS not updating Nagios ==&lt;br /&gt;
&lt;br /&gt;
You find something like the following message in UPDATE.$WG in the neosys\neosys.folder&lt;br /&gt;
&lt;br /&gt;
 Connecting to 192.168.100.145:8080 failed: No such file or directory.&lt;br /&gt;
&lt;br /&gt;
Where the above appears to be some non-functional http proxy server ip/port number and is not the expected nagios server ip number.&lt;br /&gt;
&lt;br /&gt;
The windows command proxycfg shows the same ip and port&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
D:\NEOSYS\NEOSYS&amp;gt;proxycfg&lt;br /&gt;
Microsoft (R) WinHTTP Default Proxy Configuration Tool&lt;br /&gt;
Copyright (c) Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;br /&gt;
Current WinHTTP proxy settings under:&lt;br /&gt;
  HKEY_LOCAL_MACHINE\&lt;br /&gt;
    SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\&lt;br /&gt;
      WinHttpSettings :&lt;br /&gt;
&lt;br /&gt;
    Proxy Server(s) :  192.168.100.145:8080&lt;br /&gt;
    Bypass List     :  192.168.*.*;localhost;&amp;lt;local&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solution 1 - Remove the above setting to create a direct connection ===&lt;br /&gt;
&lt;br /&gt;
To remove the registry entries that ProxyCfg.exe creates,&lt;br /&gt;
you must delete the WinHttpSettings value from the following registry key.&lt;br /&gt;
&lt;br /&gt;
 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\WinHttpSettings&lt;br /&gt;
&lt;br /&gt;
After you do the above, confirm that the proxy details are deleted by running the proxycfg command.&lt;br /&gt;
&lt;br /&gt;
Next, restart the NEOSYS processes for the changes to be affected.&lt;br /&gt;
&lt;br /&gt;
=== Solution 2 – Configure a functioning proxy ip/port number ===&lt;br /&gt;
&lt;br /&gt;
Use the proxycfg command to enter a working proxy ip/port number/exclusion list&lt;br /&gt;
&lt;br /&gt;
http://msdn.microsoft.com/en-us/library/aa384069%28VS.85%29.aspx&lt;br /&gt;
&lt;br /&gt;
After you do the above, confirm that the new proxy details are working by running the proxycfg command again.&lt;br /&gt;
&lt;br /&gt;
Next, restart the NEOSYS processes for the changes to be affected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;B&amp;gt; Note: Please refer to the link before you restart NEOSYS processes http://techwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Closing_processes_that_are_not_visible_on_the_desktop_or_hidden &amp;lt;/B&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solving “page not found” when downloading some file types after uploading them successfully ==&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=598</id>
		<title>Troubleshooting NEOSYS Generally</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=598"/>
		<updated>2010-10-24T13:46:43Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Solving failure to start a NEOSYS server due to disk failure message ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
During a reboot process (which maybe due to a Windows update or even done by a support personnel) the NEOSYS server gets hung on the startup and shows a message &amp;quot;Boot Failure - Abort, Retry&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
=== Temporary solution ===&lt;br /&gt;
This typically happens due to the USB being plugged into the server and the boot sequence being wrong - i.e. the server trying to boot from the USB first and fails. The immediate solution would be to unplug the USB and ask the client to reboot the server again and upon successfully rebooting the system, plug the USB back again.&lt;br /&gt;
&lt;br /&gt;
=== Permanent solution ===&lt;br /&gt;
The above problem will occur every time the computer is rebooted, so you need to immediately talk to the IT Administrator of the client and ask them to rectify the boot sequence to make it boot first from the CD ROM, then the HDD and last the USB.&lt;br /&gt;
&lt;br /&gt;
== Solving &amp;quot;Read error in the operating system file&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
&lt;br /&gt;
Nagios reports a hung process and on the server a process has the following message popup.&lt;br /&gt;
&lt;br /&gt;
 Read error in the operating system file &amp;quot;..\DATA\PT0833\ACCOUNTS\REV20049&lt;br /&gt;
 The file does not exist or the filename is&lt;br /&gt;
 not valid for the operating system.&lt;br /&gt;
&lt;br /&gt;
[[Image:readerrorintheoperatingsystemfile.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
Some non-NEOSYS program is directly accessing the NEOSYS database files while NEOSYS processes are running and using the files as well.&lt;br /&gt;
&lt;br /&gt;
*Client IT staff using a backup program to perform backup without ensuring that NEOSYS processes are shutdown.&lt;br /&gt;
*A NEOSYS rsync process taking longer than expected due to new USB.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
Kill the NEOSYS process eg with the X button. It is advisable NOT to let it run further while it cannot properly access one of its files.&lt;br /&gt;
&lt;br /&gt;
=== Prevention ===&lt;br /&gt;
&lt;br /&gt;
Remove the third party program or arrange for it to operate only while NEOSYS processes are shutdown eg from 3am-6am.&lt;br /&gt;
&lt;br /&gt;
== Handling damaged files ==&lt;br /&gt;
&lt;br /&gt;
[[Handling damaged files]]&lt;br /&gt;
&lt;br /&gt;
== Checking for corrupt database files ==&lt;br /&gt;
&lt;br /&gt;
Login to NEOSYS Maintenance&lt;br /&gt;
&lt;br /&gt;
Press F5&lt;br /&gt;
&lt;br /&gt;
 CHK.FILES&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
 CHK.FILES filename&lt;br /&gt;
&lt;br /&gt;
== Assessing Database Size per File ==&lt;br /&gt;
 &lt;br /&gt;
In NEOSYS maintenance mode&lt;br /&gt;
 &lt;br /&gt;
 LIST FILES BY BY-DSND SIZE VOLUME.NAME SIZE&lt;br /&gt;
 &lt;br /&gt;
This will include all files not just those in the actual dataset in DATA\* folders.&lt;br /&gt;
&lt;br /&gt;
== Resolving slow speed ==&lt;br /&gt;
&lt;br /&gt;
[[Benchmarking NEOSYS]]&lt;br /&gt;
&lt;br /&gt;
== Handling failure and warning on nightly backup alerts ==&lt;br /&gt;
&lt;br /&gt;
[[Handling failure and warning messages on nightly backup alerts]]&lt;br /&gt;
&lt;br /&gt;
== Resolving permissions errors while logging in ==&lt;br /&gt;
 &lt;br /&gt;
=== Problem ===&lt;br /&gt;
 &lt;br /&gt;
While logging in, you get the following error message:&lt;br /&gt;
[[Image:login_error_message.jpg]]&lt;br /&gt;
 &lt;br /&gt;
=== Solution ===&lt;br /&gt;
 &lt;br /&gt;
Add the internet guest account to the security list of the data folder with the default permission of list/read/write&lt;br /&gt;
 &lt;br /&gt;
Make sure the read&amp;amp;execute permission is removed&lt;br /&gt;
[[Image:permissions_on_data.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resolving the &#039;HTTP Error 500.0 - Internal Server Error&#039; while logging in on IE on a Windows Vista system ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
After configuring IIS on Windows Vista you will get this error message while trying to login into NEOSYS from Internet Explorer:&lt;br /&gt;
&lt;br /&gt;
 HTTP Error 500.0 - Internal Server Error&lt;br /&gt;
 Description: This application is running in an application pool that uses the Integrated .NET  &lt;br /&gt;
 mode. This is the preferred mode for running ASP.NET applications on the current and future &lt;br /&gt;
 version of IIS.&lt;br /&gt;
 &lt;br /&gt;
 In this mode, the application using client impersonation configured with &amp;lt;identity &lt;br /&gt;
 impersonate=&amp;quot;true&amp;quot; /&amp;gt; may not behave correctly. Client impersonation is not available in early &lt;br /&gt;
 ASP.NET request processing stages and may lead modules in those stages to execute with process &lt;br /&gt;
 identity instead.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
You can move the application to an application pool that uses the Classic .NET mode by using the following from a command line window (the window must be running as Administrator) &lt;br /&gt;
&lt;br /&gt;
 %systemroot%\system32\inetsrv\APPCMD.EXE set app &amp;quot;Default Web Site/neosys&amp;quot; /applicationPool:&amp;quot;Classic .NET AppPool&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can use any other application pool on your system that is running in the Classic .NET mode. You can also use the IIS Administration tool to move this application to another application pool.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resolving the &#039;Class Not Registered&#039; error message while logging in ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
While logging into NEOSYS, you will get a popup window giving an error message saying &#039;Class Not Registered - Server Error&#039;. Typically, you will encounter this error with XP Pro IIS 5.1. As usual, there&#039;s way to solve it, however the root cause of this is still unknown.&lt;br /&gt;
&lt;br /&gt;
Anyway, you will get the proper message in the event log:&lt;br /&gt;
&lt;br /&gt;
 Event Type: Warning&lt;br /&gt;
 Event Source: W3SVC&lt;br /&gt;
 Event Category: None&lt;br /&gt;
 Event ID: 36&lt;br /&gt;
 Description: The server failed to load application &#039;/LM/W3SVC/1/ROOT/NEOSYS.&lt;br /&gt;
 The error was &#039;Class not registered&#039;. &lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
So, what do you do ? This problem is related to Component Services, and when you open Component Services MMC, you will most probably  get  Error Code 8004E00F COM + was unable to talk to Microsoft Distributed Transaction Coordinator. So, fix the COM+ services first by using the following KB from Microsoft (PRB: Cannot Expand &amp;quot;My Computer&amp;quot; in Component Services MMC Snap-In http://support.microsoft.com/?id=301919):&lt;br /&gt;
&lt;br /&gt;
To resolve this problem, reinstall Component Services as follows: WARNING: &lt;br /&gt;
# Open registry editor, locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3, and then delete this key.  &lt;br /&gt;
# From the Start menu, point to Settings, click Control Panel, and then click Add/Remove Programs.  &lt;br /&gt;
# Click Add/Remove Windows Components. &lt;br /&gt;
# Proceed through the wizard, and accept all of the defaults (including IIS)&lt;br /&gt;
# Restart the computer.&lt;br /&gt;
&lt;br /&gt;
If the above didn&#039;t solve it, and you still receive the &#039;Class not registered&#039; error message, then you need to recreate the IIS packages in COM+, try&lt;br /&gt;
&lt;br /&gt;
# Delete IIS related package in Component Services MMC&lt;br /&gt;
# IIS In-Process Applications &lt;br /&gt;
# IIS Out-of-Process Pooled Applications &lt;br /&gt;
# IIS Utilities&lt;br /&gt;
&lt;br /&gt;
Next, if you still get the message, try following before re-install IIS if you can&#039;t find Distributed Transaction Coordinator in your Services console.&lt;br /&gt;
&lt;br /&gt;
Launch command prompt and run the following command.&lt;br /&gt;
# msdtc -install&lt;br /&gt;
# net start msdtc&lt;br /&gt;
&lt;br /&gt;
Then try re-install IIS.&lt;br /&gt;
&lt;br /&gt;
This should solve the problem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Enabling File Security option on Win XP Professional ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
&lt;br /&gt;
In the Properties of any folders, the Security option does not show, hence you cannot modify the Read, Write options.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
The solution would be to untick the &#039;Simple File Sharing&#039; option from  Tools &amp;gt; Folder Options &amp;gt; View:&lt;br /&gt;
[[Image:simplefilesharingoff.jpg]]&lt;br /&gt;
&lt;br /&gt;
== B10 &amp;amp; B12 Errors ==&lt;br /&gt;
&lt;br /&gt;
These errors are in the software and should be immediately escalated to the programmer.&lt;br /&gt;
&lt;br /&gt;
== Internet Explorer Menu, View, Text Size doesnt change font size as expected ==&lt;br /&gt;
&lt;br /&gt;
Cause: This is because the font size is now user definable in NEOSYS and View, Text Size does not override predefined font sizes.&lt;br /&gt;
&lt;br /&gt;
Solution: If you are using Internet Explorer 7 you can scale the screen (including the font size  using ctrl + and ctrl - keyboard shortcuts or the font size button on the bottom right hand side of the window. &lt;br /&gt;
&lt;br /&gt;
You can adjust the font size on the User Details form when you login although this permanently applies to all forms not just the one that you are on.&lt;br /&gt;
&lt;br /&gt;
== Error on process window &amp;quot;Not enough string space - Out of Memory&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Message ===&lt;br /&gt;
&lt;br /&gt;
‘RTP27’ Line 1. [B29] Not enough string space – Out of Memory.&lt;br /&gt;
&lt;br /&gt;
Not enough memory to execute Debugger; current program aborted.&lt;br /&gt;
Press any key to continue&lt;br /&gt;
&lt;br /&gt;
[[Image:out_of_memory.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
Unknown perhaps related to some large document or report&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
Ask users for any hanging transactions.&lt;br /&gt;
None other than closing and starting another process&lt;br /&gt;
&lt;br /&gt;
== Uploaded jpg files fail to display in internet explorer ==&lt;br /&gt;
&lt;br /&gt;
Some large jpg files &amp;gt; 2Mb cannot be viewed in internet explorer despite being viewable in image preview, ms paint and other viewers/editors. It is not an issue caused by uploading or downloading the files.&lt;br /&gt;
&lt;br /&gt;
These file appear to have been created on Photoshop CS Macintosh and may be a special type of uncompressed jpg used for production quality files.&lt;br /&gt;
&lt;br /&gt;
=== Partial solution ===&lt;br /&gt;
Before uploading the files, open them in some editor like MS Paint (right click, edit) and save them. However this results in a loss of quality. Perhaps there is some program that can convert these files to a format understandable by Internet explorer without any loss of quality.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;You have attempted to write to a read-only file&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Message ===&lt;br /&gt;
&lt;br /&gt;
Error while writing data.&lt;br /&gt;
You have attempted to write to a read-only file.&lt;br /&gt;
- or -&lt;br /&gt;
access to the file has been denied by the operating system.&lt;br /&gt;
(operating system file name: &amp;quot;..\DATA\ADLINEC\ADAGENCY\REV76467.OV00012618&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
It is almost certainly due to some third party backup or other maintenance software opening the NEOSYS database files when it shouldn&#039;t e.g. badly configured third party backup scheduled to backup NEOSYS while NEOSYS is still running. Note that the exact filename varies each time.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
This can be a serious error that causes damaged files in NEOSYS especially if the filename ends in .OV. Use the usual methods of checking for damaged files e.g. do a backup which also looks for damaged files BUT DO NOT OVERWRITE THE LATEST BACKUP SINCE IT MAY BE REQUIRED for restoration. Then fix the damaged files using the usual methods e.g. by rebuilding/using&lt;br /&gt;
FIXFILE or restoring databases.&lt;br /&gt;
&lt;br /&gt;
=== Prevention ===&lt;br /&gt;
&lt;br /&gt;
Remove the third party backup or other maintenance software or reschedule it to run at a time that NEOSYS is shutdown. Removal of software may require hunting through the windows process list for unexpected programs running.&lt;br /&gt;
&lt;br /&gt;
== Resolving &amp;quot;Cannot backup/restore because PROCESS1 PROCESS2 (etc) is/are online&amp;quot; message ==&lt;br /&gt;
 &lt;br /&gt;
This can happen for a variety of reasons if all the NEOSYS processes fail to close down at backup time&lt;br /&gt;
 &lt;br /&gt;
# NEOSYS maintenance windows are left open.&lt;br /&gt;
# NEOSYS processes hang due to software error.&lt;br /&gt;
 &lt;br /&gt;
== How to kill hung NEOSYS processes ==&lt;br /&gt;
 &lt;br /&gt;
NOTE WELL: If you kill actively working NEOSYS processes (those which are &amp;quot;listening&amp;quot; and not hung/crashed) there is a reasonable chance that the database will be damaged and might need a restore losing possibly large amounts of work.&lt;br /&gt;
 &lt;br /&gt;
==== If NEOSYS processes are visible on the server desktop ====&lt;br /&gt;
 &lt;br /&gt;
Look for processes which don&#039;t have &amp;quot;Listening ...&amp;quot; on the last but one line. The times on the left hand side are frozen as at the time of the hang.&lt;br /&gt;
 &lt;br /&gt;
You can then click the X to kill the process and confirm that this is OK.&lt;br /&gt;
 &lt;br /&gt;
Example of a NEOSYS process that has hung due to a software error resulting in a failure to handle a complex query with a lot of brand codes.&lt;br /&gt;
&lt;br /&gt;
[[Image:hungprocess.jpg]]&lt;br /&gt;
 &lt;br /&gt;
==== If NEOSYS processes are not visible on the server desktop ====&lt;br /&gt;
&lt;br /&gt;
NEOSYS processes are most of the time visible on the desktop (i.e. the black dos windows) in Windows 2003 OS, except in the case that the process has been scheduled to start on computer restart and no one has logged into the server. In this case it would be running in the background. Secondly in the case of Windows 2008, the processes always are hidden. &lt;br /&gt;
&lt;br /&gt;
You can check if there are any hung processes from the NEOSYS Support Menu, List of Database Processes. &lt;br /&gt;
[[Image:databaseprocesseslist.jpg]]&lt;br /&gt;
&lt;br /&gt;
In this case you should follow the below instructions - however all of them need to be done within 30 seconds of starting the first instruction to avoid inconvenience to the users. It is recommend that you keep relevant windows open before proceeding with the same:&lt;br /&gt;
&lt;br /&gt;
#Shutdown NEOSYS by TEMPORARILY putting a file called GLOBAL.END in the parent directory of NEOSYS (if there is already a GLOBAL.END.TEMP file then rename it to GLOBAL.END). Leaving the file there would prevent NEOSYS from starting up again. Shutting down NEOSYS from the Support menu will not work because of the hung processes.&lt;br /&gt;
#Use Windows Task Manager to kill all the NTVDM processes - assuming that you have closed all the visible NEOSYS processes, then the NTVDM processes in the task manager would be the hung one.&lt;br /&gt;
#Delete GLOBAL.END or rename it to GLOBAL.END.TEMP&lt;br /&gt;
#Restart the processes back again. If there are many datasets then you need to restart them all well within the 30 seconds period.&lt;br /&gt;
&lt;br /&gt;
In case of Patsalides, where we have a thousand datasets which start &amp;quot;on demand&amp;quot; i.e. usually on login; all you need to do is start one dataset which will restart all the other datasets &amp;quot;on demand&amp;quot;. If there is no response within 30 seconds then one of the running datasets will start it up so there appears to be a 30 second delay when you login to one of the thousand datasets the first time on any one day.&lt;br /&gt;
&lt;br /&gt;
=== Temporary workarounds for hung NEOSYS processes ===&lt;br /&gt;
Until the error in the software is fixed users can often get their results by simplifying their requirements. For example select individual clients instead of selecting all the brands for a particular client. If the user has repeated his request (in forlorn hope that it would work finally) then the number of NEOSYS working NEOSYS processes will drop causing severe slowdown for other users and complete stop if all the NEOSYS processes hang.&lt;br /&gt;
&lt;br /&gt;
== How to fix a NEOSYS process which opens up in a notepad instead of Microsoft Windows Based Script Host (i.e. DOS window)==&lt;br /&gt;
&lt;br /&gt;
The NEOSYS process (cmd file) might open up in a notepad, instead of the usual black colour DOS window. This can be fixed by the following:&lt;br /&gt;
&lt;br /&gt;
# Download and install the Windows Script 5.6/5.7 from the Microsoft Website&lt;br /&gt;
# Go to any folder, click on Tools &amp;gt; Folder Options &amp;gt; File Types and find the .JS and .JSE and change the default program to wscript.exe (from windows&amp;gt;system32)&lt;br /&gt;
&lt;br /&gt;
== Resolving a &#039;Could not start&#039; error on Scheduled Tasks in Windows Server 2000 SP4 ==&lt;br /&gt;
&lt;br /&gt;
This error occurs because of a change that is made to the data that is stored in the credentials database when you install Windows 2000 SP4. Hence installing SP4 causes the the data that is stored in the credentials database to get converted to an SP4-compatible format. A registry key is configured to indicate that the data has been converted to the SP4 format.&lt;br /&gt;
&lt;br /&gt;
Hence the Scheduled Tasks do not work sometimes. However the Scheduled Tasks works fine sometimes, but when you uninstall SP4, it does not work.&lt;br /&gt;
&lt;br /&gt;
The best solution is to:&lt;br /&gt;
&lt;br /&gt;
# Incase Scheduled Tasks do not work after installing SP4, then uninstall SP4 and it should be fine.&lt;br /&gt;
# Incase Scheduled Tasks works after installing SP4, and later after uninstalling SP4, it does not work, then install SP4 and it should be fine.&lt;br /&gt;
&lt;br /&gt;
== Checking for server or NEOSYS crashes ==&lt;br /&gt;
 &lt;br /&gt;
#NEOSYS Maintenance Mode&lt;br /&gt;
#General Menu, Setup, Processes&lt;br /&gt;
#Select the dates and the option Detailed&lt;br /&gt;
 &lt;br /&gt;
This report shows a list of dates and times that NEOSYS logged in but did not log out properly.&lt;br /&gt;
 &lt;br /&gt;
Ignore the very latest entries since they represent the current NEOSYS processes. For example, if you have four NEOSYS processes running at the time that you get the report (including any in maintenance mode) then you can ignore the last four entries.&lt;br /&gt;
 &lt;br /&gt;
The date and time shows for each process that has failed to shutdown correctly when the process logged in. Versions of NEOSYS from January 2008 will also show the date and time that each crashed NEOSYS process was last active (heartbeat) so that the time of failure can be known.&lt;br /&gt;
 &lt;br /&gt;
If you see a bunch of NEOSYS processes all started up at around the same time but all failed to shutdown correctly then the cause will be a server failure - usually power failure.&lt;br /&gt;
 &lt;br /&gt;
Isolated one-off failures will be related to individual NEOSYS process crashes - most commonly caused by one of the following:&lt;br /&gt;
 &lt;br /&gt;
#NEOSYS hanging to due to software failure&lt;br /&gt;
#Manually exiting a NEOSYS process on the server either by pressing Ctrl+Alt+Del or clicking the &amp;quot;X&amp;quot; close icon/box and ignoring the warning&lt;br /&gt;
#Random server failures eg memory, disk etc&lt;br /&gt;
 &lt;br /&gt;
Example:&lt;br /&gt;
 &lt;br /&gt;
 LOGIN 22/12/2007 06:02 NEOSYS SERVER ADAGENCY         Current workstation &lt;br /&gt;
 LOGIN 23/12/2007 06:00 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 06:01 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 06:02 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:52 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:52 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:53 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:00 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:01 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:02 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 13:51 NEOSYS SERVER NEOSYS         Current user session  &lt;br /&gt;
&lt;br /&gt;
Interpretation:&lt;br /&gt;
 &lt;br /&gt;
The first four entries indicate that all four NEOSYS processes started at 06am were suddenly killed probably by power failure&lt;br /&gt;
 &lt;br /&gt;
The next four entries indicate that NEOSYS was restarted at around 08:52 and all these processes were AGAIN killed probably by power failure&lt;br /&gt;
 &lt;br /&gt;
The last four entries can be ignored because there were four NEOSYS processes running at the time that the report was generated&lt;br /&gt;
&lt;br /&gt;
== Searching for word/number in the database files using maintenance mode ==&lt;br /&gt;
&lt;br /&gt;
You can search for any word/number in the database files of NEOSYS, using the following command line:&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 FIND FILENAME WORDWITHOUTANYSPACES&lt;br /&gt;
 &lt;br /&gt;
 For eg:&lt;br /&gt;
 FIND CURRENCIES 1.1&lt;br /&gt;
 (here you are searching for the number 1.1 in the currencies file) You CANNOT search for a phrase ie include spaces like this.&lt;br /&gt;
 &lt;br /&gt;
 Or you can also type:&lt;br /&gt;
 FIND FILENAME &amp;lt;enter&amp;gt;&lt;br /&gt;
 and it will ask you what you want do to search. You can enter an exact phrase with spaces.&lt;br /&gt;
&lt;br /&gt;
Incase you do not know the filenames, you can enter the following command to see all the filenames in the system:&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 LF&lt;br /&gt;
&lt;br /&gt;
== NO LOCK RECORD error when working on NEOSYS ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears:&lt;br /&gt;
&lt;br /&gt;
 Cannot save &amp;quot;DOCUMENT NAME&amp;quot; because:&lt;br /&gt;
 Somebody has updated this record.&lt;br /&gt;
 Your update cannot be applied.&lt;br /&gt;
 This session id does not agree &amp;quot;NO LOCK PERIOD&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Possible Causes and Solutions ===&lt;br /&gt;
 &lt;br /&gt;
1. There is some other error in NEOSYS software while saving the record.&lt;br /&gt;
Probably another error message would come before this one and that message should be sent to NEOSYS in order to solve the actual problem.&lt;br /&gt;
 &lt;br /&gt;
2. There has been a temporary loss of connection to the server for some period of time.&lt;br /&gt;
The NEOSYS web page needs to periodically &amp;quot;refresh&amp;quot; the exclusive lock on the document being edited. If NEOSYS cannot perform the refresh it may lose the rights to save the document.&lt;br /&gt;
 &lt;br /&gt;
Loss of connection could be for a huge variety of reasons including server, network, and workstation failures.&lt;br /&gt;
 &lt;br /&gt;
3. Bad Internet Explorer Configuration&lt;br /&gt;
Loss of cookies etc due to third party software (internet toolbars/spyware etc)&lt;br /&gt;
 &lt;br /&gt;
Reset Internet Explorer to factory settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting the NTVDM Hard error when opening up NEOSYS processes ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears:&lt;br /&gt;
&lt;br /&gt;
[[Image:ntvdm.jpg]]&lt;br /&gt;
&lt;br /&gt;
 NTVDM encountered a hard error&lt;br /&gt;
&lt;br /&gt;
=== Solution  ===&lt;br /&gt;
 &lt;br /&gt;
This error is caused by missing or corrupt Windows system files (i.e. command.com, autoexec.nt and config.nt). The solution is to run a program called XP FIX which will reinstall these missing files. You can download it form http://www.visualtour.com/downloads/xp_fix.exe&lt;br /&gt;
&lt;br /&gt;
Sometimes even after running the XP FIX program the error still appears. Then you need to copy all the files under C:/windows/repair to C:/windows/system32 and in the autoexec.nt and config.nt put REM before any lines there which don&#039;t have it.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting a Service Unavailable message on Internet Explorer when opening up NEOSYS ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears in Internet Explorer when you try to open up NEOSYS:&lt;br /&gt;
&lt;br /&gt;
 Service Unavailable&lt;br /&gt;
&lt;br /&gt;
=== Solution  ===&lt;br /&gt;
 &lt;br /&gt;
Open the IIS Manager, right click Web Sites and select properties:&lt;br /&gt;
[[Image:serviceunavailable1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Switch to the Service Tab and tick the &amp;quot;Run WWW Service in IIS 5.0 Isolation Mode&amp;quot;.&lt;br /&gt;
[[Image:serviceunavailable2.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will be asked for Restart of IIS. Click yes to restart IIS. If you are not asked just restart IIS.&lt;br /&gt;
&lt;br /&gt;
== Inspecting IIS log files ==&lt;br /&gt;
&lt;br /&gt;
At a windows command prompt:&lt;br /&gt;
&lt;br /&gt;
 c:&lt;br /&gt;
 cd \Windows\system32\LogFiles\W3SVC1&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 %SystemDrive%&lt;br /&gt;
 cd %SystemRoot%&lt;br /&gt;
 cd system32\LogFiles\W3SVC1&lt;br /&gt;
&lt;br /&gt;
then (substituting the ip number you are interested in)&lt;br /&gt;
&lt;br /&gt;
 find &amp;quot;192.168.1.55&amp;quot; *|sort&amp;gt;temp.log&lt;br /&gt;
&lt;br /&gt;
Open temp.log in Excel and use Tools, Data, Text to Columns to split into columns using options &amp;quot;Delimited&amp;quot; and check split on Space.&lt;br /&gt;
&lt;br /&gt;
Autowidth all columns by clicking on the top left box just outside the data to the left of column A and above column 1 then double click the column separator to the right of column &amp;quot;A&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note that times and dates are in UTC/GMT so you have to add/subtract your timezone offset to get local times.&lt;br /&gt;
&lt;br /&gt;
== Fixing NEOSYS processes that do not auto start / Recovering from incorrect advanced date or time ==&lt;br /&gt;
&lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
After starting up the 1st process, the rest of the processes don&#039;t start up.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
The possible cause for this could be that the system date/time might have been changed - either manually or by the auto synchronization. Do the following checks in the sequence of order:&lt;br /&gt;
&lt;br /&gt;
# Check for any .$* files (* is a number, the highest being the latest one). If it shows OK, then proceed ahead.&lt;br /&gt;
# Check for any .end files and delete it to rename to .end.temp&lt;br /&gt;
# Check the System Event Viewer log for any 520 or 577 error message (refer http://128.175.24.251/forensics/timechange.htm). Also check for any out of sequence / ahead of today date or time.&lt;br /&gt;
# In case of no 520 or 577 error message, go to Administrative Tools &amp;gt; Local Security Policy &amp;gt; Local Policies &amp;gt; Audit Policy &amp;gt; Audit Privilege use - make sure that Success and Failure are selected under this (this will ensure that future changes to the date/time are recorded in the System Log).&lt;br /&gt;
# In NEOSYS maintenance mode - F5 ED PROCESSES %UPDATE% - and see what it says, incase of any text there, that means that for sure the system date has been changed.&lt;br /&gt;
# Now to fix this, in maintenance mode again enter - F5 DELETE PROCESSES &amp;quot;%UPDATE%&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Recognising and Solving Low Memory Problems ==&lt;br /&gt;
&lt;br /&gt;
Quick Note: Installing a server class operating system on a workstation class computer with the intention of NEOSYS serving a heavy load is likely to cause problems with low memory.&lt;br /&gt;
&lt;br /&gt;
Quick Fix: Disable *ALL* non-essential features in the power-on setup menu.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
&lt;br /&gt;
It is speculated but not proven that low memory may cause NEOSYS to fail by hanging, causing damaged files etc.&lt;br /&gt;
&lt;br /&gt;
=== Checking ===&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 MEMORY&lt;br /&gt;
&lt;br /&gt;
On server class machines it should say somewhere around 350Kb to 370Kb Free&lt;br /&gt;
&lt;br /&gt;
Some server class machines have around 330Kb and sometimes even less with no reported problems&lt;br /&gt;
&lt;br /&gt;
The actual effect of low memory is supposed to make NEOSYS slower and perhaps cause hanging and damaged files however this has not been proven in an specific case so far.&lt;br /&gt;
&lt;br /&gt;
On workstation class machines it may often say around 280Kb to 300Kb.&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
Although there is plenty of real memory in virtually all computers now, NEOSYS runs in the legacy 16 bit virtual memory space of a windows mode called NTVDM. This is limited to 1Mb plus 4Mb of EMS memory.&lt;br /&gt;
&lt;br /&gt;
The 1Mb memory space is shared with:&lt;br /&gt;
&lt;br /&gt;
#Various non-essential windows drivers which NEOSYS automatically disables them in autoexec.nt&lt;br /&gt;
#Various plug and play hardware device drivers for the various adapters in the computer like video, network adapters and various other items that NEOSYS is unable to disable.&lt;br /&gt;
&lt;br /&gt;
In a server class computer the hardware device drivers are usually minimally present in the 1Mb base memory and do not therefore DOESNT a low memory situation for NEOSYS.&lt;br /&gt;
&lt;br /&gt;
In workstation class computers there are often many hardware device drivers present in the 1Mb base memory and this DOES causes a low memory situation for NEOSYS.&lt;br /&gt;
&lt;br /&gt;
When NEOSYS is installed on workstation class computers with XP there is usually not a heavy load expectation and therefore the low memory does not cause a problem.&lt;br /&gt;
&lt;br /&gt;
If Windows Server OS is installed on a workstation class computer NEOSYS may well be expected to serve a heavy load with limited amounts of memory.&lt;br /&gt;
&lt;br /&gt;
Workstation class computers: hardware drivers present and EMS is installed in low memory (0000-9FFF) causing low memory for NEOSYS and possible inability to &lt;br /&gt;
&lt;br /&gt;
Server class computers: Usually few hardware drivers are present in high part (A000-FFFF) of the 1Mb base memory and EMS is able to occupy the high memory leaving the low part (0000-9FFFF) of the 1Mb memory free for NEOSYS. You can find out how much memory is available to NEOSYS and whether EMS is occuping high or low memory using the following sections.&lt;br /&gt;
&lt;br /&gt;
=== Fixing Low Memory ===&lt;br /&gt;
&lt;br /&gt;
Start, Run, notepad c:\windows\system32\autoexec.nt&lt;br /&gt;
&lt;br /&gt;
Every time NEOSYS starts it tries to make some changes as follow:&lt;br /&gt;
&lt;br /&gt;
#replaces all lines in C:/WINDOWS/SYSTEM32/AUTOEXEC.NT starting with &#039;lh &#039; to start with &#039;rem NEOSYS LH &#039; instead.&lt;br /&gt;
#changes the line in C:/WINDOWS/SYSTEM32/CONFIG.NT &amp;quot;files=...&amp;quot; to &amp;quot;FILES=200&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The replacement is case sensitive triggered on &#039;lh&#039; and &#039;files&#039; so if you manually edit the files and remove the rem or change the number of files and leave the LH and FILES in uppercase then NEOSYS will NOT make further changes. This allows you to do manual amendments to the files without NEOSYS overwriting them.&lt;br /&gt;
&lt;br /&gt;
Check that NEOSYS has successfully disabled all the drivers in the lines starting with LH.&lt;br /&gt;
&lt;br /&gt;
They should be commented out (prefixed) with REM or REM NEOSYS as follows.&lt;br /&gt;
&lt;br /&gt;
After making changes reopen NEOSYS in maintenance mode to use the MEMORY and WHO commands again.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM Install CD ROM extensions&lt;br /&gt;
REM NEOSYS LH %SystemRoot%\system32\mscdexnt.exe&lt;br /&gt;
&lt;br /&gt;
REM Install network redirector (load before dosx.exe)&lt;br /&gt;
REM NEOSYS LH %SystemRoot%\system32\redir&lt;br /&gt;
&lt;br /&gt;
REM Install DPMI support&lt;br /&gt;
REM NEOSYS LH %SYSTEMROOT%\SYSTEM32\DOSX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Allowing DOS programs that require DOSX to run on the same computer as NEOSYS ===&lt;br /&gt;
&lt;br /&gt;
The automatic commenting out DOSX by NEOSYS will prevent some other DOS-like programs from running. If NEOSYS is on dedicated server then there should be no other such programs to fail. However, if you must allow DOS-like programs to work as well as NEOSYS you can do the following configuration:&lt;br /&gt;
&lt;br /&gt;
#leave or restore the original AUTOEXEC.NT and CONFIG.NT files where they are&lt;br /&gt;
#copy them to another folder eg neosys folder&lt;br /&gt;
#make the necessary REM changes there by hand&lt;br /&gt;
#right click the NEOSYS\NEOSYS\AREV.PIF and select properties&lt;br /&gt;
#change the location of the AUTOEXEC.NT and CONFIG.NT files in the following location&lt;br /&gt;
&lt;br /&gt;
[[image:pifsettings.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Checking EMS Memory Configuration ===&lt;br /&gt;
&lt;br /&gt;
==== Inspection ====&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 WHO&lt;br /&gt;
&lt;br /&gt;
 press the up arrow to get to the last part/page&lt;br /&gt;
&lt;br /&gt;
===== Example of Typical Server EMS Memory =====&lt;br /&gt;
[[image:serveremm.jpg]]&lt;br /&gt;
&lt;br /&gt;
===== Example of Typical Workstation EMS Memory =====&lt;br /&gt;
[[image:workstationemm.jpg]]&lt;br /&gt;
&lt;br /&gt;
====Correction====&lt;br /&gt;
&lt;br /&gt;
No easy way&lt;br /&gt;
&lt;br /&gt;
Removal of hardware adapters designed for workstations instead of servers eg graphics cards and network cards.&lt;br /&gt;
&lt;br /&gt;
Many of the devices may be located on the motherboard and not relocatable except possibly by BIOS configuration or special manufacturer information.&lt;br /&gt;
&lt;br /&gt;
Use windows device manager, View: Resources by Connection, Open the Memory item and look for items between 000A0000 up to 000FFFFF that might give you a clue as to what hardware could be removed or reconfigured. Actually only 000C0000 to 000FFFFF is candidate for EMS memory since 000A000-000BFFFF is mandatory video memory in all systems.&lt;br /&gt;
&lt;br /&gt;
[[image:devicemanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Resolving issue where NEOSYS processes do not start-up at all or start-up and close immediately ==&lt;br /&gt;
&lt;br /&gt;
# Find if a file with the name global.end exists in the root directory of the NEOSYS installation. Eg D:\global.end . If you find such a file, rename it to global.end.temp - for more information on global.end and what it does refer to http://techwiki.neosys.com/index.php/Closing_NEOSYS_services&lt;br /&gt;
# If the above didn&#039;t fix the problem and NEOSYS still does not start, do a windows search for the entire NEOSYS folder for *.end (i.e. any file ending with .end extension). You may find a (databasecode).end file in D:\neosys\neosys folder which is created by the NEOSYS program during backup at 1 am and later on removed automatically. In this case NEOSYS program might have crashed during the backup and left this file behind. (databasecode).end files prevent other other NEOSYS processes starting up on the database while exclusive processes (like backup) are being done.&lt;br /&gt;
&lt;br /&gt;
In case the above didn&#039;t fix the problem then escalate to the programmer immediately.&lt;br /&gt;
&lt;br /&gt;
== Handling Change Backup message if the client does not use a USB backup device ==&lt;br /&gt;
DO *NOT* FOLLOW THIS PROCEDURE SINCE IS IT IS TOTALLY UNACCEPTABLE FOR NEOSYS TO SEND OUT A &amp;quot;BACKUP SUCCESS&amp;quot; MESSAGE WHEN THE BACKUP IS NOT BEING DONE PROPERLY. IN GENERAL, TAKING SHORT CUTS THAT MAKE THINGS APPEAR SATISFACTORY WHEN THEY ARE NOT IS VERY POOR POLICY.&lt;br /&gt;
&lt;br /&gt;
IF THE CLIENT IS BACKING UP TO A NON-REMOVABLE DESTINATION THEN EITHER 1. LIVE WITH THE FAILURE MESSAGE OR 2. SUPPRESS THE BACKUP ENTIRELY IN WHICH CASE NO BACKUPS ARE BEING DONE AND PROBABLY THIS WILL SHOW ON NEOSYS PROACTIVE WARNING SYSTEMS LIKE NAGIOS.&lt;br /&gt;
&lt;br /&gt;
# Basically most of the client use USB for Neosys server but there are some clients who do not use USB but save their backups in hard drive. &lt;br /&gt;
# As we know that backup take place in Data.bak folder but it do a backup only for a week in a single USB. Over here client do not use USB but save their backup in hard drive in Data.bak folder, once the week is over  it will again give Change backup message.  &lt;br /&gt;
# In this case rename the Data.bak folder to Data1.bak this is done because system read only Data.bak folder as it is configured in the system. When you rename Data.bak to Data1.bak it automatically create a new folder Data.bak in Backup drive.&lt;br /&gt;
# This process is done so that the backup should not fail then next day morning and backups are done in Data.bak folder.&lt;br /&gt;
# In the third week we will again see the same message Chang backup USB message so you need to rename Data.bak folder to Data2.bak&lt;br /&gt;
# But in fourth week you rename the Data1.bak to Data.bak and change the Data2.bak to Data1.bak and Data.bak to Data2.bak &lt;br /&gt;
# Keep only three folders and Data.bak, Data1.bak, Data2.bak and keep on renaming these folders every week as shown above.&lt;br /&gt;
&lt;br /&gt;
== Closing processes that are not visible on the desktop or hidden ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS processes are most of the time visible on the desktop (i.e. the black dos windows) in Windows 2003 OS, except in the case that the process has been scheduled to start on restart and no one has logged into the server. In this case it would be hidden. Secondly in the case of Windows 2008, the processes always are hidden.&lt;br /&gt;
&lt;br /&gt;
In these cases whenever there is a hung NEOSYS process - due to many reasons for eg low memory. In this case you should close all processes using the global.end method and then from the task manager kill any NTVDM processes and then restart NEOSYS. This should be done within 30 seconds from using the global.end method to avoid any inconvenience to the users. If there are many datasets then you need to restart them all well within the 30 seconds period.&lt;br /&gt;
&lt;br /&gt;
In case of Patsalides, where we have a thousand datasets which start &amp;quot;on demand&amp;quot; i.e. usually on login; all you need to do is start one dataset which will restart all the other datasets &amp;quot;on demand&amp;quot;. If there is no response within 30 seconds then one of the running datasets will start it up so there appears to be a 30 second delay when you login to one of the thousand datasets the first time on any one day.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS not updating Nagios ==&lt;br /&gt;
&lt;br /&gt;
You find something like the following message in UPDATE.$WG in the neosys\neosys.folder&lt;br /&gt;
&lt;br /&gt;
 Connecting to 192.168.100.145:8080 failed: No such file or directory.&lt;br /&gt;
&lt;br /&gt;
Where the above appears to be some non-functional http proxy server ip/port number and is not the expected nagios server ip number.&lt;br /&gt;
&lt;br /&gt;
The windows command proxycfg shows the same ip and port&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
D:\NEOSYS\NEOSYS&amp;gt;proxycfg&lt;br /&gt;
Microsoft (R) WinHTTP Default Proxy Configuration Tool&lt;br /&gt;
Copyright (c) Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;br /&gt;
Current WinHTTP proxy settings under:&lt;br /&gt;
  HKEY_LOCAL_MACHINE\&lt;br /&gt;
    SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\&lt;br /&gt;
      WinHttpSettings :&lt;br /&gt;
&lt;br /&gt;
    Proxy Server(s) :  192.168.100.145:8080&lt;br /&gt;
    Bypass List     :  192.168.*.*;localhost;&amp;lt;local&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solution 1 - Remove the above setting to create a direct connection ===&lt;br /&gt;
&lt;br /&gt;
To remove the registry entries that ProxyCfg.exe creates,&lt;br /&gt;
you must delete the WinHttpSettings value from the following registry key.&lt;br /&gt;
&lt;br /&gt;
 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\WinHttpSettings&lt;br /&gt;
&lt;br /&gt;
After you do the above, confirm that the proxy details are deleted by running the proxycfg command.&lt;br /&gt;
&lt;br /&gt;
Next, restart the NEOSYS processes for the changes to be affected.&lt;br /&gt;
&lt;br /&gt;
=== Solution 2 – Configure a functioning proxy ip/port number ===&lt;br /&gt;
&lt;br /&gt;
Use the proxycfg command to enter a working proxy ip/port number/exclusion list&lt;br /&gt;
&lt;br /&gt;
http://msdn.microsoft.com/en-us/library/aa384069%28VS.85%29.aspx&lt;br /&gt;
&lt;br /&gt;
After you do the above, confirm that the new proxy details are working by running the proxycfg command again.&lt;br /&gt;
&lt;br /&gt;
Next, restart the NEOSYS processes for the changes to be affected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;B&amp;gt; Note: Please refer to the link before you restart NEOSYS processes http://techwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Closing_processes_that_are_not_visible_on_the_desktop_or_hidden &amp;lt;/B&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:001.png&amp;diff=421</id>
		<title>File:001.png</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:001.png&amp;diff=421"/>
		<updated>2009-08-26T06:32:26Z</updated>

		<summary type="html">&lt;p&gt;Sunny: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sunny</name></author>
	</entry>
</feed>