<?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=Sandeep.neosys</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=Sandeep.neosys"/>
	<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Special:Contributions/Sandeep.neosys"/>
	<updated>2026-07-02T00:20:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_NEOSYS_Finance_System&amp;diff=731</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=731"/>
		<updated>2011-09-01T13:07:15Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &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.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;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.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;
== 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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Finance_System&amp;diff=730</id>
		<title>Troubleshooting NEOSYS Finance System</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Finance_System&amp;diff=730"/>
		<updated>2011-09-01T13:05:17Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Cross-Year Cross Check Balance Warnings ==&lt;br /&gt;
&lt;br /&gt;
When you use Opening Balance Journals, NEOSYS does not guarantee that the opening balances of one year match the closing balance of a prior year. This occurs quite normally and commonly occurs in two situations described below.&lt;br /&gt;
&lt;br /&gt;
Regardless of the cause, in such cases, any statement or ledger account of movements (not open items) that crosses the disjoint years will have a &amp;quot;cross check balance&amp;quot; note at the bottom of the account. A cross check balance warning is just a warning that the closing balance of the account (as calculated from a simple total of the opening balance in the old year plus all transactions) does not agree with the actual account balance according to the trial balance in the new year.&lt;br /&gt;
&lt;br /&gt;
If the opening balance of the account in the second year is not equal to the closing balance in the prior year then logically the two years cannot be viewed as a single continuous account and agree with the trial balance.&lt;br /&gt;
&lt;br /&gt;
=== Producing Historical Accounts ===&lt;br /&gt;
&lt;br /&gt;
When you start up a company in one year using Opening Balance Journals then the closing balances of the prior years remain zero. If you thereafter start to post into prior years, the closing balances of those years will remain in disagreement with the opening balance of the following years.&lt;br /&gt;
&lt;br /&gt;
=== Opening Balance Journals ===&lt;br /&gt;
&lt;br /&gt;
If you post Opening Balance Journals into one year for any reason, they are not posted into prior years. Therefore the opening balances of the amended year become different from the prior year.&lt;br /&gt;
&lt;br /&gt;
In this respect, auditors amendments to opening balances should be posted as normal journals in the final period of the prior year and not as Opening Balance Journals in the current year.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
If you wish to obtain cross-year accounts between years, and you wish such account&#039;s balances to agree with the later year trial balance, then you must arrange for the closing balances of the prior years to agree with the opening balances of the following years.&lt;br /&gt;
&lt;br /&gt;
To do this, ensure that any Opening Balance Journals that are posted into any particular year are also posted into all prior financial years of interest.&lt;br /&gt;
&lt;br /&gt;
== Editing and Reposting Vouchers ==&lt;br /&gt;
&lt;br /&gt;
WARNING: Can cause effectively irreversible damage to the finance database requiring restoration of a suitable backup causing loss of data and/or total loss of database if backup not available.&lt;br /&gt;
&lt;br /&gt;
It is almost impossible to edit and repost vouchers and keep the audit trail correct so this procedure is of limited use. The stages are UNPOST, EDIT, REPOST.&lt;br /&gt;
&lt;br /&gt;
Must be done on test data and advisable to run CHK.VOUCHERS afterwards.&lt;br /&gt;
&lt;br /&gt;
=== UNPOST ===&lt;br /&gt;
 F5&lt;br /&gt;
 UNPOST XXX*YYYYY*ZZZ&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
*XXX is the voucher type/journal code&lt;br /&gt;
*YYY is the voucher number&lt;br /&gt;
*ZZZ is the company code&lt;br /&gt;
&lt;br /&gt;
Any problems with the voucher might generate messages but the problems will be reverse the problems which must have occurred when posting the voucher in the first place.&lt;br /&gt;
&lt;br /&gt;
=== EDIT ===&lt;br /&gt;
 F5&lt;br /&gt;
 ED VOUCHERS XXX*YYYYY*ZZZ&lt;br /&gt;
&lt;br /&gt;
For example, if due to a neosys system error, the ZZZ999 suspense account has been used instead of some missing internal system accounts like exchange gain/loss accounts then you can insert the correct account.&lt;br /&gt;
&lt;br /&gt;
Change line 8 (which contains the account numbers) from:&lt;br /&gt;
&lt;br /&gt;
 REZO²REZO²BMDI²BMDI²²&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 REZO²REZO²BMDI²BMDI²EXDI²EXDI&lt;br /&gt;
&lt;br /&gt;
where EXDI is the A/c No. of the Exchange Difference A/c.&lt;br /&gt;
&lt;br /&gt;
F9, ESC to save and exit&lt;br /&gt;
&lt;br /&gt;
=== REPOST ===&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 REPOST XXX*YYYYY*ZZZ&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=red&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using Finance Maintenance Mode fixing tools ==&lt;br /&gt;
Do not do mass fixes eg “Add/Delete ALL xyz” options from a year in the past eg 2007 while only checking accounts for 2009. You must CHECK EVERYTHING THAT YOU REQUEST TO BE FIXED.&lt;br /&gt;
&lt;br /&gt;
The various fixing tools like CHK.ALLOC etc are impossible to make safe in all circumstances so if you don’t really know what you are doing you assume the WORST not the BEST with these fixing tools. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;CHECK EVERYTHING YOU “FIX”!!!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
IF YOU DO NOT FOLLOW INSTRUCTIONS CAREFULLY YOU CAN END UP MODIFYING AUDITED ACCOUNTS AND IT WILL TAKE DAYS FOR PROGRAMMERS TO TRY AND CORRECT THE DAMAGE YOU CAUSE OR EVEN REQUIRE A RESTORE OF A BACKUP CAUSING LOSS OF MANY DAYS WORK TO THE CLIENT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fixing &amp;quot;Cross Check Balance&amp;quot; warnings using CHK.ALLOC ==&lt;br /&gt;
&lt;br /&gt;
Cross Check Balance Message on an account means the total of the outstanding items in an account does not match the balance as in the movement - typically the outstanding shows a higher balance than the balance in the movement, but might not always be the case. The reasons why this may happen is because of the following:&lt;br /&gt;
&lt;br /&gt;
*Reposting journals containing allocated items (which NEOSYS doesnt handle in all circumstances)&lt;br /&gt;
*Failing to clear open item accounts on a regular basis where the number of postings is high&lt;br /&gt;
&lt;br /&gt;
This procedure only applies to CCB on the outstanding item type statements which are the more common problem. CCB on movement accounts are rarer, more serious and cannot be fixed by this procedure.&lt;br /&gt;
&lt;br /&gt;
This might not always fix the CCB warnings and hence you will need to escalate to the programmer.&lt;br /&gt;
&lt;br /&gt;
!!! WARNING This is a dangerous procedure. IF YOU DO NOT FOLLOW INSTRUCTIONS CAREFULLY YOU CAN END UP MODIFYING AUDITED ACCOUNTS AND AUDITORS/ACCOUNTANTS AND IT WILL TAKE DAYS FOR PROGRAMMERS TO TRY AND CORRECT THE DAMAGE YOU CAUSE!&lt;br /&gt;
&lt;br /&gt;
This can be run while other users are online.&lt;br /&gt;
&lt;br /&gt;
DO THIS ON TESTDATA FIRST&lt;br /&gt;
&lt;br /&gt;
This exact procedure restores vouchers missing from open item accounts. This can be caused by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 UTIL (nothing happens at this stage as its a background process and gives you access to the next command)&lt;br /&gt;
 CHK.ALLOC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Minimum voucher year.period?&lt;br /&gt;
&lt;br /&gt;
Generally go back as little as possible to cover vouchers that might be missing from O/I accounts.&lt;br /&gt;
&lt;br /&gt;
 Which account do you want or blank for all?&lt;br /&gt;
&lt;br /&gt;
You MUST press Esc to search for all accounts. Entering one account WILL NOT WORK since it will only check vouchers already on the open item accounts and we are looking for those that are missing.&lt;br /&gt;
&lt;br /&gt;
IGNORE OR RESPOND NEGATIVELY to all messages or questions EXCEPT the following:&lt;br /&gt;
&lt;br /&gt;
 Missing from O/I index?&lt;br /&gt;
&lt;br /&gt;
Select &amp;quot;Yes&amp;quot; or &amp;quot;Yes to all&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Meaning of other messages ===&lt;br /&gt;
&lt;br /&gt;
The following message pair does not usually cause cross check balances and indicates that they have cancelled some foreign currency allocation since allocation should not cause and change in rate.&lt;br /&gt;
&lt;br /&gt;
 IN*175510*C 20/01/08 ALMA 4/2 REC*4440*C allocation base outstanding -7326.15 expected -6762.60 (-563.550,.08333333)&lt;br /&gt;
 IN*175510*C 20/01/08 ALMA 4/2 REC*4440*C allocation changed exchange rate from .08333333 to .07692308&lt;br /&gt;
&lt;br /&gt;
Following MUST choose &amp;quot;Leave all&amp;quot; otherwise risk damage to closed audited prior year accounts:&lt;br /&gt;
&lt;br /&gt;
 Account numbers do not agree. Delete the allocation?&lt;br /&gt;
&lt;br /&gt;
Following MUST choose &amp;quot;Leave all&amp;quot; otherwise risk damage to closed audited prior year accounts:&lt;br /&gt;
&lt;br /&gt;
 Allocation is missing ?&lt;br /&gt;
&lt;br /&gt;
Choose &amp;quot;Skip further Warnings&amp;quot; for the following message:&lt;br /&gt;
&lt;br /&gt;
 Amounts do not agree - please fix manually&lt;br /&gt;
&lt;br /&gt;
=== Re-enabling CCB warning mail notifications ===&lt;br /&gt;
NEOSYS is pre-configured to send out email notifications (to the same group of people who receive the backup alerts) when a Cross Check Balance (CCB) warning is found for the first time on an account. That means there will be only 1 email notification irrespective of the times the warning occurs until it is fixed.&lt;br /&gt;
&lt;br /&gt;
After the CCB is fixed or after clearing or otherwise eliminating the same, you need to delete the CCB file in D:\neosys\neosys to re-enable NEOSYS to resend notification by email after it discovers CCB warnings on that account again in the future.&lt;br /&gt;
&lt;br /&gt;
== Fixing &amp;quot;Cross Check Balance&amp;quot; warning using CHK.VINDEX ==&lt;br /&gt;
&lt;br /&gt;
YOU MUST READ AND APPLY THE GENERAL INSTRUCTIONS WRITTEN FOR CHK.ALLOC AS WELL FOR CHK.VINDEX&lt;br /&gt;
&lt;br /&gt;
This program can fix a few CCB warnings that CHK.ALLOC cannot - including some in balance forward type accounts (ie not open item/outstanding item accounts) .&lt;br /&gt;
&lt;br /&gt;
Not all the possible fixes are described here and any messages which are not described here should be responded to NEGATIVELY!&lt;br /&gt;
&lt;br /&gt;
=== Different account - Delete the index entry?===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  &amp;quot;*MEVEJ*FZ&amp;quot;  L=232 V=REC*461*FZ 05/07/09 B=447 &amp;quot;MEVEJ&amp;quot;&lt;br /&gt;
  different account &amp;quot;ADVOPME&amp;quot;&lt;br /&gt;
                     Delete the index entry?&lt;br /&gt;
───┬─────────────────────────────────────────────────────────────&lt;br /&gt;
  1&amp;gt;No&lt;br /&gt;
  2│None&lt;br /&gt;
  3│Yes&lt;br /&gt;
  4│All&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Yes.&lt;br /&gt;
&lt;br /&gt;
== Using CHK.POST to fix some types of Cross Check Balance (CCB) errors ==&lt;br /&gt;
&lt;br /&gt;
This program adjusts the balances in the trial balance reports (which also show in the “Cross Check Balance phrase on the Detailed Ledger Accounts) to match the vouchers found in the voucher file. Note that CHK.ALLOC and CHK.VINDEX have no effect on these figures and instead amend the transactions shown on the Detailed Ledger Account - and thereby the totals on the same report so that they agree with the CCB amount and thereby the conflict is resolved.&lt;br /&gt;
&lt;br /&gt;
Most CCB in NEOSYS are related to problems on outstanding item accounts and are fixed with the CHK.ALLOC program. More rarely, problems occur in the movement accounts and are fixed with the CHK.VINDEX program - although this can also fix some errors in outstanding item statements. Even more rarely will the problem be on the Trial Balances/CCB balances and can be fixed with this CHK.POST procedure&lt;br /&gt;
&lt;br /&gt;
WARNING! This solution may make things worse so don’t use on live data unless EXHAUSTIVELY checked that everything is ok on test data first.&lt;br /&gt;
&lt;br /&gt;
WARNING! Don’t go back and “correct” previous years which have been closed because auditors expect them never to change (EVEN IF THEY ARE WRONG!) and it can be impossible to put them back “wrong” if you “correct” them.&lt;br /&gt;
&lt;br /&gt;
WARNING! If you correct previous years then you must rerun the Open New Year procedure for all prior years and this procedure is not documented and can only be run by programmers at the moment.&lt;br /&gt;
&lt;br /&gt;
#In maintenance mode press Alt+1&lt;br /&gt;
#Enter the range of periods that you want to check/adjust the trial balance for e.g. 1/9-7/9 for 1st Period of 2009 up to the 7th period of 2009.&lt;br /&gt;
#Press F9 and Esc&lt;br /&gt;
#Press F5 and type CHK.POST&lt;br /&gt;
#What stage to start at? Choose “Select Vouchers”&lt;br /&gt;
#Clear the updated balances file? Choose “Clear it”&lt;br /&gt;
#OK to Start? … OK&lt;br /&gt;
#If there are any discrepancies found between the Trial Balance Balances/CCB balances … and the Vouchers in the file you will get some fairly cryptic questions asking you, one by one, if you want to fix the balances.&lt;br /&gt;
&lt;br /&gt;
IMPORTANT&lt;br /&gt;
#It is advised that you only fix the balances which refer to the accounts that you are concerned about. You will find the account number buried in the cryptic questions referred to above.&lt;br /&gt;
#If you fix subsidiary account balances then MAKE SURE that you also fix the control accounts balances (if you are prompted).&lt;br /&gt;
&lt;br /&gt;
== B10 &amp;amp; B12 Errors ==&lt;br /&gt;
&lt;br /&gt;
The error might be displayed as follows :&lt;br /&gt;
&lt;br /&gt;
 ERROR NO: B10 IN DAYBOOK.SUBSX AT 133&lt;br /&gt;
 Variable has not been assigned a value. Zero used.&lt;br /&gt;
&lt;br /&gt;
This error should have said something like : &amp;quot;The ledgers are closed up to the period you have just tried to post&amp;quot; OR &amp;quot;Financial Year 2011 must be opened before you post into it.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Try again and you would see the exact message if you have not opened the new year as yet.&lt;br /&gt;
&lt;br /&gt;
== Reinstating Open Item Statements after Clear Open Items ==&lt;br /&gt;
&lt;br /&gt;
WARNING: DO THIS PROCESS ON TEST DATA FIRST TO VERIFY THAT IT DOES NOT CAUSE CROSS CHECK BALANCE ERRORS&lt;br /&gt;
&lt;br /&gt;
WARNING: THIS PROCESS MAY CAUSE CROSS CHECK BALANCE ERRORS BY REINSTATING &amp;quot;ANCIENT CORRUPT VOUCHERS&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;CHECK BACK&amp;quot; AS FEW YEARS AS NEEDED TO INCLUDE ALL VOUCHERS THAT COULD BE OPEN/OUTSTANDING AT THE DESIRED PERIOD.&lt;br /&gt;
&lt;br /&gt;
It is not easy to know how far to &amp;quot;check back&amp;quot; for open items so go back two years initially unless it is known that there may be items outstanding from even earlier years.&lt;br /&gt;
&lt;br /&gt;
=== 1. Check, solve, record all existing cross check balances ===&lt;br /&gt;
&lt;br /&gt;
Restoring open items may create cross check balance errors so first you need to fix all EXISTING cross check balance errors in the database.&lt;br /&gt;
&lt;br /&gt;
Do not proceed to the next step until this step is complete otherwise you will have no idea what problems were created by CHK.ALLOC and what problems were in the database before.&lt;br /&gt;
&lt;br /&gt;
Expect no sympathy from programmers if you ignore this or fail to work on testdata first.&lt;br /&gt;
&lt;br /&gt;
First print ***ALL*** open item ledger accounts to check for existing cross check balances in open item accounts.&lt;br /&gt;
&lt;br /&gt;
Correct all &amp;quot;cross check balances&amp;quot; using the usual procedures to do so.&lt;br /&gt;
&lt;br /&gt;
Note that cross check balances are unavoidable on some *extremely large* open item accounts. This does not mean that you can ignore cross check balances on merely large accounts. They must be fixed.&lt;br /&gt;
&lt;br /&gt;
Save copies of the detailed ledger accounts of any *extremely large&amp;quot; open items accounts that you have not fixed their cross check balances.&lt;br /&gt;
&lt;br /&gt;
=== 2. Edit back the Company File &amp;quot;cleared-upto period&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Complete this step quickly if users are working online - in order not to lock the company file for longer than it takes to change the &amp;quot;cleared upto period&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
In maintenance mode,  press F5. example company code X. Do this for all companies that need to.&lt;br /&gt;
&lt;br /&gt;
 ED COMPANIES X&lt;br /&gt;
&lt;br /&gt;
change line 17 to be the last period (YYMM) desired to have been cleared.&lt;br /&gt;
&lt;br /&gt;
DONT add or delete any lines!&lt;br /&gt;
&lt;br /&gt;
F9, Esc&lt;br /&gt;
&lt;br /&gt;
=== 3. Run CHK.ALLOC ===&lt;br /&gt;
&lt;br /&gt;
This process can be run while users are working since there is a only a very slight chance that they will be posting the same account at the time that the program is updating its open item voucher index.&lt;br /&gt;
&lt;br /&gt;
In maintenance mode press F5&lt;br /&gt;
&lt;br /&gt;
 CHK.ALLOC&lt;br /&gt;
&lt;br /&gt;
Minimum is how far to go back. See explanation above.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
╔═══════════════════════════════════════╗&lt;br /&gt;
║ Minimum voucher year.period to check? ║&lt;br /&gt;
║              (0 for all)              ║&lt;br /&gt;
║&amp;lt;200801                               &amp;gt;║&lt;br /&gt;
╚═══════════════════════════════════════╝&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which account do you want? PRESS ESC (or Enter+Esc)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
╔═════════════════════════════════════════╗&lt;br /&gt;
║       Which account do you want ?       ║&lt;br /&gt;
║                                         ║&lt;br /&gt;
║    Give the account number or name,     ║&lt;br /&gt;
║     or press [Enter] if not known.      ║&lt;br /&gt;
║ (separate multiple entries with spaces) ║&lt;br /&gt;
║&amp;lt;                                       &amp;gt;║&lt;br /&gt;
╚═════════════════════════════════════════╝&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Add it? ... Choose &amp;quot;Yes to All&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
╔═══════════════════════════╗&lt;br /&gt;
║  Missing from O/I index   ║&lt;br /&gt;
║      Add it? (1.1KB)      ║&lt;br /&gt;
║───┬───────────────────────║&lt;br /&gt;
║  1│Yes                    ║&lt;br /&gt;
║  2│No                     ║&lt;br /&gt;
║  3&amp;gt;Yes to all &amp;lt;-THIS ONE  ║&lt;br /&gt;
║  4│No to all              ║&lt;br /&gt;
║  5│Yes to all *HAEX*FZ    ║&lt;br /&gt;
║  6│No to all *HAEX*FZ     ║&lt;br /&gt;
╚═══════════════════════════╝&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4. Check for cross check balances ===&lt;br /&gt;
&lt;br /&gt;
Print ***ALL*** open item ledger accounts to check for any additional cross check balances in open item accounts.&lt;br /&gt;
&lt;br /&gt;
If you have any ADDITIONAL cross check balances compared to those recorded in step 1, then you can rerun step 3 and &amp;quot;check back&amp;quot; a little earlier. Try one year earlier at a time - to avoid the problem of reinstating &amp;quot;ancient corrupt vouchers&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Upgrading_NEOSYS&amp;diff=729</id>
		<title>Upgrading NEOSYS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Upgrading_NEOSYS&amp;diff=729"/>
		<updated>2011-08-29T13:30:18Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Small Installations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Upgrading NEOSYS fully ==&lt;br /&gt;
&lt;br /&gt;
=== Backing up prior to upgrading ===&lt;br /&gt;
&lt;br /&gt;
THIS WHOLE BACKUP PROCEDURE IS MANDATORY&lt;br /&gt;
&lt;br /&gt;
Make sure that all NEOSYS processes are closed before you do any folder copying.&lt;br /&gt;
&lt;br /&gt;
==== Small Installations ====&lt;br /&gt;
&lt;br /&gt;
Take a normal proper backup using the NEOSYS Support Menu - for all live databases if there is more than one. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a USB change was made by the client&#039;s IT person prior to doing this manual backup, ensure that after the upgrade is done, the backup file for that manual backup is moved to another location (preferably in a new folder on the D drive)so that the clients backup cycle is not affected by the existence of a days backup in the USB before the cycle actually begins the following morning. &lt;br /&gt;
&lt;br /&gt;
Take a copy of the whole of the D:\NEOSYS folder (or where-ever NEOSYS is installed) into another folder. You can omit the D:\NEOSYS\IMAGES and D:\NEOSYS\LOGS folders from the copy to save time.&lt;br /&gt;
&lt;br /&gt;
Preferably place the copy on another disk or partition so that it is not included in any whole disk backup that might be running in parallel to NEOSYS backup.&lt;br /&gt;
&lt;br /&gt;
==== Large Installations ====&lt;br /&gt;
&lt;br /&gt;
Copying the whole of the D:\NEOSYS folder can take so much time as to be virtually impossible. In this case do the upgrade EARLY IN THE MORNING since all the data will have been backed up the previous night. The NEOSYS nightly backup only backs up data, so you MUST manually take copies of the following folders which contain the current version of the programs that are going to be upgraded.&lt;br /&gt;
&lt;br /&gt;
#D:\NEOSYS\NEOSYS&lt;br /&gt;
#D:\NEOSYS\NEOSYS.NET&lt;br /&gt;
#D:\NEOSYS\NEOSYS.MAC or  D:\NEOSYS\NEOSYS.W3C&lt;br /&gt;
&lt;br /&gt;
=== Downloading ===&lt;br /&gt;
&lt;br /&gt;
Get the latest version of NEOSYS&lt;br /&gt;
&lt;br /&gt;
Download http://www.neosys.com/support/neosys2.exe in NEOSYS\downloads folder and rename it to neosys2-(DATE).exe (eg neosys2-10th November 2009.exe) - this is to keep track of the various downloads we do for the client and also allows to install a previous version if needed.&lt;br /&gt;
&lt;br /&gt;
Next run it.&lt;br /&gt;
&lt;br /&gt;
=== Downloading previous versions of NEOSYS ===&lt;br /&gt;
&lt;br /&gt;
The 9 previous versions of neosys are stored at:&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys21.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys22.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys23.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys24.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys25.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys26.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys27.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys28.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys29.exe&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Closing NEOSYS processes should happen automatically during upgrade but you can also do it manually as follows:&lt;br /&gt;
&lt;br /&gt;
[[Closing NEOSYS services]]&lt;br /&gt;
&lt;br /&gt;
The installation procedure first creates a GLOBAL.END file in the NEOSYS programs folder causing all serving processes to terminate. Maintenance processes must be terminated manually.&lt;br /&gt;
&lt;br /&gt;
Next, the installation procedure attempts to update the WAITING.EXE file and, if the processes haven’t terminated quickly enough, this will fail asking for retry or abort. Retry immediately or once all the processes have terminated.&lt;br /&gt;
&lt;br /&gt;
The last step of the installation procedure is to delete the GLOBAL.END file to allow processes to start normally.&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
If you choose to abort the installation for any reason then the GLOBAL.END file will have to be deleted manually since its presence prevents any processes from starting up.&lt;br /&gt;
&lt;br /&gt;
=== Post installation steps ===&lt;br /&gt;
&lt;br /&gt;
New versions of the software sometimes perform quick or long database conversions.&lt;br /&gt;
&lt;br /&gt;
Starting NEOSYS in maintenance mode immediately after upgrading leaves you more in control if anything goes wrong.&lt;br /&gt;
&lt;br /&gt;
It not necessary to use the maintenance mode to start-up once after upgrading and before starting an automatic neosys process.&lt;br /&gt;
&lt;br /&gt;
== Upgrading NEOSYS with patch files ==&lt;br /&gt;
&lt;br /&gt;
Patch files can be used to update a very recent installation of neosys without doing a full install and without getting people out of NEOSYS.&lt;br /&gt;
&lt;br /&gt;
If in doubt do a full install.&lt;br /&gt;
&lt;br /&gt;
#Copy the file which is probably something like ADAGENCY.1 or ACCOUNTS.1 to the neosys\neosys folder&lt;br /&gt;
#F5&lt;br /&gt;
#INSTALL ADAGENCY&lt;br /&gt;
#Follow instructions&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Technical_/_Hardware_requirements&amp;diff=725</id>
		<title>Technical / Hardware requirements</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Technical_/_Hardware_requirements&amp;diff=725"/>
		<updated>2011-08-01T13:46:24Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Hardware requirements ===&lt;br /&gt;
# Entry level server dedicated to NEOSYS&lt;br /&gt;
# 1 GB RAM &lt;br /&gt;
# 80 GB HDD &lt;br /&gt;
# No RAID&lt;br /&gt;
&lt;br /&gt;
=== Software requirements ===&lt;br /&gt;
# Windows 2003 or 2008 Standard Edition 32bit (not 64bit)&lt;br /&gt;
# Configured with two partitions on the hard disk (C &amp;amp; D)&lt;br /&gt;
# Configured as a workgroup and not as part of a domain&lt;br /&gt;
# No roles assigned for the server (eg DNS or DHCP or FILE SERVER)&lt;br /&gt;
# All service packs and updates applied (except no IE7 &amp;amp; IE8 incase of Windows 2003)&lt;br /&gt;
# No Anti-Virus or any other program loaded&lt;br /&gt;
# Copy the Windows CD or i386 folder to the C Drive&lt;br /&gt;
# Configured with an internal static IP (ie dynamic IP delivered by DHCP is not allowed)&lt;br /&gt;
&lt;br /&gt;
=== Backup requirements ===&lt;br /&gt;
# 3 x 4 GB USB drives for backup&lt;br /&gt;
# Someone to change the USB drives on a scheduled basis (weekly or daily)&lt;br /&gt;
&lt;br /&gt;
=== Router requirements ===&lt;br /&gt;
# Username and password for the router / or someone who can configure port forwarding / virtual server configuration for SSH on port 19580.&lt;br /&gt;
# Outgoing access to the internet on port 2500 OR access to send email via an internal email server.&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=724</id>
		<title>Procedures</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=724"/>
		<updated>2011-07-25T13:31:39Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Cutting and Pasting NEOSYS Maintenance Mode Messages into Wiki */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are procedures to be followed by Support Staff in respect to various technical matters in day to day operations of client issues.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Support Policies ==&lt;br /&gt;
In order to maintain good payment speed by clients NEOSYS needs to restrict support to clients that dont pay their bills on time, however the degree of restriction needs to depend on an intimate knowledge of the client which cannot be expected from all NEOSYS support staff. Therefore we will use a simple escalation policy as follows:&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT MANAGERS WILL maintain an overdue/stop list on a whiteboard visible to all support staff. Generally clients will go on the list when their invoice is seven days overdue and come off only after satisfactory commitment to pay have been obtained.&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT STAFF WILL discretely refer any calls for support from client on the overdue/stop list to support managers for handling.&lt;br /&gt;
&lt;br /&gt;
This policy excludes:&lt;br /&gt;
# Contacting the client to change the USB disk on the scheduled day, in case they haven&#039;t done so by 12 pm&lt;br /&gt;
# Contacting the client or if the client contacts support staff regarding backup failures and to take measures to fix these failures&lt;br /&gt;
&lt;br /&gt;
== Client Password Policy ==&lt;br /&gt;
All client user passwords, including their initial one, are to be obtained via the user&#039;s email address using the password reminder/reset button on the login screen.&lt;br /&gt;
&lt;br /&gt;
NEOSYS staff should never know users passwords therefore NEOSYS will not obtain and grant user passwords.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from ordinary client users ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords will be forwarded to known skilled users on the client staff since this is the most efficient (not fastest) way to handle such issues.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from senior client management ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords by senior client management users shall be handled directly by NEOSYS support staff in any way convenient to resolve the issue in the quickest possible time rather than the most efficient.&lt;br /&gt;
&lt;br /&gt;
Bearing in mind that NEOSYS staff should never know user&#039;s passwords this will probably involve NEOSYS staff using the Password Reminder/Reset button to send a new password to the user.&lt;br /&gt;
&lt;br /&gt;
=== User Defined Passwords ===&lt;br /&gt;
NEOSYS will provide user defined passwords in very special cases which must be pre-approved case by case by NEOSYS management. For many reasons, NEOSYS will not approve.&lt;br /&gt;
&lt;br /&gt;
Currently this permission has only been granted to one NEOSYS client with several hundred of databases.&lt;br /&gt;
&lt;br /&gt;
== Handling client issues ==&lt;br /&gt;
=== Handling error messages ===&lt;br /&gt;
#The very first step is understanding client problem.&lt;br /&gt;
#Ask the client what error does he gets on the screen.&lt;br /&gt;
#If error seems to be familiar then resolve it over the phone.&lt;br /&gt;
#If error is unknown then ask user to send a screenshot of the error displayed along with the options used (basically you need to know HOW to replicate the error)&lt;br /&gt;
#Upon receipt of the error, check in all the wikis for a solution.&lt;br /&gt;
#If the issue is unknown or you don’t understand it clearly ask the user then use remote support to gain access to the users desktop to view how to replicate the error. &lt;br /&gt;
&lt;br /&gt;
If it is new issue then report by escalation the same issue to your manager with a brief explanation.&lt;br /&gt;
&lt;br /&gt;
=== Handling problems with report totals ===&lt;br /&gt;
Questions with regards to report totals should not be escalated to the programmers without following this procedure. If the total can be be broken down into items (as they nearly always can be in NEOSYS) then only a problem where the items dont add up to a total should be escalated, since that would be a system error.&lt;br /&gt;
&lt;br /&gt;
== Backup Procedures ==&lt;br /&gt;
=== Preparing daily backup report ===&lt;br /&gt;
# Note the success, failure and other error of the clients backup mail in an excel sheet and forward the same to your manager.&lt;br /&gt;
# If there is a backup failure or backup is not available, check wiki to take necessary steps.&lt;br /&gt;
# If there is any unknown error, forward the same to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Updating Nagios incase of failures ===&lt;br /&gt;
# If the backup failure is unsolved, schedule downtime Neosys service in Nagios till 01 am.&lt;br /&gt;
# If the backup did not happen because of server down. Call the IT person; ask him to re-boot the server and check wiki to do necessary step ahead and schedule downtime to Nagios for 2hours.&lt;br /&gt;
# If there is an error &amp;quot;Backup-&amp;gt;Impossible&amp;quot; on Nagios check wiki and schedule downtime to Nagios for 2hours.&lt;br /&gt;
&lt;br /&gt;
=== Interchange backup USB mail reminder ===&lt;br /&gt;
# Basically all the clients have different days to change their backup USB. All the notification can be seen on Nagios at 12.00 pm every day.&lt;br /&gt;
# When you see the change backup notification on Nagios at 12.00 pm, send a mail to the IT person or the person who changes the USB. As you send the mail schedule downtime for Neosys services for two hours.&lt;br /&gt;
# Check the Nagios at 2.00 pm if the backup USB is changed, don&#039;t send another mail and stop there. But if backup is still not yet changed, send a another mail and this time cc the mail to your manager. After sending the mail, schedule downtime for Neosys service for more two hours.&lt;br /&gt;
# Now at 4.00 pm if you still find the backup USB not changed. Call the IT person and ask him to change the USB ASAP and schedule downtime for Neosys services for one hour.&lt;br /&gt;
# Now at 5.00 pm check Nagios and see if the backup USB is changed and if not changed. Send the mail to everyone from the backup mail.&lt;br /&gt;
# If the backup is still not changed, escalate the issue to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Finding out which USB is inserted into the server ===&lt;br /&gt;
As we ask the client to have 3 USB&#039;s and interchange them weekly, we also need to sometimes track which one of these 3 USB&#039;s are inserted into the server. USB&#039;s can be tracked using their volume serial number in most cases. To find this out either go to the command prompt and type VOL or in the nightly backup message check for the 2nd line (which looks like this - 14/12/2009 2:45pm Media: 705B-5B5F). However serial numbers can be the same even for different USB&#039;s.&lt;br /&gt;
&lt;br /&gt;
== Client relocating operations to a new premises == &lt;br /&gt;
&lt;br /&gt;
Ensure that the following procedure is followed by the clients IT staff prior to relocation:&lt;br /&gt;
&lt;br /&gt;
# Login to the NEOSYS server and shut down all the processes by hitting the ESC button on each of the window three times or until they close&lt;br /&gt;
# Take a backup of the D drive on another system or network / external drive&lt;br /&gt;
# Remove the USB plugged in and secure the same along with the other two USB’s in a safe location&lt;br /&gt;
# The NEOSYS server may now be shutdown and moved to the new premises&lt;br /&gt;
&lt;br /&gt;
Post relocation, the clients IT staff must ensure the following immediately:&lt;br /&gt;
&lt;br /&gt;
# Connect the server to the local network and complete all setup required for users to be able to access the system internally&lt;br /&gt;
# Configure the firewall and/or port settings to enable NEOSYS support staff to connect to the server externally &lt;br /&gt;
# Provide NEOSYS support with the new fixed IP address so that the connection can be tested.&lt;br /&gt;
&lt;br /&gt;
== Creating and Handling passwords ==&lt;br /&gt;
Passwords made out of a pass phrase should be at least 10 characters since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts.&lt;br /&gt;
&lt;br /&gt;
=== Creating a password ===&lt;br /&gt;
Passwords are generated from a pass phrase and it is important to create a very difficult to guess pass phrase.&lt;br /&gt;
&lt;br /&gt;
For example, a good pass phrase would be: &#039;&#039;&#039;Today is a good day and it is the best time to go for a holiday&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The password for this would be &#039;&#039;&#039;Tiagdaiitbt2g4ah&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The important instructions for the above are:&lt;br /&gt;
#You have to take the first letter of each word and that makes your password (i.e. by using initials)&lt;br /&gt;
#Wherever any word starts with a capital, then you have to take first letter as a capital (eg. For Today you will take T)&lt;br /&gt;
#Replace &#039;&#039;&#039;and&#039;&#039;&#039; with &#039;&#039;&#039;&amp;amp;&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;to&#039;&#039;&#039; with &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;for&#039;&#039;&#039; with &#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Handling passwords ===&lt;br /&gt;
#Never send the actual password - always send the pass phrase&lt;br /&gt;
#Make sure that the password created out of the pass phrase is at least 10 characters long since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts&lt;br /&gt;
#Pass phrases are never to be sent by email, whatever the case maybe.&lt;br /&gt;
#Pass phrases can be sent by chat - however they have to be broken down in two parts and sent separately over two different messengers or if you are using Gtalk then use the &#039;off the record&#039; mode.&lt;br /&gt;
#Using SMS to send pass phrases is the best known way as of now.&lt;br /&gt;
#If you save the passwords on your system as a file, make sure the file is encrypted with a master password.&lt;br /&gt;
&lt;br /&gt;
==[[NEOSYS Maintenance Window]]==&lt;br /&gt;
&lt;br /&gt;
==Switching to a backup server==&lt;br /&gt;
&lt;br /&gt;
As NEOSYS provides clients with option of backing up their data to a remote NEOSYS server in case of emergencies or server problems, it is crucial you understand the below procedure on how to switch to a backup server in the event of such a situation. Extreme care must be taken when switching over to using a backup server otherwise unnecessary data loss is very likely.&lt;br /&gt;
&lt;br /&gt;
Backup servers are normally switched off and should not be started automatically otherwise there is a serious risk of the client’s staff working on two systems. It is not possible to merge two databases into one database. Before the backup server is enabled the main server must be disabled, and before the main server is re-enabled, the backup  server must be disabled again. This can be managed technically without requiring any decision from senior non-technical staff.&lt;br /&gt;
&lt;br /&gt;
However, there are also some potentially hard decisions about unavoidable loss of data versus continued system availability. *** Backup servers should therefore only be started with the written approval of the clients senior staff. A suitable email requesting approval follows.&lt;br /&gt;
&lt;br /&gt;
The following case assumes that the main server has gone down sometime during the working day and that therefore the data on the backup server is out of date. Allowing them to use the backup server therefore implies some loss of data. They may wish to lose the data. They may wish to work on the backup server data and then try to redo the work on the main server once it is restored. There are a variety of options depending on the situation.&lt;br /&gt;
&lt;br /&gt;
If the main server is still functioning AND you are reasonably sure that the database is not damaged (which is perhaps an unlikely situation if you need to use the backup server!), it may be sensible to trigger an additional “backup/sync” process to bring the backup server database up to date with the main server. Before you do this, it is advisable that you take a backup copy of the backup system on the backup  server. In this case there would be no data loss in using the backup.&lt;br /&gt;
&lt;br /&gt;
An additional option of providing usage of the backup server in read-only mode so that people can at least access some data is being developed. The backup server could be available continuously at any time in read-only mode. This article would then be related to switching a backup server into main operational mode.&lt;br /&gt;
&lt;br /&gt;
 Dear {senior staff} cc {IT staff}&lt;br /&gt;
 &lt;br /&gt;
 Please note that we can enable the backup server if you wish.&lt;br /&gt;
 &lt;br /&gt;
 However the data on the backup server is out of date since it is a copy of your main database as at 11/22/33 99:99.&lt;br /&gt;
 &lt;br /&gt;
 If you wish to allow work to be done on the backup server then any data entered on your main server since the above date will be lost if we &lt;br /&gt;
 subsequently copy the data on the backup server to the main server.&lt;br /&gt;
 &lt;br /&gt;
 If, after using the backup server, we do NOT copy the data on the back server to the main server then any data you have entered on the backup &lt;br /&gt;
 server/database will be lost.&lt;br /&gt;
 &lt;br /&gt;
 Please confirm a) you want to work on HOSTS2 database and that we should therefore enable it and b) you have disconnected your main server &lt;br /&gt;
 for the duration.&lt;br /&gt;
 &lt;br /&gt;
 Best Regards,&lt;br /&gt;
 xxxxxx xxxxxxx&lt;br /&gt;
 NEOSYS Support&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description of Backup Procedure for the NEOSYS Client Hosting Server ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS backup is a two phase process. It is mandatory that both phases are complete for the process to be considered a backup.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the main NEOSYS server host(Schuberg Philis in Amsterdam as of Dec 2010)&amp;lt;br&amp;gt;Every night, the NEOSYS process for selected databases stops serving users at around 1:00 AM to 5:00 AM (local time of the client&#039;s main office) and performs the following procedure: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; - All the database files are checked for physical corruption.&amp;lt;br&amp;gt; - All the database files are zipped into a file who&#039;s path would be something like C:\DATA.BAK\CLIENTX\MONDAY\BACKUP.ZIP file.&amp;lt;br&amp;gt; - The file having the same name as that of the corresponding day of the week as last week is overwritten.A &amp;quot;backup alert&amp;quot; email indicating success or failure is sent to senior managers at the client, the client’s IT manager and backups@neosys.com.&amp;lt;br&amp;gt; - An internal log (accessible on each database&#039;s Support Menu) is maintained as a record and in case the emails cannot be sent out for some reason.&amp;lt;br&amp;gt; - NEOSYS support staff in Dubai check the emails every morning Sunday through Thursday.&amp;lt;br&amp;gt; - In the case of failure, NEOSYS support staff in Dubai take appropriate action and send an email (to the same people who receive the automated backup alert emails) indicating what action has been taken.&amp;lt;br&amp;gt; - The above does not by itself constitute a proper backup because the backup is stored on the same server and physical disk as the actual data.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the NEOSYS backup server host (in NEOSYS Dubai Office as of Dec 2010 but could be changed without notice to EvoSwitch in Amsterdam).&amp;lt;br&amp;gt; - At around 02:00-02:30 AM GMT daily, NEOSYS&#039;s backup server copies (replicates) all the BACKUP.ZIP files from the main NEOSYS server host to itself.&amp;lt;br&amp;gt; - An email indicating success or failure is sent to NEOSYS support staff (only) who deal with it in a similar way to phase 1, except that only NEOSYS management are updated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cutting and Pasting NEOSYS Maintenance Mode Messages into Wiki ==&lt;br /&gt;
&lt;br /&gt;
Error messages expressed as images are not searchable.&lt;br /&gt;
&lt;br /&gt;
Therefore SELECT THE TEXT OF MAINTENANCE MODE WINDOWS using right click on window heading, Edit, Mark, Copy .. not graphical copy.&lt;br /&gt;
 &lt;br /&gt;
Then paste the text into wiki and surround with &amp;quot;&amp;lt; pre&amp;gt;&amp;quot; and &amp;quot;&amp;lt; /pre&amp;gt;&amp;quot; tags (without the space) as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:loginmessage.jpg]]&lt;br /&gt;
&lt;br /&gt;
the result is searchable text as follows ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
╔════════════════════════════╗&lt;br /&gt;
║      NEOSYS SECURITY       ║&lt;br /&gt;
║    What is your name ?     ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║   [                    ]   ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║  Please enter your name,   ║&lt;br /&gt;
║   or press Esc to exit.    ║&lt;br /&gt;
╚════════════════════════════╝&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Loginmessage.jpg&amp;diff=723</id>
		<title>File:Loginmessage.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Loginmessage.jpg&amp;diff=723"/>
		<updated>2011-07-25T13:28:29Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=722</id>
		<title>Procedures</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=722"/>
		<updated>2011-07-25T11:20:16Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are procedures to be followed by Support Staff in respect to various technical matters in day to day operations of client issues.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Support Policies ==&lt;br /&gt;
In order to maintain good payment speed by clients NEOSYS needs to restrict support to clients that dont pay their bills on time, however the degree of restriction needs to depend on an intimate knowledge of the client which cannot be expected from all NEOSYS support staff. Therefore we will use a simple escalation policy as follows:&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT MANAGERS WILL maintain an overdue/stop list on a whiteboard visible to all support staff. Generally clients will go on the list when their invoice is seven days overdue and come off only after satisfactory commitment to pay have been obtained.&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT STAFF WILL discretely refer any calls for support from client on the overdue/stop list to support managers for handling.&lt;br /&gt;
&lt;br /&gt;
This policy excludes:&lt;br /&gt;
# Contacting the client to change the USB disk on the scheduled day, in case they haven&#039;t done so by 12 pm&lt;br /&gt;
# Contacting the client or if the client contacts support staff regarding backup failures and to take measures to fix these failures&lt;br /&gt;
&lt;br /&gt;
== Client Password Policy ==&lt;br /&gt;
All client user passwords, including their initial one, are to be obtained via the user&#039;s email address using the password reminder/reset button on the login screen.&lt;br /&gt;
&lt;br /&gt;
NEOSYS staff should never know users passwords therefore NEOSYS will not obtain and grant user passwords.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from ordinary client users ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords will be forwarded to known skilled users on the client staff since this is the most efficient (not fastest) way to handle such issues.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from senior client management ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords by senior client management users shall be handled directly by NEOSYS support staff in any way convenient to resolve the issue in the quickest possible time rather than the most efficient.&lt;br /&gt;
&lt;br /&gt;
Bearing in mind that NEOSYS staff should never know user&#039;s passwords this will probably involve NEOSYS staff using the Password Reminder/Reset button to send a new password to the user.&lt;br /&gt;
&lt;br /&gt;
=== User Defined Passwords ===&lt;br /&gt;
NEOSYS will provide user defined passwords in very special cases which must be pre-approved case by case by NEOSYS management. For many reasons, NEOSYS will not approve.&lt;br /&gt;
&lt;br /&gt;
Currently this permission has only been granted to one NEOSYS client with several hundred of databases.&lt;br /&gt;
&lt;br /&gt;
== Handling client issues ==&lt;br /&gt;
=== Handling error messages ===&lt;br /&gt;
#The very first step is understanding client problem.&lt;br /&gt;
#Ask the client what error does he gets on the screen.&lt;br /&gt;
#If error seems to be familiar then resolve it over the phone.&lt;br /&gt;
#If error is unknown then ask user to send a screenshot of the error displayed along with the options used (basically you need to know HOW to replicate the error)&lt;br /&gt;
#Upon receipt of the error, check in all the wikis for a solution.&lt;br /&gt;
#If the issue is unknown or you don’t understand it clearly ask the user then use remote support to gain access to the users desktop to view how to replicate the error. &lt;br /&gt;
&lt;br /&gt;
If it is new issue then report by escalation the same issue to your manager with a brief explanation.&lt;br /&gt;
&lt;br /&gt;
=== Handling problems with report totals ===&lt;br /&gt;
Questions with regards to report totals should not be escalated to the programmers without following this procedure. If the total can be be broken down into items (as they nearly always can be in NEOSYS) then only a problem where the items dont add up to a total should be escalated, since that would be a system error.&lt;br /&gt;
&lt;br /&gt;
== Backup Procedures ==&lt;br /&gt;
=== Preparing daily backup report ===&lt;br /&gt;
# Note the success, failure and other error of the clients backup mail in an excel sheet and forward the same to your manager.&lt;br /&gt;
# If there is a backup failure or backup is not available, check wiki to take necessary steps.&lt;br /&gt;
# If there is any unknown error, forward the same to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Updating Nagios incase of failures ===&lt;br /&gt;
# If the backup failure is unsolved, schedule downtime Neosys service in Nagios till 01 am.&lt;br /&gt;
# If the backup did not happen because of server down. Call the IT person; ask him to re-boot the server and check wiki to do necessary step ahead and schedule downtime to Nagios for 2hours.&lt;br /&gt;
# If there is an error &amp;quot;Backup-&amp;gt;Impossible&amp;quot; on Nagios check wiki and schedule downtime to Nagios for 2hours.&lt;br /&gt;
&lt;br /&gt;
=== Interchange backup USB mail reminder ===&lt;br /&gt;
# Basically all the clients have different days to change their backup USB. All the notification can be seen on Nagios at 12.00 pm every day.&lt;br /&gt;
# When you see the change backup notification on Nagios at 12.00 pm, send a mail to the IT person or the person who changes the USB. As you send the mail schedule downtime for Neosys services for two hours.&lt;br /&gt;
# Check the Nagios at 2.00 pm if the backup USB is changed, don&#039;t send another mail and stop there. But if backup is still not yet changed, send a another mail and this time cc the mail to your manager. After sending the mail, schedule downtime for Neosys service for more two hours.&lt;br /&gt;
# Now at 4.00 pm if you still find the backup USB not changed. Call the IT person and ask him to change the USB ASAP and schedule downtime for Neosys services for one hour.&lt;br /&gt;
# Now at 5.00 pm check Nagios and see if the backup USB is changed and if not changed. Send the mail to everyone from the backup mail.&lt;br /&gt;
# If the backup is still not changed, escalate the issue to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Finding out which USB is inserted into the server ===&lt;br /&gt;
As we ask the client to have 3 USB&#039;s and interchange them weekly, we also need to sometimes track which one of these 3 USB&#039;s are inserted into the server. USB&#039;s can be tracked using their volume serial number in most cases. To find this out either go to the command prompt and type VOL or in the nightly backup message check for the 2nd line (which looks like this - 14/12/2009 2:45pm Media: 705B-5B5F). However serial numbers can be the same even for different USB&#039;s.&lt;br /&gt;
&lt;br /&gt;
== Client relocating operations to a new premises == &lt;br /&gt;
&lt;br /&gt;
Ensure that the following procedure is followed by the clients IT staff prior to relocation:&lt;br /&gt;
&lt;br /&gt;
# Login to the NEOSYS server and shut down all the processes by hitting the ESC button on each of the window three times or until they close&lt;br /&gt;
# Take a backup of the D drive on another system or network / external drive&lt;br /&gt;
# Remove the USB plugged in and secure the same along with the other two USB’s in a safe location&lt;br /&gt;
# The NEOSYS server may now be shutdown and moved to the new premises&lt;br /&gt;
&lt;br /&gt;
Post relocation, the clients IT staff must ensure the following immediately:&lt;br /&gt;
&lt;br /&gt;
# Connect the server to the local network and complete all setup required for users to be able to access the system internally&lt;br /&gt;
# Configure the firewall and/or port settings to enable NEOSYS support staff to connect to the server externally &lt;br /&gt;
# Provide NEOSYS support with the new fixed IP address so that the connection can be tested.&lt;br /&gt;
&lt;br /&gt;
== Creating and Handling passwords ==&lt;br /&gt;
Passwords made out of a pass phrase should be at least 10 characters since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts.&lt;br /&gt;
&lt;br /&gt;
=== Creating a password ===&lt;br /&gt;
Passwords are generated from a pass phrase and it is important to create a very difficult to guess pass phrase.&lt;br /&gt;
&lt;br /&gt;
For example, a good pass phrase would be: &#039;&#039;&#039;Today is a good day and it is the best time to go for a holiday&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The password for this would be &#039;&#039;&#039;Tiagdaiitbt2g4ah&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The important instructions for the above are:&lt;br /&gt;
#You have to take the first letter of each word and that makes your password (i.e. by using initials)&lt;br /&gt;
#Wherever any word starts with a capital, then you have to take first letter as a capital (eg. For Today you will take T)&lt;br /&gt;
#Replace &#039;&#039;&#039;and&#039;&#039;&#039; with &#039;&#039;&#039;&amp;amp;&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;to&#039;&#039;&#039; with &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;for&#039;&#039;&#039; with &#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Handling passwords ===&lt;br /&gt;
#Never send the actual password - always send the pass phrase&lt;br /&gt;
#Make sure that the password created out of the pass phrase is at least 10 characters long since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts&lt;br /&gt;
#Pass phrases are never to be sent by email, whatever the case maybe.&lt;br /&gt;
#Pass phrases can be sent by chat - however they have to be broken down in two parts and sent separately over two different messengers or if you are using Gtalk then use the &#039;off the record&#039; mode.&lt;br /&gt;
#Using SMS to send pass phrases is the best known way as of now.&lt;br /&gt;
#If you save the passwords on your system as a file, make sure the file is encrypted with a master password.&lt;br /&gt;
&lt;br /&gt;
==[[NEOSYS Maintenance Window]]==&lt;br /&gt;
&lt;br /&gt;
==Switching to a backup server==&lt;br /&gt;
&lt;br /&gt;
As NEOSYS provides clients with option of backing up their data to a remote NEOSYS server in case of emergencies or server problems, it is crucial you understand the below procedure on how to switch to a backup server in the event of such a situation. Extreme care must be taken when switching over to using a backup server otherwise unnecessary data loss is very likely.&lt;br /&gt;
&lt;br /&gt;
Backup servers are normally switched off and should not be started automatically otherwise there is a serious risk of the client’s staff working on two systems. It is not possible to merge two databases into one database. Before the backup server is enabled the main server must be disabled, and before the main server is re-enabled, the backup  server must be disabled again. This can be managed technically without requiring any decision from senior non-technical staff.&lt;br /&gt;
&lt;br /&gt;
However, there are also some potentially hard decisions about unavoidable loss of data versus continued system availability. *** Backup servers should therefore only be started with the written approval of the clients senior staff. A suitable email requesting approval follows.&lt;br /&gt;
&lt;br /&gt;
The following case assumes that the main server has gone down sometime during the working day and that therefore the data on the backup server is out of date. Allowing them to use the backup server therefore implies some loss of data. They may wish to lose the data. They may wish to work on the backup server data and then try to redo the work on the main server once it is restored. There are a variety of options depending on the situation.&lt;br /&gt;
&lt;br /&gt;
If the main server is still functioning AND you are reasonably sure that the database is not damaged (which is perhaps an unlikely situation if you need to use the backup server!), it may be sensible to trigger an additional “backup/sync” process to bring the backup server database up to date with the main server. Before you do this, it is advisable that you take a backup copy of the backup system on the backup  server. In this case there would be no data loss in using the backup.&lt;br /&gt;
&lt;br /&gt;
An additional option of providing usage of the backup server in read-only mode so that people can at least access some data is being developed. The backup server could be available continuously at any time in read-only mode. This article would then be related to switching a backup server into main operational mode.&lt;br /&gt;
&lt;br /&gt;
 Dear {senior staff} cc {IT staff}&lt;br /&gt;
 &lt;br /&gt;
 Please note that we can enable the backup server if you wish.&lt;br /&gt;
 &lt;br /&gt;
 However the data on the backup server is out of date since it is a copy of your main database as at 11/22/33 99:99.&lt;br /&gt;
 &lt;br /&gt;
 If you wish to allow work to be done on the backup server then any data entered on your main server since the above date will be lost if we &lt;br /&gt;
 subsequently copy the data on the backup server to the main server.&lt;br /&gt;
 &lt;br /&gt;
 If, after using the backup server, we do NOT copy the data on the back server to the main server then any data you have entered on the backup &lt;br /&gt;
 server/database will be lost.&lt;br /&gt;
 &lt;br /&gt;
 Please confirm a) you want to work on HOSTS2 database and that we should therefore enable it and b) you have disconnected your main server &lt;br /&gt;
 for the duration.&lt;br /&gt;
 &lt;br /&gt;
 Best Regards,&lt;br /&gt;
 xxxxxx xxxxxxx&lt;br /&gt;
 NEOSYS Support&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description of Backup Procedure for the NEOSYS Client Hosting Server ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS backup is a two phase process. It is mandatory that both phases are complete for the process to be considered a backup.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the main NEOSYS server host(Schuberg Philis in Amsterdam as of Dec 2010)&amp;lt;br&amp;gt;Every night, the NEOSYS process for selected databases stops serving users at around 1:00 AM to 5:00 AM (local time of the client&#039;s main office) and performs the following procedure: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; - All the database files are checked for physical corruption.&amp;lt;br&amp;gt; - All the database files are zipped into a file who&#039;s path would be something like C:\DATA.BAK\CLIENTX\MONDAY\BACKUP.ZIP file.&amp;lt;br&amp;gt; - The file having the same name as that of the corresponding day of the week as last week is overwritten.A &amp;quot;backup alert&amp;quot; email indicating success or failure is sent to senior managers at the client, the client’s IT manager and backups@neosys.com.&amp;lt;br&amp;gt; - An internal log (accessible on each database&#039;s Support Menu) is maintained as a record and in case the emails cannot be sent out for some reason.&amp;lt;br&amp;gt; - NEOSYS support staff in Dubai check the emails every morning Sunday through Thursday.&amp;lt;br&amp;gt; - In the case of failure, NEOSYS support staff in Dubai take appropriate action and send an email (to the same people who receive the automated backup alert emails) indicating what action has been taken.&amp;lt;br&amp;gt; - The above does not by itself constitute a proper backup because the backup is stored on the same server and physical disk as the actual data.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the NEOSYS backup server host (in NEOSYS Dubai Office as of Dec 2010 but could be changed without notice to EvoSwitch in Amsterdam).&amp;lt;br&amp;gt; - At around 02:00-02:30 AM GMT daily, NEOSYS&#039;s backup server copies (replicates) all the BACKUP.ZIP files from the main NEOSYS server host to itself.&amp;lt;br&amp;gt; - An email indicating success or failure is sent to NEOSYS support staff (only) who deal with it in a similar way to phase 1, except that only NEOSYS management are updated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cutting and Pasting NEOSYS Maintenance Mode Messages into Wiki ==&lt;br /&gt;
&lt;br /&gt;
Error messages expressed as images are not searchable.&lt;br /&gt;
&lt;br /&gt;
Therefore SELECT THE TEXT OF MAINTENANCE MODE WINDOWS using right click on window heading, Edit, Copy .. not graphical copy.&lt;br /&gt;
 &lt;br /&gt;
Then cut and paste the text into wiki and surround with &amp;quot;&amp;lt; pre&amp;gt;&amp;quot; and &amp;quot;&amp;lt; /pre&amp;gt;&amp;quot; tags (without the space) as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:loginmessage.jpg]]&lt;br /&gt;
&lt;br /&gt;
the result is searchable text as follows ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
╔════════════════════════════╗&lt;br /&gt;
║      NEOSYS SECURITY       ║&lt;br /&gt;
║    What is your name ?     ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║   [                    ]   ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║  Please enter your name,   ║&lt;br /&gt;
║   or press Esc to exit.    ║&lt;br /&gt;
╚════════════════════════════╝&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=721</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=721"/>
		<updated>2011-07-21T08:07:13Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* 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 some 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 CREATEADS 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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=720</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=720"/>
		<updated>2011-07-21T07:10:55Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* 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 CREATEADS 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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=718</id>
		<title>Configuring IIS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=718"/>
		<updated>2011-07-04T08:19:16Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* 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 linked 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; linked 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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_NEOSYS_Generally&amp;diff=679</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=679"/>
		<updated>2011-05-22T07:33:26Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &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;
== Backup to other media (i.e. not to USB)==&lt;br /&gt;
&lt;br /&gt;
If the backup is going to &#039;&#039;&#039;non-removable media&#039;&#039;&#039; (even if it is a shared folder on another computer) then the NEOSYS user/client/licensee (NOT the NEOSYS support team) can, at their own responsibility, arrange to &#039;&#039;&#039;move&#039;&#039;&#039; (NOT COPY) the NEOSYS backup files from that location to a backup location of their choice and avoid the WARNING message : &amp;quot;Backup media not changed. Overwriting last weeks backup&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Sample alternative response to client requests for additional backups ===&lt;br /&gt;
&lt;br /&gt;
The existing NEOSYS backup must continue to take place for safety because it is the only well understood standard, controlled and checked procedure in use for all NEOSYS clients.&lt;br /&gt;
&lt;br /&gt;
You are free to setup and operate any additional backup procedure you like but NEOSYS cannot take any responsibility in setting up, monitoring or approving your additional backup procedure because it is beyond our sphere of control, expertise and trust.&lt;br /&gt;
&lt;br /&gt;
What you can backup is the NEOSYS backups on the USB drive. These are readily available online at all times on the NEOSYS server for you to access and copy as you choose. &lt;br /&gt;
&lt;br /&gt;
You can backup the usb anytime using anything you like, but you must not backup anything on any hard disk eg: C or D at any time.&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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Moving_NEOSYS&amp;diff=677</id>
		<title>Moving NEOSYS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Moving_NEOSYS&amp;diff=677"/>
		<updated>2011-05-15T07:57:13Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Reinstating live system from backup system and shifting back */&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 from live to backup server and to restore it back, follow the steps mentioned below:&lt;br /&gt;
&lt;br /&gt;
(Note: the following procedure is an example of what was done for Adline Dubai)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before restoring the data from live server to backup server and viceversa, do a manual backup (this will not be required if you are doing this procedure after the nightly backup has taken place; and before the users have logged in) 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-tick automatic backup from the configuration file at adline dubai server.&lt;br /&gt;
# Rename Global.end.temp to Global.end&lt;br /&gt;
# Disable schedule task (Copy adline2adltest &amp;amp; start adlined)&lt;br /&gt;
# Disable 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 &lt;br /&gt;
# 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 mentioned time and save their work.&lt;br /&gt;
 &lt;br /&gt;
If possible co-ordinate with IT guy (or the person responsible) to follow up and make sure that users logout by the decided time. Once all the users are offline, Block all users from accessing 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 complete, go to the configuration file and un-tick the automatic backup from there.&lt;br /&gt;
# Now request the IT guy to unplug the USB from the backup server and plug it into the main server.&lt;br /&gt;
# Before doing a restore read the &#039;&#039;&#039;NOTE&#039;&#039;&#039; that follows very carefully.&lt;br /&gt;
# Now log in to maintenance process and go to &#039;&#039;&#039;General &amp;gt; Backup &amp;amp; Data Management&#039;&#039;&#039;, select &#039;&#039;&#039;Restore from disk or diskette&#039;&#039;&#039; (i.e. option 4), select the backup drive and follow the prompts that follow.&lt;br /&gt;
# Now enable all the tasks that were disabled earlier on the adlined server and then enable the backup.adlined schedule task on adlined2 server.&lt;br /&gt;
&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&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=674</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=674"/>
		<updated>2011-05-05T09:02:37Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Files that are automatically fixed */&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;
== 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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Technical_/_Hardware_requirements&amp;diff=673</id>
		<title>Technical / Hardware requirements</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Technical_/_Hardware_requirements&amp;diff=673"/>
		<updated>2011-04-28T14:06:54Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Router requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Hardware requirements ===&lt;br /&gt;
# Entry level server computer &lt;br /&gt;
# 1 GB RAM &lt;br /&gt;
# 80 GB HDD &lt;br /&gt;
# No RAID&lt;br /&gt;
&lt;br /&gt;
=== Software requirements ===&lt;br /&gt;
# Windows 2003 or 2008 Standard Edition 32bit (not 64bit)&lt;br /&gt;
# Configured with two partitions on the hard disk (C &amp;amp; D)&lt;br /&gt;
# Configured as a workgroup and not as part of a domain&lt;br /&gt;
# No roles assigned for the server (eg DNS or DHCP or FILE SERVER)&lt;br /&gt;
# All service packs and updates applied (except no IE7 &amp;amp; IE8 incase of Windows 2003)&lt;br /&gt;
# No Anti-Virus or any other program loaded&lt;br /&gt;
# Copy the Windows CD or I386 folder to the C Drive&lt;br /&gt;
# Configured with an internal static IP (ie dynamic ip delivered by dhcp is not allowed)&lt;br /&gt;
&lt;br /&gt;
For single user installations: (NO LONGER SUPPORTED FROM JAN 2011)&lt;br /&gt;
&lt;br /&gt;
#Windows XP Professional 32bit&lt;br /&gt;
#Windows 7 Ultimate 32bit&lt;br /&gt;
#Windows 7 Professional 32bit&lt;br /&gt;
&lt;br /&gt;
=== Backup requirements ===&lt;br /&gt;
# 3 x 4 GB USB drives for backup&lt;br /&gt;
&lt;br /&gt;
=== Router requirements ===&lt;br /&gt;
# Username and password for the router / or someone who can configure port forwarding / virtual server configuration.&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=672</id>
		<title>Procedures</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=672"/>
		<updated>2011-04-10T06:50:52Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are procedures to be followed by Support Staff in respect to various technical matters in day to day operations of client issues.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Support Policies ==&lt;br /&gt;
In order to maintain good payment speed by clients NEOSYS needs to restrict support to clients that dont pay their bills on time, however the degree of restriction needs to depend on an intimate knowledge of the client which cannot be expected from all NEOSYS support staff. Therefore we will use a simple escalation policy as follows:&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT MANAGERS WILL maintain an overdue/stop list on a whiteboard visible to all support staff. Generally clients will go on the list when their invoice is seven days overdue and come off only after satisfactory commitment to pay have been obtained.&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT STAFF WILL discretely refer any calls for support from client on the overdue/stop list to support managers for handling.&lt;br /&gt;
&lt;br /&gt;
This policy excludes:&lt;br /&gt;
# Contacting the client to change the USB disk on the scheduled day, in case they haven&#039;t done so by 12 pm&lt;br /&gt;
# Contacting the client or if the client contacts support staff regarding backup failures and to take measures to fix these failures&lt;br /&gt;
&lt;br /&gt;
== Client Password Policy ==&lt;br /&gt;
All client user passwords, including their initial one, are to be obtained via the user&#039;s email address using the password reminder/reset button on the login screen.&lt;br /&gt;
&lt;br /&gt;
NEOSYS staff should never know users passwords therefore NEOSYS will not obtain and grant user passwords.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from ordinary client users ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords will be forwarded to known skilled users on the client staff since this is the most efficient (not fastest) way to handle such issues.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from senior client management ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords by senior client management users shall be handled directly by NEOSYS support staff in any way convenient to resolve the issue in the quickest possible time rather than the most efficient.&lt;br /&gt;
&lt;br /&gt;
Bearing in mind that NEOSYS staff should never know user&#039;s passwords this will probably involve NEOSYS staff using the Password Reminder/Reset button to send a new password to the user.&lt;br /&gt;
&lt;br /&gt;
=== User Defined Passwords ===&lt;br /&gt;
NEOSYS will provide user defined passwords in very special cases which must be pre-approved case by case by NEOSYS management. For many reasons, NEOSYS will not approve.&lt;br /&gt;
&lt;br /&gt;
Currently this permission has only been granted to one NEOSYS client with several hundred of databases.&lt;br /&gt;
&lt;br /&gt;
== Handling client issues ==&lt;br /&gt;
=== Handling error messages ===&lt;br /&gt;
#The very first step is understanding client problem.&lt;br /&gt;
#Ask the client what error does he gets on the screen.&lt;br /&gt;
#If error seems to be familiar then resolve it over the phone.&lt;br /&gt;
#If error is unknown then ask user to send a screenshot of the error displayed along with the options used (basically you need to know HOW to replicate the error)&lt;br /&gt;
#Upon receipt of the error, check in all the wikis for a solution.&lt;br /&gt;
#If the issue is unknown or you don’t understand it clearly ask the user then use remote support to gain access to the users desktop to view how to replicate the error. &lt;br /&gt;
&lt;br /&gt;
If it is new issue then report by escalation the same issue to your manager with a brief explanation.&lt;br /&gt;
&lt;br /&gt;
=== Handling problems with report totals ===&lt;br /&gt;
Questions with regards to report totals should not be escalated to the programmers without following this procedure. If the total can be be broken down into items (as they nearly always can be in NEOSYS) then only a problem where the items dont add up to a total should be escalated, since that would be a system error.&lt;br /&gt;
&lt;br /&gt;
== Backup Procedures ==&lt;br /&gt;
=== Preparing daily backup report ===&lt;br /&gt;
# Note the success, failure and other error of the clients backup mail in an excel sheet and forward the same to your manager.&lt;br /&gt;
# If there is a backup failure or backup is not available, check wiki to take necessary steps.&lt;br /&gt;
# If there is any unknown error, forward the same to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Updating Nagios incase of failures ===&lt;br /&gt;
# If the backup failure is unsolved, schedule downtime Neosys service in Nagios till 01 am.&lt;br /&gt;
# If the backup did not happen because of server down. Call the IT person; ask him to re-boot the server and check wiki to do necessary step ahead and schedule downtime to Nagios for 2hours.&lt;br /&gt;
# If there is an error &amp;quot;Backup-&amp;gt;Impossible&amp;quot; on Nagios check wiki and schedule downtime to Nagios for 2hours.&lt;br /&gt;
&lt;br /&gt;
=== Interchange backup USB mail reminder ===&lt;br /&gt;
# Basically all the clients have different days to change their backup USB. All the notification can be seen on Nagios at 12.00 pm every day.&lt;br /&gt;
# When you see the change backup notification on Nagios at 12.00 pm, send a mail to the IT person or the person who changes the USB. As you send the mail schedule downtime for Neosys services for two hours.&lt;br /&gt;
# Check the Nagios at 2.00 pm if the backup USB is changed, don&#039;t send another mail and stop there. But if backup is still not yet changed, send a another mail and this time cc the mail to your manager. After sending the mail, schedule downtime for Neosys service for more two hours.&lt;br /&gt;
# Now at 4.00 pm if you still find the backup USB not changed. Call the IT person and ask him to change the USB ASAP and schedule downtime for Neosys services for one hour.&lt;br /&gt;
# Now at 5.00 pm check Nagios and see if the backup USB is changed and if not changed. Send the mail to everyone from the backup mail.&lt;br /&gt;
# If the backup is still not changed, escalate the issue to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Finding out which USB is inserted into the server ===&lt;br /&gt;
As we ask the client to have 3 USB&#039;s and interchange them weekly, we also need to sometimes track which one of these 3 USB&#039;s are inserted into the server. USB&#039;s can be tracked using their volume serial number in most cases. To find this out either go to the command prompt and type VOL or in the nightly backup message check for the 2nd line (which looks like this - 14/12/2009 2:45pm Media: 705B-5B5F). However serial numbers can be the same even for different USB&#039;s.&lt;br /&gt;
&lt;br /&gt;
== Creating and Handling passwords ==&lt;br /&gt;
Passwords made out of a pass phrase should be at least 10 characters since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts.&lt;br /&gt;
&lt;br /&gt;
=== Creating a password ===&lt;br /&gt;
Passwords are generated from a pass phrase and it is important to create a very difficult to guess pass phrase.&lt;br /&gt;
&lt;br /&gt;
For example, a good pass phrase would be: &#039;&#039;&#039;Today is a good day and it is the best time to go for a holiday&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The password for this would be &#039;&#039;&#039;Tiagdaiitbt2g4ah&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The important instructions for the above are:&lt;br /&gt;
#You have to take the first letter of each word and that makes your password (i.e. by using initials)&lt;br /&gt;
#Wherever any word starts with a capital, then you have to take first letter as a capital (eg. For Today you will take T)&lt;br /&gt;
#Replace &#039;&#039;&#039;and&#039;&#039;&#039; with &#039;&#039;&#039;&amp;amp;&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;to&#039;&#039;&#039; with &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;for&#039;&#039;&#039; with &#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Handling passwords ===&lt;br /&gt;
#Never send the actual password - always send the pass phrase&lt;br /&gt;
#Make sure that the password created out of the pass phrase is at least 10 characters long since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts&lt;br /&gt;
#Pass phrases are never to be sent by email, whatever the case maybe.&lt;br /&gt;
#Pass phrases can be sent by chat - however they have to be broken down in two parts and sent separately over two different messengers or if you are using Gtalk then use the &#039;off the record&#039; mode.&lt;br /&gt;
#Using SMS to send pass phrases is the best known way as of now.&lt;br /&gt;
#If you save the passwords on your system as a file, make sure the file is encrypted with a master password.&lt;br /&gt;
&lt;br /&gt;
==[[NEOSYS Maintenance Window]]==&lt;br /&gt;
&lt;br /&gt;
==Switching to a backup server==&lt;br /&gt;
&lt;br /&gt;
As NEOSYS provides clients with option of backing up their data to a remote NEOSYS server in case of emergencies or server problems, it is crucial you understand the below procedure on how to switch to a backup server in the event of such a situation. Extreme care must be taken when switching over to using a backup server otherwise unnecessary data loss is very likely.&lt;br /&gt;
&lt;br /&gt;
Backup servers are normally switched off and should not be started automatically otherwise there is a serious risk of the client’s staff working on two systems. It is not possible to merge two databases into one database. Before the backup server is enabled the main server must be disabled, and before the main server is re-enabled, the backup  server must be disabled again. This can be managed technically without requiring any decision from senior non-technical staff.&lt;br /&gt;
&lt;br /&gt;
However, there are also some potentially hard decisions about unavoidable loss of data versus continued system availability. *** Backup servers should therefore only be started with the written approval of the clients senior staff. A suitable email requesting approval follows.&lt;br /&gt;
&lt;br /&gt;
The following case assumes that the main server has gone down sometime during the working day and that therefore the data on the backup server is out of date. Allowing them to use the backup server therefore implies some loss of data. They may wish to lose the data. They may wish to work on the backup server data and then try to redo the work on the main server once it is restored. There are a variety of options depending on the situation.&lt;br /&gt;
&lt;br /&gt;
If the main server is still functioning AND you are reasonably sure that the database is not damaged (which is perhaps an unlikely situation if you need to use the backup server!), it may be sensible to trigger an additional “backup/sync” process to bring the backup server database up to date with the main server. Before you do this, it is advisable that you take a backup copy of the backup system on the backup  server. In this case there would be no data loss in using the backup.&lt;br /&gt;
&lt;br /&gt;
An additional option of providing usage of the backup server in read-only mode so that people can at least access some data is being developed. The backup server could be available continuously at any time in read-only mode. This article would then be related to switching a backup server into main operational mode.&lt;br /&gt;
&lt;br /&gt;
 Dear {senior staff} cc {IT staff}&lt;br /&gt;
 &lt;br /&gt;
 Please note that we can enable the backup server if you wish.&lt;br /&gt;
 &lt;br /&gt;
 However the data on the backup server is out of date since it is a copy of your main database as at 11/22/33 99:99.&lt;br /&gt;
 &lt;br /&gt;
 If you wish to allow work to be done on the backup server then any data entered on your main server since the above date will be lost if we &lt;br /&gt;
 subsequently copy the data on the backup server to the main server.&lt;br /&gt;
 &lt;br /&gt;
 If, after using the backup server, we do NOT copy the data on the back server to the main server then any data you have entered on the backup &lt;br /&gt;
 server/database will be lost.&lt;br /&gt;
 &lt;br /&gt;
 Please confirm a) you want to work on HOSTS2 database and that we should therefore enable it and b) you have disconnected your main server &lt;br /&gt;
 for the duration.&lt;br /&gt;
 &lt;br /&gt;
 Best Regards,&lt;br /&gt;
 xxxxxx xxxxxxx&lt;br /&gt;
 NEOSYS Support&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description of Backup Procedure for the NEOSYS Client Hosting Server ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS backup is a two phase process. It is mandatory that both phases are complete for the process to be considered a backup.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the main NEOSYS server host(Schuberg Philis in Amsterdam as of Dec 2010)&amp;lt;br&amp;gt;Every night, the NEOSYS process for selected databases stops serving users at around 1:00 AM to 5:00 AM (local time of the client&#039;s main office) and performs the following procedure: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; - All the database files are checked for physical corruption.&amp;lt;br&amp;gt; - All the database files are zipped into a file who&#039;s path would be something like C:\DATA.BAK\CLIENTX\MONDAY\BACKUP.ZIP file.&amp;lt;br&amp;gt; - The file having the same name as that of the corresponding day of the week as last week is overwritten.A &amp;quot;backup alert&amp;quot; email indicating success or failure is sent to senior managers at the client, the client’s IT manager and backups@neosys.com.&amp;lt;br&amp;gt; - An internal log (accessible on each database&#039;s Support Menu) is maintained as a record and in case the emails cannot be sent out for some reason.&amp;lt;br&amp;gt; - NEOSYS support staff in Dubai check the emails every morning Sunday through Thursday.&amp;lt;br&amp;gt; - In the case of failure, NEOSYS support staff in Dubai take appropriate action and send an email (to the same people who receive the automated backup alert emails) indicating what action has been taken.&amp;lt;br&amp;gt; - The above does not by itself constitute a proper backup because the backup is stored on the same server and physical disk as the actual data.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the NEOSYS backup server host (in NEOSYS Dubai Office as of Dec 2010 but could be changed without notice to EvoSwitch in Amsterdam).&amp;lt;br&amp;gt; - At around 02:00-02:30 AM GMT daily, NEOSYS&#039;s backup server copies (replicates) all the BACKUP.ZIP files from the main NEOSYS server host to itself.&amp;lt;br&amp;gt; - An email indicating success or failure is sent to NEOSYS support staff (only) who deal with it in a similar way to phase 1, except that only NEOSYS management are updated.&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Media_System&amp;diff=671</id>
		<title>Troubleshooting NEOSYS Media System</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Media_System&amp;diff=671"/>
		<updated>2011-03-16T12:29:56Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* SOLUTION 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== B703 Errors ==&lt;br /&gt;
&lt;br /&gt;
The B703 error is usually always related to something too big for NEOSYS to handle. &lt;br /&gt;
It occurs when the user puts in too many ads on one schedule without setting up the vehicle to allow the same.&lt;br /&gt;
&lt;br /&gt;
An example of this error is as follows :&lt;br /&gt;
&lt;br /&gt;
 ERROR NO: B703 IN BOOKING.SUBS3 AT 1264&lt;br /&gt;
 Variable exceeds maximum length.0&lt;br /&gt;
&lt;br /&gt;
=== SOLUTION 1 ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; The package solution &amp;lt;/b&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is the simplest solution. The idea is to put the ads as a package of ONE ad and put the gross unit price as the TOTAL price.&amp;lt;br&amp;gt;&lt;br /&gt;
The ONE ad for many ads is great for packages&lt;br /&gt;
&lt;br /&gt;
=== SOLUTION 2 ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; For mass advertising like online &amp;lt;/b&amp;gt; &lt;br /&gt;
&lt;br /&gt;
# Go to the respective vehicle file, and change the “Certification” field to “Summary” and save the file. (Refer Screenshot below)&lt;br /&gt;
# Now, Add a new line to the schedule as the changes made are ONLY reflected on a NEW line. &lt;br /&gt;
# If the schedule was not invoiced, then you may delete the line that was entered earlier by clicking on the delete line button, else click the &amp;quot;CLEAR&amp;quot; button to remove the ads that were entered for that line in the schedule.&lt;br /&gt;
# Re-enter the details on the newly added line in the schedule. i.e. Vehicle code, Specification / loading, dates, etc. &lt;br /&gt;
# Now book the ads on the schedule. &lt;br /&gt;
&lt;br /&gt;
[[File:vehicle-certification1.jpg]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
There are other B703 messages which imply the same problem about too many ads, for eg:&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;ERROR NO: B703 IN UPD.ADS&amp;quot; when saving schedules  &lt;br /&gt;
&lt;br /&gt;
 &amp;quot;ERROR NO: B703 IN PRINTPLANS&amp;quot; when creating invoices.&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;ERROR NO: B703 IN PRINTPLANS6&amp;quot; when printing schedules.&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=670</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=670"/>
		<updated>2011-03-15T13:38:00Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Setting up daily scheduled tasks */&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&lt;br /&gt;
# http://www.neosys.com/support/neosys2.exe	... and install to X:\neosys&lt;br /&gt;
&lt;br /&gt;
=== Creating shortcuts ===&lt;br /&gt;
In x:\neosys, 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;
Next, click on the Maintenance icon, 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. 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 to get one.&lt;br /&gt;
&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;
&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;
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 and 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;
==== 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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Task1.jpg&amp;diff=669</id>
		<title>File:Task1.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Task1.jpg&amp;diff=669"/>
		<updated>2011-03-15T13:37:33Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Copy3.jpg&amp;diff=668</id>
		<title>File:Copy3.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Copy3.jpg&amp;diff=668"/>
		<updated>2011-03-15T13:36:42Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Copy2.jpg&amp;diff=667</id>
		<title>File:Copy2.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Copy2.jpg&amp;diff=667"/>
		<updated>2011-03-15T13:35:10Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Copy1.jpg&amp;diff=666</id>
		<title>File:Copy1.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Copy1.jpg&amp;diff=666"/>
		<updated>2011-03-15T13:33:40Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Start3.jpg&amp;diff=665</id>
		<title>File:Start3.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Start3.jpg&amp;diff=665"/>
		<updated>2011-03-15T13:30:45Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Start2.jpg&amp;diff=664</id>
		<title>File:Start2.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Start2.jpg&amp;diff=664"/>
		<updated>2011-03-15T13:22:00Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Start1.jpg&amp;diff=663</id>
		<title>File:Start1.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Start1.jpg&amp;diff=663"/>
		<updated>2011-03-15T13:21:25Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Finance_System&amp;diff=662</id>
		<title>Troubleshooting NEOSYS Finance System</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Finance_System&amp;diff=662"/>
		<updated>2011-03-10T06:50:09Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Cross-Year Cross Check Balance Warnings ===&lt;br /&gt;
&lt;br /&gt;
When you use Opening Balance Journals, NEOSYS does not guarantee that the opening balances of one year match the closing balance of a prior year. This occurs quite normally and commonly occurs in two situations described below.&lt;br /&gt;
&lt;br /&gt;
Regardless of the cause, in such cases, any statement or ledger account of movements (not open items) that crosses the disjoint years will have a &amp;quot;cross check balance&amp;quot; note at the bottom of the account. A cross check balance warning is just a warning that the closing balance of the account (as calculated from a simple total of the opening balance in the old year plus all transactions) does not agree with the actual account balance according to the trial balance in the new year.&lt;br /&gt;
&lt;br /&gt;
If the opening balance of the account in the second year is not equal to the closing balance in the prior year then logically the two years cannot be viewed as a single continuous account and agree with the trial balance.&lt;br /&gt;
&lt;br /&gt;
==== Producing Historical Accounts ====&lt;br /&gt;
&lt;br /&gt;
When you start up a company in one year using Opening Balance Journals then the closing balances of the prior years remain zero. If you thereafter start to post into prior years, the closing balances of those years will remain in disagreement with the opening balance of the following years.&lt;br /&gt;
&lt;br /&gt;
==== Opening Balance Journals ====&lt;br /&gt;
&lt;br /&gt;
If you post Opening Balance Journals into one year for any reason, they are not posted into prior years. Therefore the opening balances of the amended year become different from the prior year.&lt;br /&gt;
&lt;br /&gt;
In this respect, auditors amendments to opening balances should be posted as normal journals in the final period of the prior year and not as Opening Balance Journals in the current year.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
If you wish to obtain cross-year accounts between years, and you wish such account&#039;s balances to agree with the later year trial balance, then you must arrange for the closing balances of the prior years to agree with the opening balances of the following years.&lt;br /&gt;
&lt;br /&gt;
To do this, ensure that any Opening Balance Journals that are posted into any particular year are also posted into all prior financial years of interest.&lt;br /&gt;
&lt;br /&gt;
=== Editing and Reposting Vouchers ===&lt;br /&gt;
&lt;br /&gt;
WARNING: Can cause effectively irreversible damage to the finance database requiring restoration of a suitable backup causing loss of data and/or total loss of database if backup not available.&lt;br /&gt;
&lt;br /&gt;
It is almost impossible to edit and repost vouchers and keep the audit trail correct so this procedure is of limited use. The stages are UNPOST, EDIT, REPOST.&lt;br /&gt;
&lt;br /&gt;
Must be done on test data and advisable to run CHK.VOUCHERS afterwards.&lt;br /&gt;
&lt;br /&gt;
==== UNPOST ====&lt;br /&gt;
 F5&lt;br /&gt;
 UNPOST XXX*YYYYY*ZZZ&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
*XXX is the voucher type/journal code&lt;br /&gt;
*YYY is the voucher number&lt;br /&gt;
*ZZZ is the company code&lt;br /&gt;
&lt;br /&gt;
Any problems with the voucher might generate messages but the problems will be reverse the problems which must have occurred when posting the voucher in the first place.&lt;br /&gt;
&lt;br /&gt;
==== EDIT ====&lt;br /&gt;
 F5&lt;br /&gt;
 ED VOUCHERS XXX*YYYYY*ZZZ&lt;br /&gt;
&lt;br /&gt;
For example, if due to a neosys system error, the ZZZ999 suspense account has been used instead of some missing internal system accounts like exchange gain/loss accounts then you can insert the correct account.&lt;br /&gt;
&lt;br /&gt;
Change line 8 (which contains the account numbers) from:&lt;br /&gt;
&lt;br /&gt;
 REZO²REZO²BMDI²BMDI²²&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 REZO²REZO²BMDI²BMDI²EXDI²EXDI&lt;br /&gt;
&lt;br /&gt;
where EXDI is the A/c No. of the Exchange Difference A/c.&lt;br /&gt;
&lt;br /&gt;
F9, ESC to save and exit&lt;br /&gt;
&lt;br /&gt;
==== REPOST ====&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 REPOST XXX*YYYYY*ZZZ&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=red&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Using Finance Maintenance Mode fixing tools ===&lt;br /&gt;
Do not do mass fixes eg “Add/Delete ALL xyz” options from a year in the past eg 2007 while only checking accounts for 2009. You must CHECK EVERYTHING THAT YOU REQUEST TO BE FIXED.&lt;br /&gt;
&lt;br /&gt;
The various fixing tools like CHK.ALLOC etc are impossible to make safe in all circumstances so if you don’t really know what you are doing you assume the WORST not the BEST with these fixing tools. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;CHECK EVERYTHING YOU “FIX”!!!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
IF YOU DO NOT FOLLOW INSTRUCTIONS CAREFULLY YOU CAN END UP MODIFYING AUDITED ACCOUNTS AND IT WILL TAKE DAYS FOR PROGRAMMERS TO TRY AND CORRECT THE DAMAGE YOU CAUSE OR EVEN REQUIRE A RESTORE OF A BACKUP CAUSING LOSS OF MANY DAYS WORK TO THE CLIENT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fixing &amp;quot;Cross Check Balance&amp;quot; warnings using CHK.ALLOC ===&lt;br /&gt;
&lt;br /&gt;
Cross Check Balance Message on an account means the total of the outstanding items in an account does not match the balance as in the movement - typically the outstanding shows a higher balance than the balance in the movement, but might not always be the case. The reasons why this may happen is because of the following:&lt;br /&gt;
&lt;br /&gt;
*Reposting journals containing allocated items (which NEOSYS doesnt handle in all circumstances)&lt;br /&gt;
*Failing to clear open item accounts on a regular basis where the number of postings is high&lt;br /&gt;
&lt;br /&gt;
This procedure only applies to CCB on the outstanding item type statements which are the more common problem. CCB on movement accounts are rarer, more serious and cannot be fixed by this procedure.&lt;br /&gt;
&lt;br /&gt;
This might not always fix the CCB warnings and hence you will need to escalate to the programmer.&lt;br /&gt;
&lt;br /&gt;
!!! WARNING This is a dangerous procedure. IF YOU DO NOT FOLLOW INSTRUCTIONS CAREFULLY YOU CAN END UP MODIFYING AUDITED ACCOUNTS AND AUDITORS/ACCOUNTANTS AND IT WILL TAKE DAYS FOR PROGRAMMERS TO TRY AND CORRECT THE DAMAGE YOU CAUSE!&lt;br /&gt;
&lt;br /&gt;
This can be run while other users are online.&lt;br /&gt;
&lt;br /&gt;
DO THIS ON TESTDATA FIRST&lt;br /&gt;
&lt;br /&gt;
This exact procedure restores vouchers missing from open item accounts. This can be caused by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 UTIL (nothing happens at this stage as its a background process and gives you access to the next command)&lt;br /&gt;
 CHK.ALLOC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Minimum voucher year.period?&lt;br /&gt;
&lt;br /&gt;
Generally go back as little as possible to cover vouchers that might be missing from O/I accounts.&lt;br /&gt;
&lt;br /&gt;
 Which account do you want or blank for all?&lt;br /&gt;
&lt;br /&gt;
You MUST press Esc to search for all accounts. Entering one account WILL NOT WORK since it will only check vouchers already on the open item accounts and we are looking for those that are missing.&lt;br /&gt;
&lt;br /&gt;
IGNORE OR RESPOND NEGATIVELY to all messages or questions EXCEPT the following:&lt;br /&gt;
&lt;br /&gt;
 Missing from O/I index?&lt;br /&gt;
&lt;br /&gt;
Select &amp;quot;Yes&amp;quot; or &amp;quot;Yes to all&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== Meaning of other messages ====&lt;br /&gt;
&lt;br /&gt;
The following message pair does not usually cause cross check balances and indicates that they have cancelled some foreign currency allocation since allocation should not cause and change in rate.&lt;br /&gt;
&lt;br /&gt;
 IN*175510*C 20/01/08 ALMA 4/2 REC*4440*C allocation base outstanding -7326.15 expected -6762.60 (-563.550,.08333333)&lt;br /&gt;
 IN*175510*C 20/01/08 ALMA 4/2 REC*4440*C allocation changed exchange rate from .08333333 to .07692308&lt;br /&gt;
&lt;br /&gt;
Following MUST choose &amp;quot;Leave all&amp;quot; otherwise risk damage to closed audited prior year accounts:&lt;br /&gt;
&lt;br /&gt;
 Account numbers do not agree. Delete the allocation?&lt;br /&gt;
&lt;br /&gt;
Following MUST choose &amp;quot;Leave all&amp;quot; otherwise risk damage to closed audited prior year accounts:&lt;br /&gt;
&lt;br /&gt;
 Allocation is missing ?&lt;br /&gt;
&lt;br /&gt;
Choose &amp;quot;Skip further Warnings&amp;quot; for the following message:&lt;br /&gt;
&lt;br /&gt;
 Amounts do not agree - please fix manually&lt;br /&gt;
&lt;br /&gt;
==== Re-enabling CCB warning mail notifications ====&lt;br /&gt;
NEOSYS is pre-configured to send out email notifications (to the same group of people who receive the backup alerts) when a Cross Check Balance (CCB) warning is found for the first time on an account. That means there will be only 1 email notification irrespective of the times the warning occurs until it is fixed.&lt;br /&gt;
&lt;br /&gt;
After the CCB is fixed or after clearing or otherwise eliminating the same, you need to delete the CCB file in D:\neosys\neosys to re-enable NEOSYS to resend notification by email after it discovers CCB warnings on that account again in the future.&lt;br /&gt;
&lt;br /&gt;
=== Fixing &amp;quot;Cross Check Balance&amp;quot; warning using CHK.INDEX ===&lt;br /&gt;
&lt;br /&gt;
YOU MUST READ AND APPLY THE GENERAL INSTRUCTIONS WRITTEN FOR CHK.ALLOC AS WELL FOR CHK.INDEX&lt;br /&gt;
&lt;br /&gt;
This program can fix a few CCB warnings that CHK.ALLOC cannot - including some in balance forward type accounts (ie not open item/outstanding item accounts) .&lt;br /&gt;
&lt;br /&gt;
Not all the possible fixes are described here and any messages which are not described here should be responded to NEGATIVELY!&lt;br /&gt;
&lt;br /&gt;
==== Different account - Delete the index entry?====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  &amp;quot;*MEVEJ*FZ&amp;quot;  L=232 V=REC*461*FZ 05/07/09 B=447 &amp;quot;MEVEJ&amp;quot;&lt;br /&gt;
  different account &amp;quot;ADVOPME&amp;quot;&lt;br /&gt;
                     Delete the index entry?&lt;br /&gt;
───┬─────────────────────────────────────────────────────────────&lt;br /&gt;
  1&amp;gt;No&lt;br /&gt;
  2│None&lt;br /&gt;
  3│Yes&lt;br /&gt;
  4│All&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Yes.&lt;br /&gt;
&lt;br /&gt;
=== Using CHK.POST to fix some types of Cross Check Balance (CCB) errors ===&lt;br /&gt;
&lt;br /&gt;
This program adjusts the balances in the trial balance reports (which also show in the “Cross Check Balance phrase on the Detailed Ledger Accounts) to match the vouchers found in the voucher file. Note that CHK.ALLOC and CHK.INDEX have no effect on these figures and instead amend the transactions shown on the Detailed Ledger Account - and thereby the totals on the same report so that they agree with the CCB amount and thereby the conflict is resolved.&lt;br /&gt;
&lt;br /&gt;
Most CCB in NEOSYS are related to problems on outstanding item accounts and are fixed with the CHK.ALLOC program. More rarely, problems occur in the movement accounts and are fixed with the CHK.INDEX program - although this can also fix some errors in outstanding item statements. Even more rarely will the problem be on the Trial Balances/CCB balances and can be fixed with this CHK.POST procedure&lt;br /&gt;
&lt;br /&gt;
WARNING! This solution may make things worse so don’t use on live data unless EXHAUSTIVELY checked that everything is ok on test data first.&lt;br /&gt;
&lt;br /&gt;
WARNING! Don’t go back and “correct” previous years which have been closed because auditors expect them never to change (EVEN IF THEY ARE WRONG!) and it can be impossible to put them back “wrong” if you “correct” them.&lt;br /&gt;
&lt;br /&gt;
WARNING! If you correct previous years then you must rerun the Open New Year procedure for all prior years and this procedure is not documented and can only be run by programmers at the moment.&lt;br /&gt;
&lt;br /&gt;
#In maintenance mode press Alt+1&lt;br /&gt;
#Enter the range of periods that you want to check/adjust the trial balance for e.g. 1/9-7/9 for 1st Period of 2009 up to the 7th period of 2009.&lt;br /&gt;
#Press F9 and Esc&lt;br /&gt;
#Press F5 and type CHK.POST&lt;br /&gt;
#What stage to start at? Choose “Select Vouchers”&lt;br /&gt;
#Clear the updated balances file? Choose “Clear it”&lt;br /&gt;
#OK to Start? … OK&lt;br /&gt;
#If there are any discrepancies found between the Trial Balance Balances/CCB balances … and the Vouchers in the file you will get some fairly cryptic questions asking you, one by one, if you want to fix the balances.&lt;br /&gt;
&lt;br /&gt;
IMPORTANT&lt;br /&gt;
#It is advised that you only fix the balances which refer to the accounts that you are concerned about. You will find the account number buried in the cryptic questions referred to above.&lt;br /&gt;
#If you fix subsidiary account balances then MAKE SURE that you also fix the control accounts balances (if you are prompted).&lt;br /&gt;
&lt;br /&gt;
=== B10 &amp;amp; B12 Errors ===&lt;br /&gt;
&lt;br /&gt;
The error might be displayed as follows :&lt;br /&gt;
&lt;br /&gt;
 ERROR NO: B10 IN DAYBOOK.SUBSX AT 133&lt;br /&gt;
 Variable has not been assigned a value. Zero used.&lt;br /&gt;
&lt;br /&gt;
This error should have said something like : &amp;quot;The ledgers are closed up to the period you have just tried to post&amp;quot; OR &amp;quot;Financial Year 2011 must be opened before you post into it.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Try again and you would see the exact message if you have not opened the new year as yet.&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=661</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=661"/>
		<updated>2011-03-10T06:49:27Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* B10 &amp;amp; B12 Errors */&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;
== Troubleshooting the &amp;quot;Database not available&amp;quot; error message == &lt;br /&gt;
&lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
&lt;br /&gt;
This error appears when you try to login to NEOSYS after you enter your username and password and click the Login button.&lt;br /&gt;
&lt;br /&gt;
[[image:database_unavailable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Error message : &lt;br /&gt;
&lt;br /&gt;
 Cannot login because : &lt;br /&gt;
 Error :  The (database code) database is not available right now.&lt;br /&gt;
&lt;br /&gt;
=== Solution explained ===&lt;br /&gt;
&lt;br /&gt;
# Determine if the processes are running. If they are running and you still get the same message that means that the proccesses have hung. Close them by hitting the X button on the window.&lt;br /&gt;
# If the processes are not visible, it is possible that they are running in the background and have hung for some reason. Check the windows task manager to see if any ‘ntvdm’ process is running. If so, use the End Process method to force close it.&lt;br /&gt;
# If there is no trace of any process running, that means the process probably did not start at the scheduled time. Refer to the &#039;Hung Process Reports&#039; to verify this claim. &lt;br /&gt;
# If the process had not hung, then the server might have restarted due to a power failure or a windows update and the administrator user had not logged in post the scheduled startup time of 6AM. To determine this cause, investigate in the Windows Event Viewer Log file.&lt;br /&gt;
# You can now start up the process by clicking on the respective desktop icons.&lt;br /&gt;
# Also check if the backup took place successfully or not. If not take a manual backup.&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;
== B703 Errors ==&lt;br /&gt;
&lt;br /&gt;
The B703 error is usually always related to something too big for NEOSYS to handle. &lt;br /&gt;
&lt;br /&gt;
These are the only B errors that NEOSYS cant always permanently prevent by fixing the software.&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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Vehicle-certification1.jpg&amp;diff=659</id>
		<title>File:Vehicle-certification1.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Vehicle-certification1.jpg&amp;diff=659"/>
		<updated>2011-03-09T14:40:02Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Media_System&amp;diff=658</id>
		<title>Troubleshooting NEOSYS Media System</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Media_System&amp;diff=658"/>
		<updated>2011-03-09T14:39:47Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== B703 Errors ==&lt;br /&gt;
&lt;br /&gt;
The B703 error is usually always related to something too big for NEOSYS to handle. &lt;br /&gt;
It occurs when the user puts in too many ads on one schedule without setting up the vehicle to allow the same.&lt;br /&gt;
&lt;br /&gt;
An example of this error is as follows :&lt;br /&gt;
&lt;br /&gt;
 ERROR NO: B703 IN BOOKING.SUBS3 AT 1264&lt;br /&gt;
 Variable exceeds maximum length.0&lt;br /&gt;
&lt;br /&gt;
=== SOLUTION 1 ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; The package solution &amp;lt;/b&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is the simplest solution. The idea is to put the ads as a package of ONE ad and put the gross unit price as the TOTAL price.&amp;lt;br&amp;gt;&lt;br /&gt;
The ONE ad for many ads is great for packages&lt;br /&gt;
&lt;br /&gt;
=== SOLUTION 2 ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; For mass advertising like online &amp;lt;/b&amp;gt; &lt;br /&gt;
&lt;br /&gt;
# Go to the respective vehicle file, and change the “Certification” field to “Summary” and save the file. (Refer Screenshot below)&lt;br /&gt;
# Now, Add a new line to the schedule as the changes made are ONLY reflected on a NEW line. &lt;br /&gt;
# If the schedule was not invoiced, then you may delete the line that was entered earlier by clicking on the delete line button, else click the &amp;quot;CLEAR&amp;quot; button to remove the ads that were entered for that line in the schedule.&lt;br /&gt;
# Re-enter the details on the newly added line in the schedule. i.e. Vehicle code, Specification / loading, dates, etc. &lt;br /&gt;
# Now book the ads on the schedule. &lt;br /&gt;
&lt;br /&gt;
[[File:vehicle-certification1.jpg]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
There are other B703 messages which imply the same problem about too many ads, for eg:&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;ERROR NO: B703 IN UPD.ADS&amp;quot; when saving schedules  &lt;br /&gt;
&lt;br /&gt;
 &amp;quot;ERROR NO: B703 IN PRINTPLANS&amp;quot; when creating invoices.&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=657</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=657"/>
		<updated>2011-03-09T14:05:12Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &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;
== Troubleshooting the &amp;quot;Database not available&amp;quot; error message == &lt;br /&gt;
&lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
&lt;br /&gt;
This error appears when you try to login to NEOSYS after you enter your username and password and click the Login button.&lt;br /&gt;
&lt;br /&gt;
[[image:database_unavailable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Error message : &lt;br /&gt;
&lt;br /&gt;
 Cannot login because : &lt;br /&gt;
 Error :  The (database code) database is not available right now.&lt;br /&gt;
&lt;br /&gt;
=== Solution explained ===&lt;br /&gt;
&lt;br /&gt;
# Determine if the processes are running. If they are running and you still get the same message that means that the proccesses have hung. Close them by hitting the X button on the window.&lt;br /&gt;
# If the processes are not visible, it is possible that they are running in the background and have hung for some reason. Check the windows task manager to see if any ‘ntvdm’ process is running. If so, use the End Process method to force close it.&lt;br /&gt;
# If there is no trace of any process running, that means the process probably did not start at the scheduled time. Refer to the &#039;Hung Process Reports&#039; to verify this claim. &lt;br /&gt;
# If the process had not hung, then the server might have restarted due to a power failure or a windows update and the administrator user had not logged in post the scheduled startup time of 6AM. To determine this cause, investigate in the Windows Event Viewer Log file.&lt;br /&gt;
# You can now start up the process by clicking on the respective desktop icons.&lt;br /&gt;
# Also check if the backup took place successfully or not. If not take a manual backup.&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;
The error might be displayed as follows :&lt;br /&gt;
&lt;br /&gt;
 ERROR NO: B10 IN DAYBOOK.SUBSX AT 133&lt;br /&gt;
 Variable has not been assigned a value. Zero used.&lt;br /&gt;
&lt;br /&gt;
This error should have said something like : &amp;quot;The ledgers are closed up to the period you have just tried to post&amp;quot; OR &amp;quot;Financial Year 2011 must be opened before you post into it.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Try again and you would see the exact message if you have not opened the new year as yet.&lt;br /&gt;
&lt;br /&gt;
== B703 Errors ==&lt;br /&gt;
&lt;br /&gt;
# The B703 error is usually always related to something too big for NEOSYS to handle. &lt;br /&gt;
# These are the only B errors that NEOSYS cant always permanently prevent by fixing the software.&lt;br /&gt;
# All the other B errors can be fixed in the software IF support can explain to programmers how to reproduce the error.&lt;br /&gt;
&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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Media_System&amp;diff=656</id>
		<title>Troubleshooting NEOSYS Media System</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Media_System&amp;diff=656"/>
		<updated>2011-03-09T12:18:53Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: Created page with &amp;#039;== B703 Errors ==  The B703 error is usually always related to something too big for NEOSYS to handle.  It occurs when the user puts in too many ads on one schedule without setti…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== B703 Errors ==&lt;br /&gt;
&lt;br /&gt;
The B703 error is usually always related to something too big for NEOSYS to handle. &lt;br /&gt;
It occurs when the user puts in too many ads on one schedule without setting up the vehicle to allow the same.&lt;br /&gt;
&lt;br /&gt;
An example of this error is as follows :&lt;br /&gt;
&lt;br /&gt;
 ERROR NO: B703 IN BOOKING.SUBS3 AT 1264&lt;br /&gt;
 Variable exceeds maximum length.0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; SOLUTION &amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The simplest solution is to put the ads as a package of ONE ad and put the gross unit price as the TOTAL price.&lt;br /&gt;
&lt;br /&gt;
The more ideal way to do it is as follows :&lt;br /&gt;
&lt;br /&gt;
# Go to the respective vehicle file, and change the “Certification” field to “Summary” and save the file. (Refer Screenshot below)&lt;br /&gt;
# Now, Add a new line to the schedule as the changes made are ONLY reflected on a NEW line. &lt;br /&gt;
# Kindly delete the line that was entered earlier. &lt;br /&gt;
# Re-enter the details on the newly added line in the schedule. i.e. Vehicle code, Specification / loading, dates, etc. &lt;br /&gt;
# Now book the ads on the schedule. &lt;br /&gt;
&lt;br /&gt;
[[File:vehicle-certification.jpg]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
There are other B703 messages which imply the same problem about too many ads, for eg:&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;ERROR NO: B703 IN UPD.ADS&amp;quot; when saving schedules  &lt;br /&gt;
&lt;br /&gt;
 &amp;quot;ERROR NO: B703 IN PRINTPLANS&amp;quot; when creating invoices.&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Main_Page&amp;diff=655</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Main_Page&amp;diff=655"/>
		<updated>2011-03-09T12:18:24Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&#039;&#039;&#039;This is the Technical Support NEOSYS Wiki.&#039;&#039;&#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Technical ==&lt;br /&gt;
&lt;br /&gt;
[[Installing NEOSYS]]&lt;br /&gt;
&lt;br /&gt;
[[Moving NEOSYS]]&lt;br /&gt;
&lt;br /&gt;
[[Upgrading NEOSYS]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring NEOSYS Generally]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring NEOSYS Finance System]]&lt;br /&gt;
&lt;br /&gt;
[[Administering NEOSYS Server]]&lt;br /&gt;
&lt;br /&gt;
[[Troubleshooting NEOSYS Generally]]&lt;br /&gt;
&lt;br /&gt;
[[Troubleshooting NEOSYS Media System]]&lt;br /&gt;
&lt;br /&gt;
[[Troubleshooting NEOSYS Finance System]]&lt;br /&gt;
&lt;br /&gt;
[[Procedures]]&lt;br /&gt;
&lt;br /&gt;
[[Checklists]]&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=654</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=654"/>
		<updated>2011-03-09T12:16:38Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &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;
== Troubleshooting the &amp;quot;Database not available&amp;quot; error message == &lt;br /&gt;
&lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
&lt;br /&gt;
This error appears when you try to login to NEOSYS after you enter your username and password and click the Login button.&lt;br /&gt;
&lt;br /&gt;
[[image:database_unavailable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Error message : &lt;br /&gt;
&lt;br /&gt;
 Cannot login because : &lt;br /&gt;
 Error :  The (database code) database is not available right now.&lt;br /&gt;
&lt;br /&gt;
=== Solution explained ===&lt;br /&gt;
&lt;br /&gt;
# Determine if the processes are running. If they are running and you still get the same message that means that the proccesses have hung. Close them by hitting the X button on the window.&lt;br /&gt;
# If the processes are not visible, it is possible that they are running in the background and have hung for some reason. Check the windows task manager to see if any ‘ntvdm’ process is running. If so, use the End Process method to force close it.&lt;br /&gt;
# If there is no trace of any process running, that means the process probably did not start at the scheduled time. Refer to the &#039;Hung Process Reports&#039; to verify this claim. &lt;br /&gt;
# If the process had not hung, then the server might have restarted due to a power failure or a windows update and the administrator user had not logged in post the scheduled startup time of 6AM. To determine this cause, investigate in the Windows Event Viewer Log file.&lt;br /&gt;
# You can now start up the process by clicking on the respective desktop icons.&lt;br /&gt;
# Also check if the backup took place successfully or not. If not take a manual backup.&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;
The error might be displayed as follows :&lt;br /&gt;
&lt;br /&gt;
 ERROR NO: B10 IN DAYBOOK.SUBSX AT 133&lt;br /&gt;
 Variable has not been assigned a value. Zero used.&lt;br /&gt;
&lt;br /&gt;
This error should have said something like : &amp;quot;The ledgers are closed up to the period you have just tried to post&amp;quot; OR &amp;quot;Financial Year 2011 must be opened before you post into it.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Try again and you would see the exact message if you have not opened the new year as yet.&lt;br /&gt;
&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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=653</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=653"/>
		<updated>2011-03-09T12:13:57Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* B703 Errors */&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;
== Troubleshooting the &amp;quot;Database not available&amp;quot; error message == &lt;br /&gt;
&lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
&lt;br /&gt;
This error appears when you try to login to NEOSYS after you enter your username and password and click the Login button.&lt;br /&gt;
&lt;br /&gt;
[[image:database_unavailable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Error message : &lt;br /&gt;
&lt;br /&gt;
 Cannot login because : &lt;br /&gt;
 Error :  The (database code) database is not available right now.&lt;br /&gt;
&lt;br /&gt;
=== Solution explained ===&lt;br /&gt;
&lt;br /&gt;
# Determine if the processes are running. If they are running and you still get the same message that means that the proccesses have hung. Close them by hitting the X button on the window.&lt;br /&gt;
# If the processes are not visible, it is possible that they are running in the background and have hung for some reason. Check the windows task manager to see if any ‘ntvdm’ process is running. If so, use the End Process method to force close it.&lt;br /&gt;
# If there is no trace of any process running, that means the process probably did not start at the scheduled time. Refer to the &#039;Hung Process Reports&#039; to verify this claim. &lt;br /&gt;
# If the process had not hung, then the server might have restarted due to a power failure or a windows update and the administrator user had not logged in post the scheduled startup time of 6AM. To determine this cause, investigate in the Windows Event Viewer Log file.&lt;br /&gt;
# You can now start up the process by clicking on the respective desktop icons.&lt;br /&gt;
# Also check if the backup took place successfully or not. If not take a manual backup.&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;
The error might be displayed as follows :&lt;br /&gt;
&lt;br /&gt;
 ERROR NO: B10 IN DAYBOOK.SUBSX AT 133&lt;br /&gt;
 Variable has not been assigned a value. Zero used.&lt;br /&gt;
&lt;br /&gt;
This error should have said something like : &amp;quot;The ledgers are closed up to the period you have just tried to post&amp;quot; OR &amp;quot;Financial Year 2011 must be opened before you post into it.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Try again and you would see the exact message if you have not opened the new year as yet.&lt;br /&gt;
&lt;br /&gt;
== B703 Errors ==&lt;br /&gt;
&lt;br /&gt;
The B703 error is usually always related to something too big for NEOSYS to handle. &lt;br /&gt;
It occurs when the user puts in too many ads on one schedule without setting up the vehicle to allow the same.&lt;br /&gt;
&lt;br /&gt;
An example of this error is as follows :&lt;br /&gt;
&lt;br /&gt;
 ERROR NO: B703 IN BOOKING.SUBS3 AT 1264&lt;br /&gt;
 Variable exceeds maximum length.0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; SOLUTION &amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The simplest solution is to put the ads as a package of ONE ad and put the gross unit price as the TOTAL price.&lt;br /&gt;
&lt;br /&gt;
The more ideal way to do it is as follows :&lt;br /&gt;
&lt;br /&gt;
# Go to the respective vehicle file, and change the “Certification” field to “Summary” and save the file. (Refer Screenshot below)&lt;br /&gt;
# Now, Add a new line to the schedule as the changes made are ONLY reflected on a NEW line. &lt;br /&gt;
# Kindly delete the line that was entered earlier. &lt;br /&gt;
# Re-enter the details on the newly added line in the schedule. i.e. Vehicle code, Specification / loading, dates, etc. &lt;br /&gt;
# Now book the ads on the schedule. &lt;br /&gt;
&lt;br /&gt;
[[File:vehicle-certification.jpg]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
There are other B703 messages which imply the same problem about too many ads, for eg:&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;ERROR NO: B703 IN UPD.ADS&amp;quot; when saving schedules  &lt;br /&gt;
&lt;br /&gt;
 &amp;quot;ERROR NO: B703 IN PRINTPLANS&amp;quot; when creating invoices.&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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_NEOSYS_Generally&amp;diff=652</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=652"/>
		<updated>2011-03-09T08:20:53Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Using autologin.sh */&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;
=== 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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=651</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=651"/>
		<updated>2011-03-09T07:48:54Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Setting up daily scheduled tasks */&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&lt;br /&gt;
# http://www.neosys.com/support/neosys2.exe	... and install to X:\neosys&lt;br /&gt;
&lt;br /&gt;
=== Creating shortcuts ===&lt;br /&gt;
In x:\neosys, 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;
Next, click on the Maintenance icon, 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. 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 to get one.&lt;br /&gt;
&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;
&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;
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 and 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;
==== 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.&lt;br /&gt;
&lt;br /&gt;
# Create a task to start one Main database process at 6:00 am daily.&lt;br /&gt;
# Create a second task to Copy Maindata to Testdata at 2:45 am daily.&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;
(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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=650</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=650"/>
		<updated>2011-03-09T07:48:09Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Setting up daily scheduled tasks */&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&lt;br /&gt;
# http://www.neosys.com/support/neosys2.exe	... and install to X:\neosys&lt;br /&gt;
&lt;br /&gt;
=== Creating shortcuts ===&lt;br /&gt;
In x:\neosys, 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;
Next, click on the Maintenance icon, 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. 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 to get one.&lt;br /&gt;
&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;
&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;
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 and 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;
==== 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.&lt;br /&gt;
&lt;br /&gt;
# Create a task to start one Main database process at 6:00am daily.&lt;br /&gt;
# Create a second task to Copy Maindata to Testdata at 2:45 am daily&lt;br /&gt;
&lt;br /&gt;
(For multiple sites on the same computer put the second site starting five minutes later at 6:05, third site starting five minutes earlier at 5:55, the third site starting five minutes later at 6:10 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;
(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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Vehicle-certification.jpg&amp;diff=649</id>
		<title>File:Vehicle-certification.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Vehicle-certification.jpg&amp;diff=649"/>
		<updated>2011-03-09T06:56:03Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=648</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=648"/>
		<updated>2011-03-09T06:55:37Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &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;
== Troubleshooting the &amp;quot;Database not available&amp;quot; error message == &lt;br /&gt;
&lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
&lt;br /&gt;
This error appears when you try to login to NEOSYS after you enter your username and password and click the Login button.&lt;br /&gt;
&lt;br /&gt;
[[image:database_unavailable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Error message : &lt;br /&gt;
&lt;br /&gt;
 Cannot login because : &lt;br /&gt;
 Error :  The (database code) database is not available right now.&lt;br /&gt;
&lt;br /&gt;
=== Solution explained ===&lt;br /&gt;
&lt;br /&gt;
# Determine if the processes are running. If they are running and you still get the same message that means that the proccesses have hung. Close them by hitting the X button on the window.&lt;br /&gt;
# If the processes are not visible, it is possible that they are running in the background and have hung for some reason. Check the windows task manager to see if any ‘ntvdm’ process is running. If so, use the End Process method to force close it.&lt;br /&gt;
# If there is no trace of any process running, that means the process probably did not start at the scheduled time. Refer to the &#039;Hung Process Reports&#039; to verify this claim. &lt;br /&gt;
# If the process had not hung, then the server might have restarted due to a power failure or a windows update and the administrator user had not logged in post the scheduled startup time of 6AM. To determine this cause, investigate in the Windows Event Viewer Log file.&lt;br /&gt;
# You can now start up the process by clicking on the respective desktop icons.&lt;br /&gt;
# Also check if the backup took place successfully or not. If not take a manual backup.&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;
The error might be displayed as follows :&lt;br /&gt;
&lt;br /&gt;
 ERROR NO: B10 IN DAYBOOK.SUBSX AT 133&lt;br /&gt;
 Variable has not been assigned a value. Zero used.&lt;br /&gt;
&lt;br /&gt;
This error should have said something like : &amp;quot;The ledgers are closed up to the period you have just tried to post&amp;quot; OR &amp;quot;Financial Year 2011 must be opened before you post into it.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Try again and you would see the exact message if you have not opened the new year as yet.&lt;br /&gt;
&lt;br /&gt;
== B703 Errors ==&lt;br /&gt;
&lt;br /&gt;
The B703 error is usually always related to something too big for NEOSYS to handle. &lt;br /&gt;
It occurs when the user puts in too many ads on one schedule without setting up the vehicle to allow the same.&lt;br /&gt;
&lt;br /&gt;
An example of this error is as follows :&lt;br /&gt;
&lt;br /&gt;
 ERROR NO: B703 IN BOOKING.SUBS3 AT 1264&lt;br /&gt;
 Variable exceeds maximum length.0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; SOLUTION &amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The simplest solution is to put the ads as a package of ONE ad and put the gross unit price as the TOTAL price.&lt;br /&gt;
&lt;br /&gt;
The more ideal way to do it is as follows :&lt;br /&gt;
&lt;br /&gt;
# Go to the respective vehicle file, and change the “Certification” field to “Summary” and save the file. (Refer Screenshot below)&lt;br /&gt;
# Now, Add a new line to the schedule as the changes made are ONLY reflected on a NEW line. Kindly delete the line that was entered earlier. &lt;br /&gt;
# Re-enter the details on the newly added line in the schedule. i.e. Vehicle code, Specification / loading, dates, etc. &lt;br /&gt;
# Now book the ads on the schedule. &lt;br /&gt;
&lt;br /&gt;
[[File:vehicle-certification.jpg]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
There are other B703 messages which imply the same problem about too many ads, for eg:&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;ERROR NO: B703 IN UPD.ADS&amp;quot; when saving schedules  &lt;br /&gt;
&lt;br /&gt;
 &amp;quot;ERROR NO: B703 IN PRINTPLANS&amp;quot; when creating invoices.&lt;br /&gt;
&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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=647</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=647"/>
		<updated>2011-03-08T11:46:49Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* B10 &amp;amp; B12 Errors */&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;
== Troubleshooting the &amp;quot;Database not available&amp;quot; error message == &lt;br /&gt;
&lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
&lt;br /&gt;
This error appears when you try to login to NEOSYS after you enter your username and password and click the Login button.&lt;br /&gt;
&lt;br /&gt;
[[image:database_unavailable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Error message : &lt;br /&gt;
&lt;br /&gt;
 Cannot login because : &lt;br /&gt;
 Error :  The (database code) database is not available right now.&lt;br /&gt;
&lt;br /&gt;
=== Solution explained ===&lt;br /&gt;
&lt;br /&gt;
# Determine if the processes are running. If they are running and you still get the same message that means that the proccesses have hung. Close them by hitting the X button on the window.&lt;br /&gt;
# If the processes are not visible, it is possible that they are running in the background and have hung for some reason. Check the windows task manager to see if any ‘ntvdm’ process is running. If so, use the End Process method to force close it.&lt;br /&gt;
# If there is no trace of any process running, that means the process probably did not start at the scheduled time. Refer to the &#039;Hung Process Reports&#039; to verify this claim. &lt;br /&gt;
# If the process had not hung, then the server might have restarted due to a power failure or a windows update and the administrator user had not logged in post the scheduled startup time of 6AM. To determine this cause, investigate in the Windows Event Viewer Log file.&lt;br /&gt;
# You can now start up the process by clicking on the respective desktop icons.&lt;br /&gt;
# Also check if the backup took place successfully or not. If not take a manual backup.&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;
The error might be displayed as follows :&lt;br /&gt;
&lt;br /&gt;
 ERROR NO: B10 IN DAYBOOK.SUBSX AT 133&lt;br /&gt;
 Variable has not been assigned a value. Zero used.&lt;br /&gt;
&lt;br /&gt;
This error should have said something like : &amp;quot;The ledgers are closed up to the period you have just tried to post&amp;quot; OR &amp;quot;Financial Year 2011 must be opened before you post into it.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Try again and you would see the exact message if you have not opened the new year as yet.&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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=640</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=640"/>
		<updated>2011-03-03T12:45:39Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Setting up daily scheduled tasks */&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&lt;br /&gt;
# http://www.neosys.com/support/neosys2.exe	... and install to X:\neosys&lt;br /&gt;
&lt;br /&gt;
=== Creating shortcuts ===&lt;br /&gt;
In x:\neosys, 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;
Next, click on the Maintenance icon, 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. 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 to get one.&lt;br /&gt;
&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;
&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;
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 and 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;
==== 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;
Note: Under Windows 2008 Standard you need to untick highest privileges and untick run whether user is logged in or not&lt;br /&gt;
#Main database 1 process starting at 6:00am. (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;
# Copy Maindata to Testdata – 1 process at 2:45 am (For multiple sites on the same computer put the second site starting five minutes later at 6:05, third site starting five minutes earlier at 5:55, the third site starting five minutes later at 6:10 and so on.)&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;
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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Upgrading_NEOSYS&amp;diff=635</id>
		<title>Upgrading NEOSYS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Upgrading_NEOSYS&amp;diff=635"/>
		<updated>2011-01-18T09:01:59Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Downloading previous versions of NEOSYS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Upgrading NEOSYS fully ==&lt;br /&gt;
&lt;br /&gt;
=== Backing up prior to upgrading ===&lt;br /&gt;
&lt;br /&gt;
THIS WHOLE BACKUP PROCEDURE IS MANDATORY&lt;br /&gt;
&lt;br /&gt;
Make sure that all NEOSYS processes are closed before you do any folder copying.&lt;br /&gt;
&lt;br /&gt;
==== Small Installations ====&lt;br /&gt;
&lt;br /&gt;
Take a normal proper backup using the NEOSYS Support Menu - for all live databases if there is more than one.&lt;br /&gt;
&lt;br /&gt;
Take a copy of the whole of the D:\NEOSYS folder (or where-ever NEOSYS is installed) into another folder. You can omit the D:\NEOSYS\IMAGES and D:\NEOSYS\LOGS folders from the copy to save time.&lt;br /&gt;
&lt;br /&gt;
Preferably place the copy on another disk or partition so that it is not included in any whole disk backup that might be running in parallel to NEOSYS backup. &lt;br /&gt;
&lt;br /&gt;
==== Large Installations ====&lt;br /&gt;
&lt;br /&gt;
Copying the whole of the D:\NEOSYS folder can take so much time as to be virtually impossible. In this case do the upgrade EARLY IN THE MORNING since all the data will have been backed up the previous night. The NEOSYS nightly backup only backs up data, so you MUST manually take copies of the following folders which contain the current version of the programs that are going to be upgraded.&lt;br /&gt;
&lt;br /&gt;
#D:\NEOSYS\NEOSYS&lt;br /&gt;
#D:\NEOSYS\NEOSYS.NET&lt;br /&gt;
#D:\NEOSYS\NEOSYS.MAC or  D:\NEOSYS\NEOSYS.W3C&lt;br /&gt;
&lt;br /&gt;
=== Downloading ===&lt;br /&gt;
&lt;br /&gt;
Get the latest version of NEOSYS&lt;br /&gt;
&lt;br /&gt;
Download http://www.neosys.com/support/neosys2.exe in NEOSYS\downloads folder and rename it to neosys2-(DATE).exe (eg neosys2-10th November 2009.exe) - this is to keep track of the various downloads we do for the client and also allows to install a previous version if needed.&lt;br /&gt;
&lt;br /&gt;
Next run it.&lt;br /&gt;
&lt;br /&gt;
=== Downloading previous versions of NEOSYS ===&lt;br /&gt;
&lt;br /&gt;
The 9 previous versions of neosys are stored at:&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys21.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys22.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys23.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys24.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys25.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys26.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys27.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys28.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys29.exe&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Closing NEOSYS processes should happen automatically during upgrade but you can also do it manually as follows:&lt;br /&gt;
&lt;br /&gt;
[[Closing NEOSYS services]]&lt;br /&gt;
&lt;br /&gt;
The installation procedure first creates a GLOBAL.END file in the NEOSYS programs folder causing all serving processes to terminate. Maintenance processes must be terminated manually.&lt;br /&gt;
&lt;br /&gt;
Next, the installation procedure attempts to update the WAITING.EXE file and, if the processes haven’t terminated quickly enough, this will fail asking for retry or abort. Retry immediately or once all the processes have terminated.&lt;br /&gt;
&lt;br /&gt;
The last step of the installation procedure is to delete the GLOBAL.END file to allow processes to start normally.&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
If you choose to abort the installation for any reason then the GLOBAL.END file will have to be deleted manually since its presence prevents any processes from starting up.&lt;br /&gt;
&lt;br /&gt;
=== Post installation steps ===&lt;br /&gt;
&lt;br /&gt;
New versions of the software sometimes perform quick or long database conversions.&lt;br /&gt;
&lt;br /&gt;
Starting NEOSYS in maintenance mode immediately after upgrading leaves you more in control if anything goes wrong.&lt;br /&gt;
&lt;br /&gt;
It not necessary to use the maintenance mode to start-up once after upgrading and before starting an automatic neosys process.&lt;br /&gt;
&lt;br /&gt;
== Upgrading NEOSYS with patch files ==&lt;br /&gt;
&lt;br /&gt;
Patch files can be used to update a very recent installation of neosys without doing a full install and without getting people out of NEOSYS.&lt;br /&gt;
&lt;br /&gt;
If in doubt do a full install.&lt;br /&gt;
&lt;br /&gt;
#Copy the file which is probably something like ADAGENCY.1 or ACCOUNTS.1 to the neosys\neosys folder&lt;br /&gt;
#F5&lt;br /&gt;
#INSTALL ADAGENCY&lt;br /&gt;
#Follow instructions&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=633</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=633"/>
		<updated>2010-12-21T09:40:16Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Solution */&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 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;
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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=632</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=632"/>
		<updated>2010-12-21T09:37:50Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Files that are automatically fixed */&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. 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 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;
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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=631</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=631"/>
		<updated>2010-12-21T09:30:35Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Solution */&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. 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 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 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;
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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=629</id>
		<title>Procedures</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=629"/>
		<updated>2010-12-12T09:25:54Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are procedures to be followed by Support Staff in respect to various technical matters in day to day operations of client issues.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Support Policies ==&lt;br /&gt;
In order to maintain good payment speed by clients NEOSYS needs to restrict support to clients that dont pay their bills on time, however the degree of restriction needs to depend on an intimate knowledge of the client which cannot be expected from all NEOSYS support staff. Therefore we will use a simple escalation policy as follows:&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT MANAGERS WILL maintain an overdue/stop list on a whiteboard visible to all support staff. Generally clients will go on the list when their invoice is seven days overdue and come off only after satisfactory commitment to pay have been obtained.&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT STAFF WILL discretely refer any calls for support from client on the overdue/stop list to support managers for handling.&lt;br /&gt;
&lt;br /&gt;
This policy excludes:&lt;br /&gt;
# Contacting the client to change the USB disk on the scheduled day, in case they haven&#039;t done so by 12 pm&lt;br /&gt;
# Contacting the client or if the client contacts support staff regarding backup failures and to take measures to fix these failures&lt;br /&gt;
&lt;br /&gt;
== Handling client issues ==&lt;br /&gt;
=== Handling error messages ===&lt;br /&gt;
#The very first step is understanding client problem.&lt;br /&gt;
#Ask the client what error does he gets on the screen.&lt;br /&gt;
#If error seems to be familiar then resolve it over the phone.&lt;br /&gt;
#If error is unknown then ask user to send a screenshot of the error displayed along with the options used (basically you need to know HOW to replicate the error)&lt;br /&gt;
#Upon receipt of the error, check in all the wikis for a solution.&lt;br /&gt;
#If the issue is unknown or you don’t understand it clearly ask the user then use remote support to gain access to the users desktop to view how to replicate the error. &lt;br /&gt;
&lt;br /&gt;
If it is new issue then report by escalation the same issue to your manager with a brief explanation.&lt;br /&gt;
&lt;br /&gt;
=== Handling problems with report totals ===&lt;br /&gt;
Questions with regards to report totals should not be escalated to the programmers without following this procedure. If the total can be be broken down into items (as they nearly always can be in NEOSYS) then only a problem where the items dont add up to a total should be escalated, since that would be a system error.&lt;br /&gt;
&lt;br /&gt;
== Backup Procedures ==&lt;br /&gt;
=== Preparing daily backup report ===&lt;br /&gt;
# Note the success, failure and other error of the clients backup mail in an excel sheet and forward the same to your manager.&lt;br /&gt;
# If there is a backup failure or backup is not available, check wiki to take necessary steps.&lt;br /&gt;
# If there is any unknown error, forward the same to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Updating Nagios incase of failures ===&lt;br /&gt;
# If the backup failure is unsolved, schedule downtime Neosys service in Nagios till 01 am.&lt;br /&gt;
# If the backup did not happen because of server down. Call the IT person; ask him to re-boot the server and check wiki to do necessary step ahead and schedule downtime to Nagios for 2hours.&lt;br /&gt;
# If there is an error &amp;quot;Backup-&amp;gt;Impossible&amp;quot; on Nagios check wiki and schedule downtime to Nagios for 2hours.&lt;br /&gt;
&lt;br /&gt;
=== Interchange backup USB mail reminder ===&lt;br /&gt;
# Basically all the clients have different days to change their backup USB. All the notification can be seen on Nagios at 12.00 pm every day.&lt;br /&gt;
# When you see the change backup notification on Nagios at 12.00 pm, send a mail to the IT person or the person who changes the USB. As you send the mail schedule downtime for Neosys services for two hours.&lt;br /&gt;
# Check the Nagios at 2.00 pm if the backup USB is changed, don&#039;t send another mail and stop there. But if backup is still not yet changed, send a another mail and this time cc the mail to your manager. After sending the mail, schedule downtime for Neosys service for more two hours.&lt;br /&gt;
# Now at 4.00 pm if you still find the backup USB not changed. Call the IT person and ask him to change the USB ASAP and schedule downtime for Neosys services for one hour.&lt;br /&gt;
# Now at 5.00 pm check Nagios and see if the backup USB is changed and if not changed. Send the mail to everyone from the backup mail.&lt;br /&gt;
# If the backup is still not changed, escalate the issue to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Finding out which USB is inserted into the server ===&lt;br /&gt;
As we ask the client to have 3 USB&#039;s and interchange them weekly, we also need to sometimes track which one of these 3 USB&#039;s are inserted into the server. USB&#039;s can be tracked using their volume serial number in most cases. To find this out either go to the command prompt and type VOL or in the nightly backup message check for the 2nd line (which looks like this - 14/12/2009 2:45pm Media: 705B-5B5F). However serial numbers can be the same even for different USB&#039;s.&lt;br /&gt;
&lt;br /&gt;
== Creating and Handling passwords ==&lt;br /&gt;
Passwords made out of a pass phrase should be at least 10 characters since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts.&lt;br /&gt;
&lt;br /&gt;
=== Creating a password ===&lt;br /&gt;
Passwords are generated from a pass phrase and it is important to create a very difficult to guess pass phrase.&lt;br /&gt;
&lt;br /&gt;
For example, a good pass phrase would be: &#039;&#039;&#039;Today is a good day and it is the best time to go for a holiday&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The password for this would be &#039;&#039;&#039;Tiagdaiitbt2g4ah&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The important instructions for the above are:&lt;br /&gt;
#You have to take the first letter of each word and that makes your password (i.e. by using initials)&lt;br /&gt;
#Wherever any word starts with a capital, then you have to take first letter as a capital (eg. For Today you will take T)&lt;br /&gt;
#Replace &#039;&#039;&#039;and&#039;&#039;&#039; with &#039;&#039;&#039;&amp;amp;&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;to&#039;&#039;&#039; with &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;for&#039;&#039;&#039; with &#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Handling passwords ===&lt;br /&gt;
#Never send the actual password - always send the pass phrase&lt;br /&gt;
#Make sure that the password created out of the pass phrase is at least 10 characters long since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts&lt;br /&gt;
#Pass phrases are never to be sent by email, whatever the case maybe.&lt;br /&gt;
#Pass phrases can be sent by chat - however they have to be broken down in two parts and sent separately over two different messengers or if you are using Gtalk then use the &#039;off the record&#039; mode.&lt;br /&gt;
#Using SMS to send pass phrases is the best known way as of now.&lt;br /&gt;
#If you save the passwords on your system as a file, make sure the file is encrypted with a master password.&lt;br /&gt;
&lt;br /&gt;
==[[NEOSYS Maintenance Window]]==&lt;br /&gt;
&lt;br /&gt;
==Switching to a backup server==&lt;br /&gt;
&lt;br /&gt;
As NEOSYS provides clients with option of backing up their data to a remote NEOSYS server in case of emergencies or server problems, it is crucial you understand the below procedure on how to switch to a backup server in the event of such a situation. Extreme care must be taken when switching over to using a backup server otherwise unnecessary data loss is very likely.&lt;br /&gt;
&lt;br /&gt;
Backup servers are normally switched off and should not be started automatically otherwise there is a serious risk of the client’s staff working on two systems. It is not possible to merge two databases into one database. Before the backup server is enabled the main server must be disabled, and before the main server is re-enabled, the backup  server must be disabled again. This can be managed technically without requiring any decision from senior non-technical staff.&lt;br /&gt;
&lt;br /&gt;
However, there are also some potentially hard decisions about unavoidable loss of data versus continued system availability. *** Backup servers should therefore only be started with the written approval of the clients senior staff. A suitable email requesting approval follows.&lt;br /&gt;
&lt;br /&gt;
The following case assumes that the main server has gone down sometime during the working day and that therefore the data on the backup server is out of date. Allowing them to use the backup server therefore implies some loss of data. They may wish to lose the data. They may wish to work on the backup server data and then try to redo the work on the main server once it is restored. There are a variety of options depending on the situation.&lt;br /&gt;
&lt;br /&gt;
If the main server is still functioning AND you are reasonably sure that the database is not damaged (which is perhaps an unlikely situation if you need to use the backup server!), it may be sensible to trigger an additional “backup/sync” process to bring the backup server database up to date with the main server. Before you do this, it is advisable that you take a backup copy of the backup system on the backup  server. In this case there would be no data loss in using the backup.&lt;br /&gt;
&lt;br /&gt;
An additional option of providing usage of the backup server in read-only mode so that people can at least access some data is being developed. The backup server could be available continuously at any time in read-only mode. This article would then be related to switching a backup server into main operational mode.&lt;br /&gt;
&lt;br /&gt;
 Dear {senior staff} cc {IT staff}&lt;br /&gt;
 &lt;br /&gt;
 Please note that we can enable the backup server if you wish.&lt;br /&gt;
 &lt;br /&gt;
 However the data on the backup server is out of date since it is a copy of your main database as at 11/22/33 99:99.&lt;br /&gt;
 &lt;br /&gt;
 If you wish to allow work to be done on the backup server then any data entered on your main server since the above date will be lost if we &lt;br /&gt;
 subsequently copy the data on the backup server to the main server.&lt;br /&gt;
 &lt;br /&gt;
 If, after using the backup server, we do NOT copy the data on the back server to the main server then any data you have entered on the backup &lt;br /&gt;
 server/database will be lost.&lt;br /&gt;
 &lt;br /&gt;
 Please confirm a) you want to work on HOSTS2 database and that we should therefore enable it and b) you have disconnected your main server &lt;br /&gt;
 for the duration.&lt;br /&gt;
 &lt;br /&gt;
 Best Regards,&lt;br /&gt;
 xxxxxx xxxxxxx&lt;br /&gt;
 NEOSYS Support&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description of Backup Procedure for the NEOSYS Client Hosting Server ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS backup is a two phase process. It is mandatory that both phases are complete for the process to be considered a backup.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the main NEOSYS server host(Schuberg Philis in Amsterdam as of Dec 2010)&amp;lt;br&amp;gt;Every night, the NEOSYS process for selected databases stops serving users at around 1:00 AM to 5:00 AM (local time of the client&#039;s main office) and performs the following procedure: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; - All the database files are checked for physical corruption.&amp;lt;br&amp;gt; - All the database files are zipped into a file who&#039;s path would be something like C:\DATA.BAK\CLIENTX\MONDAY\BACKUP.ZIP file.&amp;lt;br&amp;gt; - The file having the same name as that of the corresponding day of the week as last week is overwritten.A &amp;quot;backup alert&amp;quot; email indicating success or failure is sent to senior managers at the client, the client’s IT manager and backups@neosys.com.&amp;lt;br&amp;gt; - An internal log (accessible on each database&#039;s Support Menu) is maintained as a record and in case the emails cannot be sent out for some reason.&amp;lt;br&amp;gt; - NEOSYS support staff in Dubai check the emails every morning Sunday through Thursday.&amp;lt;br&amp;gt; - In the case of failure, NEOSYS support staff in Dubai take appropriate action and send an email (to the same people who receive the automated backup alert emails) indicating what action has been taken.&amp;lt;br&amp;gt; - The above does not by itself constitute a proper backup because the backup is stored on the same server and physical disk as the actual data.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the NEOSYS backup server host (in NEOSYS Dubai Office as of Dec 2010 but could be changed without notice to EvoSwitch in Amsterdam).&amp;lt;br&amp;gt; - At around 02:00-02:30 AM GMT daily, NEOSYS&#039;s backup server copies (replicates) all the BACKUP.ZIP files from the main NEOSYS server host to itself.&amp;lt;br&amp;gt; - An email indicating success or failure is sent to NEOSYS support staff (only) who deal with it in a similar way to phase 1, except that only NEOSYS management are updated.&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=628</id>
		<title>Procedures</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=628"/>
		<updated>2010-12-12T09:25:28Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are procedures to be followed by Support Staff in respect to various technical matters in day to day operations of client issues.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Support Policies ==&lt;br /&gt;
In order to maintain good payment speed by clients NEOSYS needs to restrict support to clients that dont pay their bills on time, however the degree of restriction needs to depend on an intimate knowledge of the client which cannot be expected from all NEOSYS support staff. Therefore we will use a simple escalation policy as follows:&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT MANAGERS WILL maintain an overdue/stop list on a whiteboard visible to all support staff. Generally clients will go on the list when their invoice is seven days overdue and come off only after satisfactory commitment to pay have been obtained.&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT STAFF WILL discretely refer any calls for support from client on the overdue/stop list to support managers for handling.&lt;br /&gt;
&lt;br /&gt;
This policy excludes:&lt;br /&gt;
# Contacting the client to change the USB disk on the scheduled day, in case they haven&#039;t done so by 12 pm&lt;br /&gt;
# Contacting the client or if the client contacts support staff regarding backup failures and to take measures to fix these failures&lt;br /&gt;
&lt;br /&gt;
== Handling client issues ==&lt;br /&gt;
=== Handling error messages ===&lt;br /&gt;
#The very first step is understanding client problem.&lt;br /&gt;
#Ask the client what error does he gets on the screen.&lt;br /&gt;
#If error seems to be familiar then resolve it over the phone.&lt;br /&gt;
#If error is unknown then ask user to send a screenshot of the error displayed along with the options used (basically you need to know HOW to replicate the error)&lt;br /&gt;
#Upon receipt of the error, check in all the wikis for a solution.&lt;br /&gt;
#If the issue is unknown or you don’t understand it clearly ask the user then use remote support to gain access to the users desktop to view how to replicate the error. &lt;br /&gt;
&lt;br /&gt;
If it is new issue then report by escalation the same issue to your manager with a brief explanation.&lt;br /&gt;
&lt;br /&gt;
=== Handling problems with report totals ===&lt;br /&gt;
Questions with regards to report totals should not be escalated to the programmers without following this procedure. If the total can be be broken down into items (as they nearly always can be in NEOSYS) then only a problem where the items dont add up to a total should be escalated, since that would be a system error.&lt;br /&gt;
&lt;br /&gt;
== Backup Procedures ==&lt;br /&gt;
=== Preparing daily backup report ===&lt;br /&gt;
# Note the success, failure and other error of the clients backup mail in an excel sheet and forward the same to your manager.&lt;br /&gt;
# If there is a backup failure or backup is not available, check wiki to take necessary steps.&lt;br /&gt;
# If there is any unknown error, forward the same to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Updating Nagios incase of failures ===&lt;br /&gt;
# If the backup failure is unsolved, schedule downtime Neosys service in Nagios till 01 am.&lt;br /&gt;
# If the backup did not happen because of server down. Call the IT person; ask him to re-boot the server and check wiki to do necessary step ahead and schedule downtime to Nagios for 2hours.&lt;br /&gt;
# If there is an error &amp;quot;Backup-&amp;gt;Impossible&amp;quot; on Nagios check wiki and schedule downtime to Nagios for 2hours.&lt;br /&gt;
&lt;br /&gt;
=== Interchange backup USB mail reminder ===&lt;br /&gt;
# Basically all the clients have different days to change their backup USB. All the notification can be seen on Nagios at 12.00 pm every day.&lt;br /&gt;
# When you see the change backup notification on Nagios at 12.00 pm, send a mail to the IT person or the person who changes the USB. As you send the mail schedule downtime for Neosys services for two hours.&lt;br /&gt;
# Check the Nagios at 2.00 pm if the backup USB is changed, don&#039;t send another mail and stop there. But if backup is still not yet changed, send a another mail and this time cc the mail to your manager. After sending the mail, schedule downtime for Neosys service for more two hours.&lt;br /&gt;
# Now at 4.00 pm if you still find the backup USB not changed. Call the IT person and ask him to change the USB ASAP and schedule downtime for Neosys services for one hour.&lt;br /&gt;
# Now at 5.00 pm check Nagios and see if the backup USB is changed and if not changed. Send the mail to everyone from the backup mail.&lt;br /&gt;
# If the backup is still not changed, escalate the issue to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Finding out which USB is inserted into the server ===&lt;br /&gt;
As we ask the client to have 3 USB&#039;s and interchange them weekly, we also need to sometimes track which one of these 3 USB&#039;s are inserted into the server. USB&#039;s can be tracked using their volume serial number in most cases. To find this out either go to the command prompt and type VOL or in the nightly backup message check for the 2nd line (which looks like this - 14/12/2009 2:45pm Media: 705B-5B5F). However serial numbers can be the same even for different USB&#039;s.&lt;br /&gt;
&lt;br /&gt;
== Creating and Handling passwords ==&lt;br /&gt;
Passwords made out of a pass phrase should be at least 10 characters since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts.&lt;br /&gt;
&lt;br /&gt;
=== Creating a password ===&lt;br /&gt;
Passwords are generated from a pass phrase and it is important to create a very difficult to guess pass phrase.&lt;br /&gt;
&lt;br /&gt;
For example, a good pass phrase would be: &#039;&#039;&#039;Today is a good day and it is the best time to go for a holiday&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The password for this would be &#039;&#039;&#039;Tiagdaiitbt2g4ah&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The important instructions for the above are:&lt;br /&gt;
#You have to take the first letter of each word and that makes your password (i.e. by using initials)&lt;br /&gt;
#Wherever any word starts with a capital, then you have to take first letter as a capital (eg. For Today you will take T)&lt;br /&gt;
#Replace &#039;&#039;&#039;and&#039;&#039;&#039; with &#039;&#039;&#039;&amp;amp;&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;to&#039;&#039;&#039; with &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;for&#039;&#039;&#039; with &#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Handling passwords ===&lt;br /&gt;
#Never send the actual password - always send the pass phrase&lt;br /&gt;
#Make sure that the password created out of the pass phrase is at least 10 characters long since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts&lt;br /&gt;
#Pass phrases are never to be sent by email, whatever the case maybe.&lt;br /&gt;
#Pass phrases can be sent by chat - however they have to be broken down in two parts and sent separately over two different messengers or if you are using Gtalk then use the &#039;off the record&#039; mode.&lt;br /&gt;
#Using SMS to send pass phrases is the best known way as of now.&lt;br /&gt;
#If you save the passwords on your system as a file, make sure the file is encrypted with a master password.&lt;br /&gt;
&lt;br /&gt;
==[[NEOSYS Maintenance Window]]==&lt;br /&gt;
&lt;br /&gt;
==Switching to a backup server==&lt;br /&gt;
&lt;br /&gt;
As NEOSYS provides clients with option of backing up their data to a remote NEOSYS server in case of emergencies or server problems, it is crucial you understand the below procedure on how to switch to a backup server in the event of such a situation. Extreme care must be taken when switching over to using a backup server otherwise unnecessary data loss is very likely.&lt;br /&gt;
&lt;br /&gt;
Backup servers are normally switched off and should not be started automatically otherwise there is a serious risk of the client’s staff working on two systems. It is not possible to merge two databases into one database. Before the backup server is enabled the main server must be disabled, and before the main server is re-enabled, the backup  server must be disabled again. This can be managed technically without requiring any decision from senior non-technical staff.&lt;br /&gt;
&lt;br /&gt;
However, there are also some potentially hard decisions about unavoidable loss of data versus continued system availability. *** Backup servers should therefore only be started with the written approval of the clients senior staff. A suitable email requesting approval follows.&lt;br /&gt;
&lt;br /&gt;
The following case assumes that the main server has gone down sometime during the working day and that therefore the data on the backup server is out of date. Allowing them to use the backup server therefore implies some loss of data. They may wish to lose the data. They may wish to work on the backup server data and then try to redo the work on the main server once it is restored. There are a variety of options depending on the situation.&lt;br /&gt;
&lt;br /&gt;
If the main server is still functioning AND you are reasonably sure that the database is not damaged (which is perhaps an unlikely situation if you need to use the backup server!), it may be sensible to trigger an additional “backup/sync” process to bring the backup server database up to date with the main server. Before you do this, it is advisable that you take a backup copy of the backup system on the backup  server. In this case there would be no data loss in using the backup.&lt;br /&gt;
&lt;br /&gt;
An additional option of providing usage of the backup server in read-only mode so that people can at least access some data is being developed. The backup server could be available continuously at any time in read-only mode. This article would then be related to switching a backup server into main operational mode.&lt;br /&gt;
&lt;br /&gt;
 Dear {senior staff} cc {IT staff}&lt;br /&gt;
 &lt;br /&gt;
 Please note that we can enable the backup server if you wish.&lt;br /&gt;
 &lt;br /&gt;
 However the data on the backup server is out of date since it is a copy of your main database as at 11/22/33 99:99.&lt;br /&gt;
 &lt;br /&gt;
 If you wish to allow work to be done on the backup server then any data entered on your main server since the above date will be lost if we &lt;br /&gt;
 subsequently copy the data on the backup server to the main server.&lt;br /&gt;
 &lt;br /&gt;
 If, after using the backup server, we do NOT copy the data on the back server to the main server then any data you have entered on the backup &lt;br /&gt;
 server/database will be lost.&lt;br /&gt;
 &lt;br /&gt;
 Please confirm a) you want to work on HOSTS2 database and that we should therefore enable it and b) you have disconnected your main server &lt;br /&gt;
 for the duration.&lt;br /&gt;
 &lt;br /&gt;
 Best Regards,&lt;br /&gt;
 xxxxxx xxxxxxx&lt;br /&gt;
 NEOSYS Support&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description of Backup Procedure for the NEOSYS Client Hosting Server ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS backup is a two phase process. It is mandatory that both phases are complete for the process to be considered a backup.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the main NEOSYS server host(Schuberg Philis in Amsterdam as of Dec 2010)&amp;lt;br&amp;gt;Every night, the NEOSYS process for selected databases stops serving users at around 1:00 AM to 5:00 AM (local time of the client&#039;s main office) and performs the following procedure: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; - All the database files are checked for physical corruption.&amp;lt;br&amp;gt; - All the database files are zipped into a file who&#039;s path would be something like C:\DATA.BAK\CLIENTX\MONDAY\BACKUP.ZIP file.&amp;lt;br&amp;gt; - The file having the same name as that of the corresponding day of the week as last week is overwritten.A &amp;quot;backup alert&amp;quot; email indicating success or failure is sent to senior managers at the client, the client’s IT manager and backups@neosys.com.&amp;lt;br&amp;gt; - An internal log (accessible on each database&#039;s Support Menu) is maintained as a record and in case the emails cannot be sent out for some reason.&amp;lt;br&amp;gt; - NEOSYS support staff in Dubai check the emails every morning Sunday through Thursday.&amp;lt;br&amp;gt; - In the case of failure, NEOSYS support staff in Dubai take appropriate action and send an email (to the same people who receive the automated backup alert emails) indicating what action has been taken.&amp;lt;br&amp;gt; - The above does not by itself constitute a proper backup because the backup is stored on the same server and physical disk as the actual data.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the NEOSYS backup server host (in NEOSYS Dubai Office as of Dec 2010 but could be changed without notice to EvoSwitch in Amsterdam).&amp;lt;br&amp;gt;At around 02:00-02:30 AM GMT daily, NEOSYS&#039;s backup server copies (replicates) all the BACKUP.ZIP files from the main NEOSYS server host to itself.&amp;lt;br&amp;gt;An email indicating success or failure is sent to NEOSYS support staff (only) who deal with it in a similar way to phase 1, except that only NEOSYS management are updated.&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Database_unavailable.jpg&amp;diff=623</id>
		<title>File:Database unavailable.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Database_unavailable.jpg&amp;diff=623"/>
		<updated>2010-11-10T13:43:22Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=622</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=622"/>
		<updated>2010-11-10T13:42:39Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: &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;
== Troubleshooting the &amp;quot;Database not available&amp;quot; error message == &lt;br /&gt;
&lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
&lt;br /&gt;
This error appears when you try to login to NEOSYS after you enter your username and password and click the Login button.&lt;br /&gt;
&lt;br /&gt;
[[image:database_unavailable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Error message : &lt;br /&gt;
&lt;br /&gt;
 Cannot login because : &lt;br /&gt;
 Error :  The (database code) database is not available right now.&lt;br /&gt;
&lt;br /&gt;
=== Solution explained ===&lt;br /&gt;
&lt;br /&gt;
# Determine if the processes are running. If they are running and you still get the same message that means that the proccesses have hung. Close them by hitting the X button on the window.&lt;br /&gt;
# If the processes are not visible, it is possible that they are running in the background and have hung for some reason. Check the windows task manager to see if any ‘ntvdm’ process is running. If so, use the End Process method to force close it.&lt;br /&gt;
# If there is no trace of any process running, that means the process probably did not start at the scheduled time. Refer to the &#039;Hung Process Reports&#039; to verify this claim. &lt;br /&gt;
# If the process had not hung, then the server might have restarted due to a power failure or a windows update and the administrator user had not logged in post the scheduled startup time of 6AM. To determine this cause, investigate in the Windows Event Viewer Log file.&lt;br /&gt;
# You can now start up the process by clicking on the respective desktop icons.&lt;br /&gt;
# Also check if the backup took place successfully or not. If not take a manual backup.&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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=621</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=621"/>
		<updated>2010-11-09T11:31:29Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Creating a .CMD file to copy maindata to testdata */&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&lt;br /&gt;
# http://www.neosys.com/support/neosys2.exe	... and install to X:\neosys&lt;br /&gt;
&lt;br /&gt;
=== Creating shortcuts ===&lt;br /&gt;
In x:\neosys, 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;
Next, click on the Maintenance icon, 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. 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 to get one.&lt;br /&gt;
&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;
&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;
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 and 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;
==== 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;
Note: Under Windows 2008 Standard you need to untick highest privileges and untick run whether user us logged in or not&lt;br /&gt;
#Main database 1 process starting at 6:00am. (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;
# Copy Maindata to Testdata – 1 process at 2:45 am (For multiple sites on the same computer put the second site starting five minutes later at 6:05, third site starting five minutes earlier at 5:55, the third site starting five minutes later at 6:10 and so on.)&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>Sandeep.neosys</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS_Service&amp;diff=620</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=620"/>
		<updated>2010-11-09T11:27:51Z</updated>

		<summary type="html">&lt;p&gt;Sandeep.neosys: /* Creating a .CMD file to copy maindata to testdata */&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&lt;br /&gt;
# http://www.neosys.com/support/neosys2.exe	... and install to X:\neosys&lt;br /&gt;
&lt;br /&gt;
=== Creating shortcuts ===&lt;br /&gt;
In x:\neosys, 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;
Next, click on the Maintenance icon, 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. 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 to get one.&lt;br /&gt;
&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;
&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;
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 and 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;
==== 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&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;
Note: Under Windows 2008 Standard you need to untick highest privileges and untick run whether user us logged in or not&lt;br /&gt;
#Main database 1 process starting at 6:00am. (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;
# Copy Maindata to Testdata – 1 process at 2:45 am (For multiple sites on the same computer put the second site starting five minutes later at 6:05, third site starting five minutes earlier at 5:55, the third site starting five minutes later at 6:10 and so on.)&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>Sandeep.neosys</name></author>
	</entry>
</feed>