Category: Online

  • Cannot load Counter Name data because an invalid index ” was read from the registry

    Cannot load Counter Name data because an invalid index ” was read from the registry When we are trying to read system performance counters, some time we will get this type of error on machines. “Cannot load Counter Name data because an invalid index ” was read from the registry” To fix the issue: Click…

  • Search in MSSQL tables

    Sometime we need to reverse engineering in the database tables to find a specific values, we can find the column name easily but in large database, to search a specific key value is too hard. From below query we can easily search value in all tables, it will list column with table in the result.…

  • Android Gmail App not find email addresses / contacts that emailed before?

    Sometimes after installing the application on mobile devices,  due to permission popup and without reading the message users generally select Allow / deny.  This will cause that we are not able to select the email / or contacts while sending the email from the email app.  To resolve check the following things: Went to Android…

  • Installation issue on ubuntu: Could not get lock /var/lib/dpkg/lock

    Sometime when we install or update any package on the Ubuntu we can get error related to dpkg. So we need to delete lock file once from the below locations and restart the machine. sudo rm /var/lib/apt/lists/lock sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock

  • How to install Koha – A Library Software on Ubuntu

    Step 1: Execute the script by giving the following command: #!/bin/bash #export HTTP_PROXY_HOST=10.3.100.207 #export HTTP_PROXY_PORT=8080 wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add – echo deb http://debian.koha-community.org/koha stable main | sudo tee /etc/apt/sources.list.d/koha.list sudo apt-get update sudo apt-get install libgd-perl sudo apt-get upgrade sudo apt-get install koha-common Koha installation gives error related with apache2-mpm-itk issue. The…

  • Get last and current quarter in javascript

    [js] function getQuarter(id) { var d = new Date(); var quarter = Math.floor((d.getMonth() / 3)); switch (id) { case “Current”: var firstDate = new Date(d.getFullYear(), quarter * 3, 1); var endDate = new Date(firstDate.getFullYear(), firstDate.getMonth() + 3, 0); break; case “Previous”: var firstDate = new Date(d.getFullYear(), quarter * 3 – 3, 1); var endDate =…

  • JSON date to Date object – javascript

    While working with web services or API with json return, we will get date values in different format, we can’t use this as is where required. To convert to date object we need to extract integer value and then pass to Date object, below example shows how to get valid date object. [javascript] var json…

  • How to fix the outlook issue when its prompting the password again and again

    We are using Microsoft Outlook on our desktops or laptops to view emails offline. Some times on start the outlook it prompt us to provide valid password. After providing valid password it prompt again. This will be some irritating. To fix this type of issue we do have 2 ways: Remove the saved credentials of…

  • Only Office Error: Server connection lost. The document cannot be edited right now

    After hosting of Only Office some time users can get the error “Server connection lost. The document cannot be edited right now“.? To resolve this error we can remove 2 values from the web.config key of the Document Server setup. By default values: <add key=”editor.settings.coauthoring.url” value=”/coauthoring” /> <add key=”editor.settings.spellchecker.url” value=”/spellchecker” /> Remove values like that:…

  • How to enable HTTP Compression of Static and Dynamic Contents IIS

    Enabling compression of static and dynamic contents of your website will be more help to load your website faster on browsers. To enabling both you must have to install “Dynamic Compression” and “Static Compression” on the server features and roles. Open server manager Roles > Web Server (IIS) Role Services (scroll down) > Add Role…