Thursday, November 18, 2010

MSSQL: the process could not execute 'sp_replcmds'

Platform:
Microsoft SQL server

Error:
While replications,  the Log Reader Agent status shown "the process could not execute 'sp_replcmds'...

Solution:
Change database owner to sa.

Step:
  1. Select "Databases", open "Object Explorer Details"(shortcut F7), you can see the current owner for every database.
  2. Change the owner to sa as script below:
    •  sp_changedbowner ''
  3. Repeat step 1, click refresh button to check the new database owner.
  4. Reinitialize the publications by click "Reinitialize All Subscriptions" .

Wednesday, June 2, 2010

How to empty Trash in Ubuntu (UNR)

Tested in Ubuntu Netbook Remix 10.04

Two ways to empty trash
1. Complete it manually in Terminal
     sudo rm -rf /home//.local/share/Trash/files/*

2. In "Files & folders", click any folder icon to open File browser. Click "Go" in the toolbar, then select Trash. Simply click the "Empty Trash", your Trash folder will be empty.

Friday, May 14, 2010

Mobile Broadband USB modem in Ubuntu

1. Open a terminal

2. Install udev-extras from the standard Ubuntu repositories:
    sudo apt-get update && sudo apt-get install udev-extras
    or
    sudo apt-get update && sudo apt-get install udev

3. Add a custom udev rule for the Huawei E1550 by typing this line:
    echo 'SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x1446 --type option-zerocd"' | sudo tee  /etc/udev/rules.d/45-huawei1550.rules

4. Configure the Mobile Broadband on Network Manager. (right mouse the Network icon near the volume icon).

5. Select Mobile Boardband -> Add

6. After added, restart the pc.

7. Cheers...

Thursday, April 8, 2010

Change the font

MILWAUKEE – Here's a way you might save $20 this year: Change the font in the documents you print.

Because different fonts require different amounts of ink to print, you could be buying new printer cartridges less often if you wrote in, say, Century Gothic rather than Arial. Schools and businesses could save thousands of dollars with font changes.

Data on the subject from Printer.com, a Dutch company that evaluates printer attributes, persuaded the University of Wisconsin-Green Bay to make a switch. Diane Blohowiak, coordinator of information-technology user support, has asked faculty and staff to use Century Gothic for all printed documents. The school also plans to change its e-mail system so it uses Century Gothic.

"The feedback we've gotten so far has been positive," she said. "Century Gothic is very readable."

The school of 6,500 students spends about $100,000 per year on ink and toner cartridges. Although students and staff can change the default font to something more ink-intensive, Blohowiak said the university expects to save $5,000 to $10,000 per year with the font switch.

When Printer.com tested popular fonts for their ink-friendly ways, Century Gothic and Times New Roman topped the list. Calibri, Verdana, Arial and Sans Serif were next, followed by Trebuchet, Tahoma and Franklin Gothic Medium. Century Gothic uses about 30 percent less ink than Arial.

The amount of ink a font drains is mainly driven by the thickness of its lines. A font with "narrow" or "light" in its name is usually better than its "bold" or "black" counterpart, said Thom Brown, an ink researcher at Hewlett-Packard Co., the world's top maker of printers.

Also, serif fonts — those with short horizontal lines at the top and bottom of characters — tend to use thinner lines and thus less ink than a "sans serif" counterpart.

But while using less ink at home can help you buy roughly one fewer printer cartridge each year, it's not necessarily better for the environment.

That's because some fonts that use less ink, including Century Gothic, are also wider. A document that's one page in Arial could extend to a second page if printed in Century Gothic. Blohowiak said her research suggests that ink comprises the main cost of a printout, but the environmental costs of paper are probably higher.

"Maybe the individual characters use less ink, but if you're using more paper, that's not so green, is it?" said Allan Haley, director of "words and letters" at Monotype Imaging Inc. in Woburn, Mass., which developed Century Gothic.

Also, Century Gothic was designed for limited blocks of text such as titles and headlines, not for full documents, said Haley, who describes fonts as his "children." Despite Printer.com's research and UW-Green Bay's experience, Haley said he still recommends Times New Roman or Arial for their readability.

The standard advice for trimming printing expenses still applies: Print in "draft mode," if you can. Use both sides of a page and do a print preview to make sure you're not printing pages with useless text such as a copyright line. Using an ink-saving font is just one more technique to consider.

And the greenest way to save on ink is not to print at all.

That's the philosophy Microsoft Corp. said it uses in deciding which fonts to include in its Outlook and Word applications. The more pleasing a font looks on the screen, the less tempted someone will be to print, said Simon Daniels, a program manager for Microsoft's typography group.

That's why the company changed its defaults in Office 2007 from Arial and Times New Roman to Calibri and Cambria, he said.

"We're trying to move the threshold of when people hit the print button," he said.

By DINESH RAMDE, Associated Press Writer Dinesh Ramde, Associated Press Writer


Times New Roman
That's the philosophy Microsoft Corp. said it uses in deciding which fonts to include in its Outlook and Word applications. The more pleasing a font looks on the screen, the less tempted someone will be to print, said Simon Daniels, a program manager for Microsoft's typography group.
That's why the company changed its defaults in Office 2007 from Arial and Times New Roman to Calibri and Cambria, he said.

Cambria
That's the philosophy Microsoft Corp. said it uses in deciding which fonts to include in its Outlook and Word applications. The more pleasing a font looks on the screen, the less tempted someone will be to print, said Simon Daniels, a program manager for Microsoft's typography group.
That's why the company changed its defaults in Office 2007 from Arial and Times New Roman to Calibri and Cambria, he said.

Cambria
That's the philosophy Microsoft Corp. said it uses in deciding which fonts to include in its Outlook and Word applications. The more pleasing a font looks on the screen, the less tempted someone will be to print, said Simon Daniels, a program manager for Microsoft's typography group.
That's why the company changed its defaults in Office 2007 from Arial and Times New Roman to Calibri and Cambria, he said.

Sunday, September 13, 2009

Canon DSLR Error 99

The "Error 99″ is generic in nature as the exact cause of the error is undetermined until examined by a Canon Factory technician. This error condition may be caused by several different factors. To assist in narrowing down the possible cause of this error we have provided the following troubleshooting checklist. Please note not all items will apply depending on your camera configuration. After attempting each procedure, attempt to use the camera to determine if the error condition is resolved.

NON-CANON LENS
A non-Canon lens when used on a Canon EOS body may not provide full electronic communication and may cause error “99″ to be displayed. To determine if this is the source of the error, considering testing your camera with a Canon EF lens. You may need to consider having your lens manufacturer inspect your lens for communication/compatibility issues with the Canon EF auto-focus system if the issue only occurs with your non-Canon lens. Usually such issues can be corrected through hardware and/or firmware updates provided by the lens manufacturer. However, Canon does not endorse or provide any guarantees of reliability when third party lenses are used.

CLEANING CONTACTS
Oils, dirt, dust and other factors may cause communication issues between the camera body and the attached lens. Please find instructions below to correctly clean the contacts on the lens and on the camera body.

- Remove the lens from the camera body
- Using the “eraser head” of a standard pencil, gently clean the contacts on the lens
- While holding the camera in a downward position (to avoid debris from falling into camera), clean the contacts (pins) on the lens mount
- After cleaning the lens and body contacts, use a soft cloth to gentle wipe the contacts clean
- Attempt to use the camera again to see if the problem has been resolved.

INSUFFICIENT OR LOW BATTERY POWER
- Ensure the battery pack being used has sufficient power (if in doubt recharge battery pack)
- Remove and re-attach the battery to ensure a proper connection (remove the battery pack for at least 60 seconds)
- If a battery grip is being utilized, remove the grip to determine if this is the cause of the error

LENS ISSUE
- Remove and re-attach the lens to see if the error clears.
- To further determine the source of this condition, you may consider testing the camera with another lens. If this error seems to occur only with a specific lens, the lens may require inspection.

MEMORY CARD
- It some circumstances, this error can be due to the memory card be used.
- Attempt to use another memory card in the camera, to see if the condition clears.
- Additionally it is recommended the card be formatted in the camera for best compatibility. For more information on formatting the memory card, consult your camera’s operational manual.

RESETTING CAMERA
- If all the above suggestions have failed to resolve this condition, then it is recommended the camera be reset to default settings.
- To reset the camera to default settings, it is necessary to be in one of the creative shooting modes (i.e P, Tv, Av, M).
- Reset any personal or custom functions as well (if applicable).

If "Error 99″ continues to display, I would like to suggest that your EOS body be forwarded directly to our Factory Service Department at the address noted below. Upon receipt, we will have a technician throughly inspect your camera body and advise you of the findings. We will then be in a better position to determine how we may best assist you in this matter. Please include your name, address, daytime telephone number, copy of your bill of sale and a brief description of the symptom(s). Upon receipt, we will have a technician thoroughly inspect your product and advise you of the findings.

Thursday, August 20, 2009

15 Malaysia

1.


2.

If u did not get the meaning, u can refer here.

3.


4.


5.


6.


7.


8.


9.


10.


11.


12.


13.


14.


15.