Saturday, February 23, 2013

Error: 'This database has local access protection...' when trying to open local replica



Question
You have appropriate access control list (ACL) rights but receive the following error message when attempting to open a local replica of a Lotus Notes database:
"The database has local access protection and you are not authorized to access it locally."
Cause
This situation occurs in cases in which a user other than you originally created the local replica.
Answer
There is a default security setting that encrypts local replicas in Notes releases (File menu --> Security --> User Security --> Notes Data --> Databases). However, instead of using the default option ("Locally encrypt using.."), you can create local replicas that are not encrypted from the File menu, by choosing Security --> User Security --> Notes Data --> Databases --> select "Do not locally encrypt" --> click OK.
IMPORTANT NOTE: This setting only controls what happens by default when you create new databases. If there is an existing database you must access, it must be decrypted by the ID of the user who encrypted it. This is a two step process. First, you must turn off encryption for the database and then you must compact it.
Instructions:
It is not possible to decrypt the database except with the ID that encrypted it because providing this ability would defeat the purpose of high-security encryption.
Switch to the ID of the user who encrypted the database.
If you have Domino Administrator installed:
a) Switch the Administrator to "Local server".
b) Find the database in the Files list.
c) Right-click and select Properties.
d) On the first tab of the Properties dialog box, click Encryption Settings --> select "Do not locally encrypt..." --> click OK.
e) Right-click the database in the Files list and click Compact. 
f) Accept the default options and click OK.

If Domino Administrator is not available or if you prefer to use Notes:

a) Copy the database to the Notes\Data directory.
b) Open Notes and login with the user ID and password for that database.
c) Open the database in Notes (File menu --> Open --> Application --> Browse). You may also want to change the Default access in the ACL at this time (File menu --> Application --> Access Control --> Default --> set Access to Manager).
d) Open the database's Database Properties dialog box (File menu --> Application --> Properties).
e) On the first tab, click Encryption Settings --> select "Do not locally encrypt..." --> click OK. 
f) Close Notes.
g) Run the Compact task locally in Notes from a command prompt. 
Example:
"c:\lotus\notes\ncompact -c c:\lotus\notes\data\xxxx.nsf"

You should now be able to open the database with any user.
In either case, you must close all windows in the database to let compaction proceed. If the database was opened in Domino Designer, you must close Designer itself, not just all windows in Designer.

Friday, December 21, 2012

Ergonomics



























1. What is Ergonomics?
1.1 Ergonomics is the study of Human Factors Engineering
The term is derived from the Greek: Argo = labor and Nomos = law
Ergonomics is the study of the influence of the environment on productivity in the workplace; the evaluation and improvement of the interface between the individual and their work environment by correlating work conditions, instrumentation and tasks with the natural functioning of the individual in relation to their physical, mental and physiological fitness, so as to improve their convenience, health and efficiency at work.
Ergonomics implements theory, principles, data and the methods for designing the work stations and the environment, developing products, systems, tasks and assignments, so as to assure their compatibility and accessibility to users, in accordance with their capabilities, limitations and needs (compatibility 0f the environment to the individual and not the worker to the workplace).
Frequently, due to the ability of our body to adjust, we tend to fit ourselves to our environment rather than adjust the environment to us. With time, this might lead to accumulating physical trauma that will eventually manifest itself in pain and possible damage to the bones, muscles and nerve system in various places of the human body.
1.2 Accumulated Physical Trauma
Respective strain injury is defined as health disorders related to accumulating bio mechanical strains due to exposure to ergonomic risk factors in the work environment. Respective strain injuries (RSI) are most common at work, for instance: carpal tunnel syndrome: (CTS), a damage potentially caused to the median nerve of the wrist, which might impair the functioning of the hand and cause inflammation of the sinew (Tendonitis), muscular, neural and skeletal injury (MSD – Musculoskeletal Disorders) of the lower back, neck, shoulders, etc.
1.3 Risk Factors
These are physical risk factors such as improper posture at work, mechanical pressure, the extent of repetitiveness in motion, lack of movement and environmental risk factors such as light source, climate or noise. Exposure to these risk factors for an extended period of time may result in accumulating physical injuries.
1.4 Work Station Evaluation
Evaluation or review of the work station using an ergonomic labeling list aids in reducing ergonomic risk factors and potential physical injuries.
2. Ergonomic Principles for Appropriate Working Environments
2.1 Ergonomics in the Office
2.1.1. Sitting in front of the Computer
Adjust the height of the chair according to the height of the work station, ensuring that your hands are: at a 90 degrees angle, between arm and forearm, parallel to the table, and that your shoulders are relaxed and without strain.
Should your legs not reach the floor in this position, add a stool so as to allow a sitting posture in which your legs are supported, for more convenience.
Lean back on the chair in a 105 degrees angle. This will reduce pressure on your back. (Use the chair lever to change the angle of the back rest)
Adjust the height of the back rest of your chair for full support of the lower back (Use the chair lever to change the height of the back rest.)
Adjust the height of the computer screen until its upper edge is on the same level as your eyes. If the screen is low, its height should be adjusted. Another option is to raise the screen.
The optimal distance between your eyes and the screen should be that of the extended arm, i.e., between 60 to 70 cm.
The keyboard and the mouse should be placed side by side, 8 – 10 cm away from the edge of the table, to enable placement of the palms in a straight line with the mouse and the keyboard.
Make sure that your wrist is positioned straightly when typing and that your wrist is not bent.
The forearm should be supported by the table or by the arms of the chair.
Take regular intervals (5 minutes every hour) and perform stretch and relax exercises.

2.1.2. Movements to be avoided so as to prevent accumulated physical trauma
Avoid bending forward for an extended period of time. This might weaken the ligaments in the lower back and consequently cause lower back aches. Make sure you sit according to the ergonomic principles. (Clause 2.1.1).
Avoid extending your arm for too long. This will cause pressure on the arms, shoulders and neck. Make sure the most frequently used accessories are within reaching range, ideally up to 40 cm from your body.
Avoid bending or stretching your neck too much or for an extended period of time, i.e., over 15 degrees upwards or downwards. This might cause pressure on the neck and back. It is recommended that you raise or lower the screen, according to the ergonomic rules.
Avoid blocking the space around your legs with various objects. This might cause an improper sitting posture. See to it that the space around the legs is free for placing of the legs comfortably and vacant space is available for using a stool.
Avoid bending your wrists while typing. Sit properly and position a supporting pad under your wrist, according to the ergonomic principles.
Avoid bending your palm while operating the mouse, by adequate sitting posture: keeping elbows tight to the body and adding a supporting pad to the wrist.
2.1.3. Principles of Proper Sitting
Illustrations of proper and improper sitting positions , Advisable accessibility ranges – working with the computer:


2.2 Ergonomics in the Laboratory
2.2.1. Sitting/Standing
When working at high work surface in the office or laboratory, it is advisable to work both standing and sitting.
When sitting, the height of the back rest of chair should be adjusted to the height of the work surface - elbows parallel to work surface.
The back rest of your chair should support your lower back.
Use a proper laboratory chair with a ring that supports the soles of your feet.
Frequently used accessories are to be positioned up to 40 cm away.
Accessories seldomly used should be positioned 40 – 60 cm away.
Sufficient space is to be left at the feet to enable comfortable sitting posture.
If standing for an extended period of time, one foot should be placed in front of the other. Change this position frequently.
2.2.2. Lifting and carrying
If objects/bottles are placed high above, a stool should be used.
When lifting heavy objects, lower your knees in and place your feet in a stepping position, thus straightening your back while accomplishing the task.
When moving an object, carry it close to the body and, if necessary, use a cart.
2.2.3. Working with pipetors
When using pipetor, lift your arm parallel to your body.
It is advisable not to exert prolonged pressure which might cause extensive pressure on the thumb.
Pipetors should be placed within reasonable range for comfortable accessibility (between 40 – 60 cm).
When using pipetors for small volumes (micro liter) that requires preciseness, it is advisable to lift the Eppendorf test tube and avoid bending the head forward.
Make sure the pipetor is in order and comfortable to use.
Make sure the illumination intensity is comfortable. This will improve the quality of performance.
Take regular intervals during prolonged activity and stretch and relax your wrist.
2.2.4. Movements to be avoided so as to prevent accumulated physical trauma
Avoid standing with your back bent forward for an extended period of time, as this might overstretch ligaments in your back and, consequently, cause back aches.
Avoid repetitive postures that require exaggerated bending or stretching of the wrist.
Avoid postures that require elongated pressure with the hand. This might cause pressure on the synovium and cause pains when moving the thumb. (Strong and quick pressing is advisable.)



For More details:
http://www.weizmann.ac.il/safety/ergonomics.html
http://www.nismat.org/ptcor/ergo


Friday, November 9, 2012

Ten Point Program for happy Family


1. Avoid the next quarrel: Never lose temper at the same time. Don't let the sun set on your quarrels (Never prolong fights if at all started). It is OK to say "I am sorry"

2. Do not expect perfection from your spouse: Marriage is coming together of two imperfect beings. Don't expect wife or husband to like this or that, accept them as they are.

3. Be a Good Listener: Think before speaking, it is a good idea to weigh before you speak. You are master of unspoken words but slave of spoken words. Better than listening from ear is listening through mind (with attention) and better than that is listening from heart.

4. Be a good forgiver: Some people forgive but they keep the memory alive or they forgive conditionally. Forgiveness should be complete and unconditional.

5. Grow in the spirit of humility: Be humble. Egos bring arrogance which divide and separate people.

6. Learn the art of appreciation: We all like to be appreciated. Always appreciate in front of others. Never criticize in a company of friends and relatives, you will get opportunities in privacy.

7. Do not argue: Winning love and friendship is far greater than winning an argument. It is OK to discuss with a open mind. Learn to win love and affection rather than arguments.

8. Develop healthy sense of humor: Learn to laugh and be cheerful. It is a great tonic for healthy living and being accepted by friends. It is important to laugh with others and NOT at others.

9. Always lend a helpful hand: You will win over if you have this attitude of offering a helpful hand with or without asking.

10. Bring GOD back into your home: This is one of the most important one. Have a common time for prayers. It brings families together. Families that pray together stays together.


Wednesday, October 31, 2012

Know you Mobile Number


You Buy a new SIM and don’t know what the number is? :(

Don’t Worry. You can get your number by yourself only… :)



Provider Company Dial Code
AIRTEL *121*9#
Vodafone *111*2#
AIRCEL *122*131#
BSNL 164
Reliance *1#
IDEA *1#
Virgin *1#
TATA DOCOMO  *580#
Uninor   *555#
MTS   51230

Print a List item in SharePoint 2010


How to print a single list item in SharePoint 2010

You may need to print a single list item in SharePoint 2010. However, this functionality does not exist unless you print with Excel, which isn't what you are looking for anyway.

Following way to print the list item steps, can be found in multiple blogs... ;)

So, how do we go about accomplishing this?


  1. Open a List
  2. Hit the List tab
  3. Click the Form Web Parts dropdownlist
  4. Choose “Default Display Form”
  5. At the top of the Page – Insert Tab, Click the Web Part button to add a new Content Editor web part (CEWP).
  6. From Categories choose “Media and Content” > “Content Editor” and add it to the main section of the page.
  7. Click the “Click here to add content” and then click the HTML button in the Ribbon to bring up the Edit source code window.
  8. In the window add the following code to display a Print Button at the top of the list item window. 

         


  • Ignore any warnings.
  • Next, hit the Page tab at the top of the page to view the List item. You should see the Print button.

  • Hit the Print button to print just the list item.

  • So there you go, with just a little tweaking you can print a single List item.

    Friday, October 26, 2012

    USING WINDOWS FIREWALL WITH NON-SECURE FTP TRAFFIC


    USING WINDOWS FIREWALL WITH NON-SECURE FTP TRAFFIC


    To configure Windows Firewall to allow non-secure FTP traffic, use the following steps:

    Open a command prompt: click Start, then All Programs, then Accessories, then Command Prompt.

    To open port 21 on the firewall, type the following syntax then hit enter:

    c:/> netsh advfirewall firewall add rule name="FTP (non-SSL)" action=allow protocol=TCP dir=in localport=21

    To enable stateful FTP filtering that will dynamically open ports for data connections, type the following syntax then hit enter:

    c:/> netsh advfirewall set global StatefulFtp enable

    Monday, October 8, 2012

    Something about Hyperlinks


    Hyperlinks can be categorized into six types:

    Relative link : A relative link connects web pages within the same web site to one another.

    Absolute link : An absolute link connects resources or web pages on different web sites - in other words, to external web sites. An absolute link references a linked document's entire URL.

    e-Mail Link : An email link creates an e-mail message using the user's default e-mail client. You can specify an e-mail address in the link so that the new e-mail message has this information already filled in. This is most common on Contact us pages, for instance the reader can click a staff member's name to generate an e-mail addressed to that person.

    Named anchor: You can create links to particular sections within the same web page or another webpage. this section to which the link jumps is called the named anchor, which is a bookmark within a page. The target section opens with the named anchor section at the top of the page.

    Null link : A null link is an undersigned link. you use null links to attach behaviors to objects or text on a page. For example. you can attach a behavior to a null link so that it will swap an image when the pointer moves over the link.

    Script links : Script links execute JavaScript code or call a JavaScript function and are useful for giving additional information about an item without leaving the current web page. you use script links to perform calculations, validate forms or do other processing tasks when a visitor clicks a specific item.