Archive for March, 2009

An unhandled exception has occured

Few days ago I got the following error on a pc.

error message

The problem occurs because Microsoft Data Access Components (MDAC) is not installed on the computer. The .NET application uses MDAC to access the data from the database.

To resolve this problem, I installed MDAC on the computer. I downloaded MDAC from the following Microsoft Developer Network (MSDN) Web site:Data Access downloads

And now the problem is solved.

Leave a Comment

Can not view images on MS Outlook 2003

Few days ago I got a problem on MS outlook that it could not view images. I solved the error on following way.

1. Go to run from start menu

2. Type regedit

3.Go to HKEY_USER\Software\Microsoft\Office\11.0\Outlook\Security\OutlookSecureTempFolder

4. In right pane Navigate to the value of this key %USERPROFILE%\LocalSettings\Temporary Internet Files\OLK3D where OLK3D Value change in different values

Leave a Comment

Thayet Myo Hacking Day

2 dyas ago I found that there is some lines on desktop “Thayet Myo Hacking Day”. It was a virus/worm. It slow down the pc. I removed the virus on following way.

1.  Open My Computer, click on tools and select Folder option.

2. Go to View Tab, and select “Show Hidden files and folder” and uncheck “Hide extensions for known file system” and “Hide protected operating system files (recommended)”.

3. Start the pc on Safe mode.

4. Delete the explorer.exe files in C:\recycler, C:\Windows\Backup and C:\.

5. Open regedit and delete explorer file in hkey_local_machine/software/microsoft/windows/current version/run .

6. Restart the pc. Update the AV installed on your pc and scan whole HDD.

Comments (9)

Installation of Apache Tomcat with truted HTTPs

I have done it for Debian. Trusted HTTPS configuration is the last page. I took help from the URL:

Apache2, mod_jk, apache tomcat 5.5.16,  JDK, openssl, libapache-mod-ssl

Step by step Configuration:
1. Install apache2. For tomcat we have to change some from the normal configuration. (I folowed the URL )

2. Install JDK at Debian. (I followed the URL ).
3. Install and Configuring Tomcat.
a. Download the tar.gz file from
b. extract the files using following commands.
#cd /downloads #unp apache-tomcat-5.5.16.tar.gz

#mv apache-tomcat-5.5.16 /usr/lib

c.#cd /usr/lib

d. Now create a symbolic link called apache-tomcat to the CATALINA_HOME by the following command.
#ln -s apache-tomcat-5.5.16 apache-tomcat

e. #cd /usr/lib/apache-tomcat/bin

f. #./

4. Install and Configure mod_jk (I followed the URL

5.  Configuring Tomcat and Apache. (I followed URL

a. First create the file in your Apache2 root directory.

b. open the file and add some lines.(For details

c. Add some  lines at /etc/apache2/apache2.conf file (For details

d. add a user tomcat at a group tomcat.

e. change the user and group of the Tomcat path

f. change the password of tomcat.

g. start and stop tomcat server using tomcat user

h. restart apache2.

6. Creating self signed SSL Certification Using OpenSSL (for details )

a. install openssl and libapache-mod-ssl

b. create a workable directory.

c. create a database for the certificates we will sign

d. We have to add some lines to openssl.cnf (for deatils check

e. Run the following command:

openssl req -new -x509 -extensions v3_ca -keyout private/cakey.pem \

-out cacert.pem -days 3650 -config ./openssl.cnf

7. Creating a Certificate Signing Request (CSR):

a.Our configuration file needs some more definitions for creating non-CA certificates. Add the following at the end of the file:

[ v3_req ]
basicConstraints = CA:FALSE
subjectKeyIdentifier = hash

b. insert the following line to the req section after the distinguished_name line as shown:

distinguished_name = req_distinguished_name
req_extensions = v3_req

c. Now we are ready to create first certificate request.

d. openssl req -new -nodes -out req.pem -config ./openssl.cnf

e. openssl req -in req.pem -text -verify -noout

f.Signing a certificate: Insert some line at openssl.cnf file (for detail

g. openssl ca -out cert.pem -config ./openssl.cnf -infiles req.pem

h. Installing the certificate and key.

cat key.pem cert.pem  key-cert.pem

i. After this step, you have three installable components to choose from: A private key in key.pem, A certificate in cert.pem, A combined private key and certificate in

Copy the appropriate files into the locations specified by the instructions for your application and system. Restart the applications, and you are in operation with your new certificate.

j. Apache (For details URL

k. Stunnel (For Details URL

l. Distributing CA Certificates (For Details URL

m. Renewing Certificates(For Details URL

Leave a Comment