Saturday, December 28, 2013

Recent Activity

It’s fun to check my email account recent activity. Here is the fun.
Someone attempted to log in to my account from other countries. It is good to check activity log in your Gmail, Hotmail, Yahoo, Facebook, and other accounts frequently.

Saturday, October 12, 2013

How to opt out Google Shared Endorsements

Google updated their Terms of Service on Oct. 11, 2013. Your Profile name and photo might appear in Google products (including in reviews, advertising and other commercial contexts). If you don’t want your name and photo appear, you must opt out. To opt out Google Shared Endorsements:
  1. Visit this page https://plus.google.com/settings/endorsements?hl=en
  2. Uncheck the box next to Based upon my activity, Google may show my name and profile photo in shared endorsements that appear in ads. 
  3. Click the Save button. 
  4. Click the Continue button on the next dialog.

    Monday, September 16, 2013

    ASP.NET Questions and Answers – Part 5

    What is differences between an ADO.NET Dataset and an ADO Recordset?

    • ADO RecordSet looks like a single table. ADO.Net DataSet is collection of single or more tables.
    • ADO RecordSet can hold data from a single data source. ADO.Net DataSet can hold data from any data sources.
    • ADO RecordSet is a connected environment. ADO.NET DataSet is a collected of tables and it is a disconnected environment i.e., there is no constant connection with database.

    What is the parent class of the Web server control?

    The System.Web.Ul.Control class is the parent class for all Web server controls.

    What are the various ways of authentication techniques in ASP.NET?

    • Windows Authentication - This is the default authentication technique. It can work with any form of Microsoft Internet Information Services (IIS) authentication, such as Basic, Integrated Windows authentication (NTLM/Kerberos), Digest, and certificates. The syntax of Windows authentication mode is given as follows:
    • Forms Authentication - You can specify this mode as a default authentication mode by using the following code snippet:
    • Passport - This mode works with Microsoft Passport authentication, as shown in the following code snippet:

    Related posts:

    Wednesday, September 11, 2013

    Connect to Windows Share from Ubuntu

    When I attempted to connect to Windows Share from Ubuntu 12.04, I got this error message: "Failed to retrieve share list from server"

    Found solution from UbuntuForums.org (http://ubuntuforums.org/showthread.php?t=1082148&page=12&p=9762937#post9762937). Enter "smb://192.168.123.123" where 192.168.123.123 is the IP address of Windows Share, it bring up the list of shared folders on Windows machine.
    Now, I just entered the user name and password to get in.

    Friday, September 6, 2013

    Using ODBC 32-bit on 64-bit Operating System

    Which ODBC driver should we install on 64-bit machine using Windows Server 2008 R2, Windows Server 2012, Windows 7, or Windows 8? It would depend. When I installed MySQL ODBC 64-bit driver on Windows 8.1 Preview, it worked when I added a new DSN. But, it did not work when Microsoft Access 2007 application made ODBC call to MySQL server.

    What wrong? It took me couple hours to figure out. Microsoft Access 2007 may not work with other 64-bit driver or program yet. Installed MySQL ODBC 32-bit solve the problem.

    On Windows 8.1, there are two ODBC Administrors under Control Panel – Administrative Tools. One for ODBC Datasources 32-bit and one for ODBC Datasources 64-bit. On Windows Server 2008 R2, there is only one reference to ODBC Administrator. This is 64-bit. Where is 32-bit? To add or manage DSN for ODBC 32-bit, you need to call program odbcad32.exe in C:\Windows\SysWOW64\

    Hope this help.

    Thursday, August 22, 2013

    How to access Wamp Server running on Windows 2008 from other computer?

    The firewall rules on Windows 7 or Windows 2008 or later version may not allow you access to your web site running by WampServer from other computer. To fix this problem:

    Step 1: Update httpd.conf to add this line
    Allow from 192.168.1.0/255.255.255.0 # for LAN
    #or
    Allow from all # for any computer in the world
    Remember to restart Apache server after change the httpd.conf

    Step 2: Check Windows Firewall.
    • Is the port 80 open?
    • Is the Apache Web Server (\wamp\bin\apache\Apache2.4.4\bin\httpd.exe allow to receive the request from other?

    Saturday, August 17, 2013

    WAMP

    WAMP stands for Microsoft Windows operating system, Apache web server, MySQL database, and PHP general-purpose scripting language for server side Web development. Among WAMP server packages, I like WampServer since it easy to instal, have latest version from Apache, MySQL and PHP and it's free. Before you install the WampServer, you need to make sure your computer have:

    • Microsoft Visual C++ 2010 run-time. Without Microsoft Visual C++ 2010 run-time, you will see the error message "vcr100.dll missing" when install.
    • Microsoft .NET Framework 3.5.1. This fixed the problem 'aestan tray menu has stopped' when you start the WampServer

    To install Microsoft Visual C++ 2010 Redistributable Package (x64) ( http://www.microsoft.com/en-us/download/details.aspx?id=14632 )

    On Windows 2008R2 server, make sure .NET Framework 3.5.1 enable. It disable by default. ( http://social.technet.microsoft.com/Forums/windowsserver/en-US/ac1bf719-0a88-4b5d-be98-395f2623e805/what-version-of-net-framework-comes-with-windows-2008-r2 )

    How to Install Keka on macOS

    Download latest version from https://www.keka.io/en/ Copy the MD5 hash value from Keka website to compare later (MD5: 8729f9d08d10293fa1ee65...