tag:blogger.com,1999:blog-80621492301914022232024-02-19T05:12:50.485-08:00Application DevelopmentWeb application Sharing including ASP, ASP.NET 1.0 (C#) AND ASP.NET 2.0 (C#) MS SQL 2005 Server, Life, TravellingUnknownnoreply@blogger.comBlogger229125tag:blogger.com,1999:blog-8062149230191402223.post-64399774063025070422020-01-01T00:15:00.000-08:002020-01-01T00:15:39.928-08:00Codeigniter mode rewrite not working in AWS EC2 Ubuntu The server is newly deployed in AWS EC2 running Ubuntu 16.04, Apache/2.4.18 web server with PHP 7.0.33<br />
<br />
After uploading the new Codeigniter files into the server, the route is not working. In my case, i am uploading the files to /var/www/html/myfiles and i access through IP address for example:<br />
http://xxx.xxx.xxx.xxx/myfiles<br />
<br />
The files in running well in my local.<br />
<br />
There are a few steps that need to perform in order to get it working<br />
<br />
<b>Step 1 — Enabling mod_rewrite</b><br />
We need to activate mod_rewrite. It’s already installed, but it’s disabled on a default Apache installation. Use the a2enmod command to enable the module:<br />
<br />
<b><i>sudo a2enmod rewrite</i></b><br />
<br />
This will activate the module or alert you that the module is already enabled. To put these changes into effect, we need to restart Apache.<br />
<br />
<b><i>sudo systemctl restart apache2</i></b><br />
<br />
<br />
<b>Step 2 — Enable AllowOverrideAll in default.conf</b><br />
<br />
<b><i>sudo nano /etc/apache2/sites-available/000-default.conf</i></b><br />
<br />
Inside that file, you will find a <VirtualHost *:80> block starting on the first line. Inside of that block, add the following new block so your configuration file looks like the following. Make sure that all blocks are properly indented.<br />
<br />
/etc/apache2/sites-available/000-default.conf<br />
<br />
<VirtualHost *:80><br />
<i><Directory /var/www/html></i><br />
<i> Options Indexes FollowSymLinks MultiViews</i><br />
<i> AllowOverride All</i><br />
<i> Require all granted</i><br />
</Directory><br />
<br />
. . .<br />
</VirtualHost><br />
<br />
Save and close the file. To put these changes into effect, we need to restart Apache.<br />
<br />
<b><i>sudo systemctl restart apache2</i></b><br />
<br />
Now, we need to create an .htaccess file in the web root.<br />
<br />
<i><b>sudo nano /var/www/html/.htaccess</b></i><br />
<br />
Add this line at the top of the new file to activate the rewrite engine.<br />
<br />
/var/www/html/.htaccess<br />
<br />
<i>RewriteEngine on</i><br />
<br />
Save the file and exit.<br />
<br />
Now, it working well when I access to http://xxx.xxx.xxx.xxx/myfiles<br />
<br />
<br />
<br />coderhttp://www.blogger.com/profile/05425497146902463920noreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-43134544153886554392019-05-23T01:40:00.001-07:002019-05-23T01:41:49.052-07:00Permissions 0644 for xxxx.pem are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Permission denied (publickey)<br />
Facing error when try to SSH to my ubuntu server from Mac<br />
<br />
<br />
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<br />
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @<br />
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<br />
Permissions 0644 for '/Users/xxxx/Desktop/Working Folder/xxxx.pem' are too open.<br />
It is required that your private key files are NOT accessible by others.<br />
This private key will be ignored.<br />
Load key "/Users/xxxx/Desktop/Working Folder/xxxx.pem": bad permissions<br />
ubuntu@xxx.xxx.xxx.xxx: Permission denied (publickey).<br />
Keiths-MBP:~ keith$ ssh -i '/Users/xxxx/Desktop/Working Folder/xxxx.pem' ubuntu@xxx.xxx.xxx.xxx<br />
_________________________________________________________________________________<br />
<br />
To solve the problem, change the file 'xxxx.pem' permission to 600.<br />
<br />
Open Mac Terminal and enter command line below.<br />
<br />
<b>sudo chmod 600 '/Users/xxxx/Desktop/Working Folder/xxxx.pem'</b><br />
<b><br /></b>
try the SSH again, problem solved.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-43356455946350860132015-08-25T09:25:00.000-07:002015-08-27T07:06:23.615-07:00Touch screen not working in Google Chrome after upgrade to Windows 10I have upgraded to windows 10 from windows 8.1 and following with the upgrade, touch screen in google chrome become not working. After google around, i found one solution which solve my problem.<br />
<br />
<span style="text-align: center;">1. Enter chrome://flags in the URL</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3j9IzaBNg2d_dtHHjvHKaGh9PwT78eIZHtVsExVikgJrrDA7fApW642sgu8gIKzeAUXU1kfzl8_N9dyWki28JJ6yKisKgFNmuwfAbP0s_rw9EGipF_nOPuubOrpiBO4apbc17A9Yjsk0X/s1600/chromeflag.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3j9IzaBNg2d_dtHHjvHKaGh9PwT78eIZHtVsExVikgJrrDA7fApW642sgu8gIKzeAUXU1kfzl8_N9dyWki28JJ6yKisKgFNmuwfAbP0s_rw9EGipF_nOPuubOrpiBO4apbc17A9Yjsk0X/s320/chromeflag.png" width="320" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<div>
<br /></div>
<div>
<br /></div>
<div>
2. Change the "Enable Touch Events" setting from "Automatic" to "Enable".</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1D6rVE-f1mNqKe8HPdAtDljYPtBeilXg8Emf891AZDhd1BM77updVPLpr-NldDJ5rUEMh-GDOePutmo7lPB9HWmy1NctpmziLGYmrbcPvB2Vm3i3PYb4exqqzBpNnXdXNduN4AF6MsyEW/s1600/chromeflag.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1D6rVE-f1mNqKe8HPdAtDljYPtBeilXg8Emf891AZDhd1BM77updVPLpr-NldDJ5rUEMh-GDOePutmo7lPB9HWmy1NctpmziLGYmrbcPvB2Vm3i3PYb4exqqzBpNnXdXNduN4AF6MsyEW/s320/chromeflag.png" width="320" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
Restart google chrome and try again.</div>
<div>
<br /></div>
<div>
i am using Dell Inspiron 14 7000 series. It works for me. It works in Asus, Lenovo, Toshiba, Surface Pro and etc.</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-25185696607177031672014-11-09T18:20:00.002-08:002014-11-09T18:20:26.590-08:00Connect to AWS RDS mysql remotely to VPCThere are different between connecting to MySQL (RDS) hosted in Amazon Web Services (AWS) in VPC and without VPC remotely from our computer/local.<br />
<br />
For the RDS is not in VPC, we can add our local IP to RDS Dashboard -> Security Group.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPH_P9Fz9zDtig13x-QE-fJNMiIEq7lA4Ayij2yjHPrIvrjzcQVtTW5GJrNvcoQPCuBmRf57rhwq2_SrK_EJTHXvyIFnMl9TUkPU932_C0_ow57B5kt92bIeGt_5UCvqWSuqJ0ZELEwjkJ/s1600/awsRDSwoVPC.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPH_P9Fz9zDtig13x-QE-fJNMiIEq7lA4Ayij2yjHPrIvrjzcQVtTW5GJrNvcoQPCuBmRf57rhwq2_SrK_EJTHXvyIFnMl9TUkPU932_C0_ow57B5kt92bIeGt_5UCvqWSuqJ0ZELEwjkJ/s1600/awsRDSwoVPC.png" height="171" width="400" /></a></div>
<br />
The case is totally different if RDS is in VPC. We are not allow to do any setting or add our local computer IP here.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX0iuY9MJTf_P-Wf9L9txySRiQy2LC8oFFvD0RB0G70rhPgkMfyZ-Hx6ptMQiEK-lDlli94HPUXXknTCW_YIShLiJlJKsBZgfTx8Dj2bgCI78T0xcqqiz9g6IjooK7GocV5P2H5JKQ1PH0/s1600/awsRDSVPC.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX0iuY9MJTf_P-Wf9L9txySRiQy2LC8oFFvD0RB0G70rhPgkMfyZ-Hx6ptMQiEK-lDlli94HPUXXknTCW_YIShLiJlJKsBZgfTx8Dj2bgCI78T0xcqqiz9g6IjooK7GocV5P2H5JKQ1PH0/s1600/awsRDSVPC.png" height="140" width="400" /></a></div>
<br />
In order for us to access/connect to MySQL (RDS) in AWS that is in VPC, we need to add our IP in VPC which is under EC2 Dashboard -> Security Group. Add local IP to the security group that is using the RDS. In My case is Default group.<br />
Please follow the step by step guide in the print screen.<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDqeK1-dI8wwstMhC3_UGGqZJifUUyRg5aMO3faf1IoZMaq-ZKiCMtM0QOSTHcOZMM8xHGPMDIMvYJKQUSj5Msk8jaCNaIZQgM47CWUWwWPEnFyfTYFHuEO2gLyeZAWKc6cArETeQcibiE/s1600/AccessToRDSFromLocal.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDqeK1-dI8wwstMhC3_UGGqZJifUUyRg5aMO3faf1IoZMaq-ZKiCMtM0QOSTHcOZMM8xHGPMDIMvYJKQUSj5Msk8jaCNaIZQgM47CWUWwWPEnFyfTYFHuEO2gLyeZAWKc6cArETeQcibiE/s1600/AccessToRDSFromLocal.png" height="193" width="400" /></a></div>
<br />
<br />
Hope this helps.<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-14283242564101641762014-11-01T09:24:00.000-07:002014-11-01T09:24:23.073-07:00SQL Server 2008 is not a valid login or you do not have permissionFacing issue when try to install Microsoft SQL Server 2008 R2 in Windows 7.<br />
<br />
TITLE: Microsoft SQL Server 2008 R2 Setup ------------------------------ The following error has occurred: '' is not a valid login or you do not have permission. For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&<br />
<br />
Solution:<br />
<br />
Most of the people will face this error if the computer name and the user name is the same. Once change one of these, problem will be solved.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-57636923182119813542014-10-16T22:41:00.001-07:002014-10-17T01:03:11.036-07:00404 - File or directory not found. when use codeigniter in windows iis Facing error message when deploy codeigniter php site to windows server 2013 (iis8)<br />
<br />
<br />
<h2 style="background-color: white; color: #cc0000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 1.7em; margin: 0px;">
404 - File or directory not found.</h2>
<h3 style="background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 1.2em; margin: 10px 0px 0px;">
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>
<br />
The main issue is because of the url rewrite doesn't work in IIS without proper setting in web.config (IIS doesn't read .htacess)<br />
<br />
What we need to do is open web.config<br />
<br />
Add code below into the correct<br />
<br />
<br />
<pre class="lang-php prettyprint prettyprinted" style="background: rgb(238, 238, 238); border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 17.8048000335693px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;"><rewrite>
<rules>
<rule name="Rule" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
<add input="{URL}" pattern="^/favicon.ico$" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</pre>
<br />
<div>>
<br /></div>
<br />
<br />
If you are want to create the new web.config without others configuration, the web.config shoud looks like this<br />
<br />
<pre class="lang-php prettyprint prettyprinted" style="background: rgb(238, 238, 238); border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 17.8048000335693px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;"><?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpErrors errorMode="Detailed" />
<asp scriptErrorSentToBrowser="true"/>
<rewrite>
<rules>
<rule name="Rule" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
<add input="{URL}" pattern="^/favicon.ico$" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
</pre>
Hope this helps
<br />
<br />
<br />
<br />
<br />Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-8062149230191402223.post-72045790971401185562014-09-26T08:55:00.000-07:002014-09-26T08:55:30.786-07:00Cannot modify header information - headers already sent byFacing error when try to use codeigniter and the page won't redirect after update / edit<br />
<br />
<pre class="lang-php prettyprint prettyprinted" style="background: rgb(238, 238, 238); border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 17.8048000335693px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;"><code style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> A PHP </span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Error</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> was encountered
</span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Severity</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Warning</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">
</span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Message</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Cannot</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> modify header information </span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">-</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> headers already sent </span><span class="kwd" style="background: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;">by</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">(</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">output started at xxxxx</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="lit" style="background: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;">1</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">)</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">
</span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Filename</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> libraries</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">/</span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Session</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">.</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">php
</span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Line</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Number</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="lit" style="background: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;">675</span></code></pre>
<pre class="lang-php prettyprint prettyprinted" style="background: rgb(238, 238, 238); border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 17.8048000335693px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;"><code style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="lit" style="background: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;"><pre class="lang-php prettyprint prettyprinted" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: black; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; line-height: 17.8048000335693px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;"><code style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> A PHP </span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Error</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> was encountered
</span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Severity</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Warning</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">
</span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Message</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Cannot</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> modify header information </span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">-</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> headers already sent </span><span class="kwd" style="background: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;">by</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">(</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">output started at xxxxx</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="lit" style="background: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;">1</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">)</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">
</span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Filename</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> helpers</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">/</span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">url_helper</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">.</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">php
</span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Line</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="typ" style="background: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Number</span><span class="pun" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="pln" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="lit" style="background: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;">542</span></code></pre>
</span></code></pre>
<br />
How to solve my issue?<br />
<br />
open index.php and add ob_start(); like below<br />
<br />
ob_start();<br />
<br />
/*<br />
*---------------------------------------------------------------<br />
* APPLICATION ENVIRONMENT<br />
*---------------------------------------------------------------<br />
*<br />
* You can load different configurations depending on your<br />
* current environment. Setting the environment also influences<br />
* things like logging and error reporting.<br />
*<br />
* This can be set to anything, but default usage is:<br />
*<br />
* development<br />
* testing<br />
* production<br />
*<br />
* NOTE: If you change these, also change the error_reporting() code below<br />
*<br />
*/<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-83830416253230183812014-09-04T09:24:00.001-07:002014-09-04T09:24:23.301-07:00duplicate or clone MySQL database table Many will facing issue when try to duplicate or clone database table in MySQL.<br />
Below is the script and it's tested working well.<br />
<br />
New table: tbltransaction_new<br />
Existing table: tbltransaction<br />
<br />
CREATE TABLE tbltransaction_new LIKE tbltransaction;<br />
INSERT tbltransaction_new SELECT * FROM tbltransaction;Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-85515525709151615352014-08-10T02:14:00.001-07:002014-08-10T02:16:11.174-07:00mozilla thunderbird not respondingI'm using the latest version of Mozilla Thunderbird which is version 31.0<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUJ6d0c2XHuIiUvnCNzHJjZ7KbXB0MnZ6TAFgXZSUurPyAne3Melamk3tgtZhaEk5B91oV8rKgKm3O1yHLGbUrJ4OykREbnkfvGuQBdBQU48n4utsDnnXdbZix9Kr4foDmIWz0UzYw1Hb8/s1600/Thinderbird-31.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUJ6d0c2XHuIiUvnCNzHJjZ7KbXB0MnZ6TAFgXZSUurPyAne3Melamk3tgtZhaEk5B91oV8rKgKm3O1yHLGbUrJ4OykREbnkfvGuQBdBQU48n4utsDnnXdbZix9Kr4foDmIWz0UzYw1Hb8/s1600/Thinderbird-31.png" height="220" width="400" /></a></div>
<br />
<br />
Each time i try to send and receive email, it show Mozilla Thunderbird (Not Responding).<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCXnoGvmhfRPzC5mSubbA5wzED5BI8aFfj0sxq5xjUaz2Gb2f2xC7Ik9U___Zp26_zV1Jefu41A46Ohyphenhyphen-Ll54Drz6UacBcRjoUxfl02Z7vtb_RtkSSYey_9uq-srz9WCe-mK7BkUr_yvoo/s1600/Mozilla+Thunderbird+(Not+Responding).png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCXnoGvmhfRPzC5mSubbA5wzED5BI8aFfj0sxq5xjUaz2Gb2f2xC7Ik9U___Zp26_zV1Jefu41A46Ohyphenhyphen-Ll54Drz6UacBcRjoUxfl02Z7vtb_RtkSSYey_9uq-srz9WCe-mK7BkUr_yvoo/s1600/Mozilla+Thunderbird+(Not+Responding).png" height="51" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br />
Not forgot to mention that i'm using McAfee Internet Security as antivirus. After doing some debugging, i've found out that disable Real Time Scanning can solve my problem. The issue is this might open to virus or spyware if i disable McAfee real time scanning. I go to McAfee FAQ and found that there is workaround stated in the FAQ.<br />
<br />
McAfee recommend us to Disable Email Attachment Scan, steps as below<br />
<br />
<ol>
<li> Double-click the M icon in your taskbar.</li>
<li> Open the Virus and Spyware Protection drawer.</li>
<li> Select Real-Time Scanning.</li>
<li> Open the Settings drawer.</li>
<li> Remove the check from the box beside Scan these attachments and locations: Email attachments.</li>
</ol>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisofYX7Bd7Tyh-yjA8gRxeQT_62LDa3mlFtlEvhmLlQc4GBfTHhKF_0RIGudMf-rn47UmEIcWYY2uKWo8ssIgZRimkmvp_5QhJIio0y58OQRXEL6W2j1joPueA78PAWGsz6TVIGUbLyuC4/s1600/Real-time-scanning-email-attachments.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisofYX7Bd7Tyh-yjA8gRxeQT_62LDa3mlFtlEvhmLlQc4GBfTHhKF_0RIGudMf-rn47UmEIcWYY2uKWo8ssIgZRimkmvp_5QhJIio0y58OQRXEL6W2j1joPueA78PAWGsz6TVIGUbLyuC4/s1600/Real-time-scanning-email-attachments.png" height="256" width="400" /></a></div>
<br />
<br />
After disable the email attachment scanning, my mailbox work like normal.<br />
<br />
Problem solved but i have to be extremely careful when open the email attachment. McAfee suggest that we manually scan the attachment before open it.<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-61458492717159754472014-06-03T02:09:00.000-07:002014-06-03T02:09:04.961-07:00sign in to google drive ... stuck in one moment pleaseI've installed google drive in windows server 2012 for data backup purposes but when i try to login to google drive, it's stuck in one moment please without further action.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8nzT6imwo2HC2BpqbGry8HKf5791hIiMoP7MPqmNyiDoHNzFkkUenVfltcoaK43ffc2lhR4BOLYaqK-9tRhov4Zc6OD14jIMjb_43RfHCyoXd-2Wz9raEPBr3IoKg67NWFO_XFQktZ2nY/s1600/Google_Drive_Login_One_Moment_Please.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8nzT6imwo2HC2BpqbGry8HKf5791hIiMoP7MPqmNyiDoHNzFkkUenVfltcoaK43ffc2lhR4BOLYaqK-9tRhov4Zc6OD14jIMjb_43RfHCyoXd-2Wz9raEPBr3IoKg67NWFO_XFQktZ2nY/s1600/Google_Drive_Login_One_Moment_Please.png" height="285" width="400" /></a></div>
<br />
This can be solved by adding below link as trusted site in Internet Explorer.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi1t1n-FHaczCFfDtA2u5uxrpxIcJ_4UJUv5jze9Wa8H1RGB2Is5OSLmQV3zLpzg6BBZ6C2G3Iusg7Z0_KpMqUTsGQnz6F96J4fOndAYwzr5wO1NKZ9l19Kz57bDj92XGj7a_iR1VSnI6N/s1600/TrustedSite.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi1t1n-FHaczCFfDtA2u5uxrpxIcJ_4UJUv5jze9Wa8H1RGB2Is5OSLmQV3zLpzg6BBZ6C2G3Iusg7Z0_KpMqUTsGQnz6F96J4fOndAYwzr5wO1NKZ9l19Kz57bDj92XGj7a_iR1VSnI6N/s1600/TrustedSite.png" height="251" width="400" /></a></div>
<br />
<ul style="background-color: white; border: 0px; color: #444444; font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, sans-serif; font-size: 13px; line-height: 22px; margin: 1em 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
<li style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0px 2em; outline: 0px; padding: 0px; vertical-align: baseline;">www.google.com:443/HTTPS</li>
<li style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0px 2em; outline: 0px; padding: 0px; vertical-align: baseline;">accounts.google.com:443/HTTPS</li>
<li style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0px 2em; outline: 0px; padding: 0px; vertical-align: baseline;">clients3.google.com:443/HTTPS</li>
<li style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0px 2em; outline: 0px; padding: 0px; vertical-align: baseline;">talk.google.com:5222/XMPP</li>
<li style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0px 2em; outline: 0px; padding: 0px; vertical-align: baseline;">drive.google.com:443/HTTPS</li>
<li style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0px 2em; outline: 0px; padding: 0px; vertical-align: baseline;">www.googleapis.com:443/HTTPS</li>
<li style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0px 2em; outline: 0px; padding: 0px; vertical-align: baseline;">ssl.gstatic.com:443/HTTPS</li>
<li style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0px 2em; outline: 0px; padding: 0px; vertical-align: baseline;">*.docs.google.com:443/HTTPS</li>
<li style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0px 2em; outline: 0px; padding: 0px; vertical-align: baseline;">*.drive.google.com:443/HTTPS</li>
<li style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0px 2em; outline: 0px; padding: 0px; vertical-align: baseline;">*.googleusercontent.com:443/HTTPS</li>
</ul>
<br />
Once done, i can login to google drive without any problem.<br />
<br />
Can refer to below link to know more.<br />
https://support.google.com/drive/answer/2589954?hl=en&topic=14951&ctx=topicUnknownnoreply@blogger.com1tag:blogger.com,1999:blog-8062149230191402223.post-210964061947907662014-05-04T20:03:00.002-07:002014-05-04T20:03:24.158-07:00Samsung Galaxy S2 auto rotate failMy old Samsung Galaxy S2 with ICS auto rotation fail, i've try to follow some of the suggestion by doing both Calibration - Settings -> Display -> Horizontal Calibration, Settings -> Display -> Gyroscope Calibration. Sorry to say, it's fail and nothing happen.<br />
<br />
<b>My solution:</b><br />
My solution is pretty simple and it work for me. What i do is i shut down the mobile phone, <b>remove the battery and simcard</b>. After that put them back and start the mobile phone. It's like magic and it's working well now.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-37445565895849457992014-03-05T02:05:00.001-08:002014-03-05T02:11:58.297-08:00Download file from google drive directly from google drive without visit the pageTrying to make my file that already uploaded in Google Drive auto download without visit the page https://docs.google.com/file/d/<b>0BxK6LimLvhcvQ2JUSXQzLXdtUzg </b>and click on the download button.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgre_15pWdm6yVc-eh48el8em3xrpy9E2oAZqRAVarUudQqki9DuDtYlxHJqoMtvhE-GiXJt4NliApAGmZeYWE04VcWlv9i5H6AUqaTJXduIco3g-_13Jp-h4GHEO5EPQMwVTlF0MT4EK6D/s1600/googledrive1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgre_15pWdm6yVc-eh48el8em3xrpy9E2oAZqRAVarUudQqki9DuDtYlxHJqoMtvhE-GiXJt4NliApAGmZeYWE04VcWlv9i5H6AUqaTJXduIco3g-_13Jp-h4GHEO5EPQMwVTlF0MT4EK6D/s1600/googledrive1.png" height="186" width="400" /></a></div>
<br /><br /><br />
Many suggest that https://docs.google.com/uc?export=download&id=fileID can work where fileID in my case is <b>0BxK6LimLvhcvQ2JUSXQzLXdtUzg </b><br />
<br />
<br />
I've tried to use https://docs.google.com/uc?export=download&id=0BxK6LimLvhcvQ2JUSXQzLXdtUzg but won't download automatically but it will stay and request user to click on the confirm download link. Maybe it's because the file exceeded certain file size.<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWrcF7l-EDnfeQ3FN835v7PQaW0Ts2eRFt9vgWzuqfJkQ5s9AhEFndwnyz8MNfiTI7WtvrdVdw9uySZZFmec5yw82NeB0-TW3klyxfS1J7gLSdEpOLG3dgEXTsuArW7MrkT8zP3LAt9Lk5/s1600/googledrive2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWrcF7l-EDnfeQ3FN835v7PQaW0Ts2eRFt9vgWzuqfJkQ5s9AhEFndwnyz8MNfiTI7WtvrdVdw9uySZZFmec5yw82NeB0-TW3klyxfS1J7gLSdEpOLG3dgEXTsuArW7MrkT8zP3LAt9Lk5/s1600/googledrive2.png" height="217" width="400" /></a></div>
There is another way which is working well https://googledrive.com/host/0BxK6LimLvhcvQ2JUSXQzLXdtUzg but the problem is the downloaded file name is the file id name<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2a9ECcJLHjGbCADLmZsyK81IsCDE9fjJMQx-OnabkxK1PV4P0r7eYPL1xFMuoL5cNVfPEIeK0DBM-h9GdVEkb4gvSzfqGxr3r4xUPV_2DtfqiD59AmFQZra4z9w3nhRFPuwKrAp7TQi8w/s1600/googledrivefile.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2a9ECcJLHjGbCADLmZsyK81IsCDE9fjJMQx-OnabkxK1PV4P0r7eYPL1xFMuoL5cNVfPEIeK0DBM-h9GdVEkb4gvSzfqGxr3r4xUPV_2DtfqiD59AmFQZra4z9w3nhRFPuwKrAp7TQi8w/s1600/googledrivefile.png" /></a></div>
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-69183574333718864262014-03-02T20:40:00.003-08:002014-03-02T21:18:43.965-08:00Unable to create directory wp-content/uploads/. Is its parent directory writable by the server?I've upload and setup wordpress in windows server 2008 R2 using IIS. After successfully setup this application.<br />
<br />
Facing error "Unable to create directory wp-content/uploads/2014/03. Is its parent directory writable by the server?". Prior to that, there are already some setting have been done, please check http://dotnetfish.blogspot.com/2013/10/error-message-500-internal-server-error.html<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZopB3auKzH7YasGbq3reX0-8JbSm8AOAoiPoTkmvyWjOIEuoIeXMGEUZPjFQeDuOHVJ4F9BJaDkb5l_wYeWZphLysoAS6dSDniFSAGEkD4FoVYutCbxUqVyDKgnqoJSQnWX9bxiy4wUUq/s1600/Wordpress+upload+error.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZopB3auKzH7YasGbq3reX0-8JbSm8AOAoiPoTkmvyWjOIEuoIeXMGEUZPjFQeDuOHVJ4F9BJaDkb5l_wYeWZphLysoAS6dSDniFSAGEkD4FoVYutCbxUqVyDKgnqoJSQnWX9bxiy4wUUq/s1600/Wordpress+upload+error.png" height="232" width="400" /></a></div>
<br />
How to solve the problem? When upload the file to wordpress, the file will save into upload folder inside wp-content. What i do is add a modify permission to user IUSR and apply the setting to child folder as well.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY2LOIQBEFZIT2WCn4dP3W5_D5SMwOLN48j2_zqqeN-B1DasHs8gdvhZMYLmI7a1yrnji0JXjP66uFMuNTnuSFjCqzhjokT3Cy6GP5C1TXshGx7G23SmgmH0ajtnjQ31E8vsCGsfoHywtJ/s1600/Wordpress+upload+error+2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY2LOIQBEFZIT2WCn4dP3W5_D5SMwOLN48j2_zqqeN-B1DasHs8gdvhZMYLmI7a1yrnji0JXjP66uFMuNTnuSFjCqzhjokT3Cy6GP5C1TXshGx7G23SmgmH0ajtnjQ31E8vsCGsfoHywtJ/s1600/Wordpress+upload+error+2.png" height="370" width="400" /></a></div>
<br />
After done the setting, problem solved.<br />
<br />
<br />Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-8062149230191402223.post-62769159251162454652014-02-23T06:58:00.002-08:002014-02-24T07:03:36.913-08:00Upgrade AWS EC2 micro instance to small instance running in windows There are many discussion on upgrade Amazon Web Services (AWS) from micro instance to small instance in EC2, here i would like to share my experience on doing the upgrade safely for my micro instance that running in windows and also increate EBS size from 30GB (micro instance) to the desired EBS size (in my sample is 35GB) and also remap the elastic IP to the newly upgraded instance.<br />
<br />
in general, there are a few steps<br />
<br />
<ol>
<li>Create a AIM for current instance with desired EBS size (call it AIM-Today) </li>
<li>Create new small instance with newly created AIM (AIM-Today)</li>
<li>Login to the server using remote desktop and extend the C drive volumn</li>
<li>Remap the elastic IP</li>
</ol>
<br />
Below are step by step on how to do it.<br />
<br />
<ol>
<li>Under <b>Instances - Instances</b><br /><b>Select/checked</b> current instance that wish to upgrade from micro to small then click on <b>Action</b> button. In the dropdown list click on <b>Create Image</b><br /> <div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi71FLfUB-bIQesih1Nkshha4LDN0wIMOSYLxOFAK2J0yNxoSIiwW4MAjpucI1SlNq-b4K6a5eC5_OS5gT9JUQH61N5m_MUZ5XoZXaUsJQZw8k9KV8gaa3CHfP7wGMfOfTvoqstNrPwWKjk/s1600/Create-AMI-Current-Instance.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi71FLfUB-bIQesih1Nkshha4LDN0wIMOSYLxOFAK2J0yNxoSIiwW4MAjpucI1SlNq-b4K6a5eC5_OS5gT9JUQH61N5m_MUZ5XoZXaUsJQZw8k9KV8gaa3CHfP7wGMfOfTvoqstNrPwWKjk/s1600/Create-AMI-Current-Instance.png" height="280" width="400" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKOebBP_xZ9oAQemmrG2xknXJdl6J47xancRaP-B2mOumu8xc29x4-1o4bgxnrtVR1xdZ5QIFWnFr3eTkL0MA7Y1sf6sMVc8zHwtJInloCKIOYYpIhZIX2FQ1W6KywuCDOsVCitRCZO1IW/s1600/Tag-name.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKOebBP_xZ9oAQemmrG2xknXJdl6J47xancRaP-B2mOumu8xc29x4-1o4bgxnrtVR1xdZ5QIFWnFr3eTkL0MA7Y1sf6sMVc8zHwtJInloCKIOYYpIhZIX2FQ1W6KywuCDOsVCitRCZO1IW/s1600/Tag-name.png" height="90" style="cursor: move;" width="320" /></a></div>
<br />
</li>
<li>After click on Create Image, a popup with image option will be displayed. Enter the Image name and change the root <b>size </b>from 30GB to <b>35GB </b>(this is the desired ebs size) and click on <b>Create Image</b> button.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixeLPGqIm-dPBtPu3xSAxxIVDf1tpv6ZQh5Anw7QKt8TI9m7otgtF0uvlmsQUkZiUigXKuPF9l8Ca1FgxHXkEHk89IMQFXAOGINzBo5CsMMW4mHcMa6f8H8Mvzs54JxClNH21rpCRIPp-V/s1600/Create-AMI-Option.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixeLPGqIm-dPBtPu3xSAxxIVDf1tpv6ZQh5Anw7QKt8TI9m7otgtF0uvlmsQUkZiUigXKuPF9l8Ca1FgxHXkEHk89IMQFXAOGINzBo5CsMMW4mHcMa6f8H8Mvzs54JxClNH21rpCRIPp-V/s1600/Create-AMI-Option.png" height="202" width="400" /></a></div>
<br />
</li>
<li>A popup will be displayed to shows that create image request received.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEY2oMAMQ6NbiWwuZAcD-mK1-QgWcKVpk6Jh4925BcP4XOw9ByvhdHXh1pk84zpnlf9gW8StErhsG4Py3VHF4RDKYqPdC9NFcsfKPsElDOYGdM-Qq9kHWpTQi2XIf3opadkRtnJyekc1Kd/s1600/Create-AMI-success.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEY2oMAMQ6NbiWwuZAcD-mK1-QgWcKVpk6Jh4925BcP4XOw9ByvhdHXh1pk84zpnlf9gW8StErhsG4Py3VHF4RDKYqPdC9NFcsfKPsElDOYGdM-Qq9kHWpTQi2XIf3opadkRtnJyekc1Kd/s1600/Create-AMI-success.png" height="126" width="400" /></a></div>
<br />
</li>
<li>Under <b>Images - AMIs</b><br /><b>Select/Check</b> on newly created AMI and click on <b>Launch</b> button.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh11WmPXuAk2lsBJ2QDWGILCtqNIO5ZY-PJzaRHQL_1kqYtRiVYIsNy4RBiqhgXuqrFVF6IgUSaL3d4vGFPjIRzkjac3aCEdwMbEjm7MkoVvpM83jc1ToZHWDsAEZbuti-Vi4OntXU937Yt/s1600/launch-AMI-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh11WmPXuAk2lsBJ2QDWGILCtqNIO5ZY-PJzaRHQL_1kqYtRiVYIsNy4RBiqhgXuqrFVF6IgUSaL3d4vGFPjIRzkjac3aCEdwMbEjm7MkoVvpM83jc1ToZHWDsAEZbuti-Vi4OntXU937Yt/s1600/launch-AMI-1.png" height="165" width="400" /></a></div>
<br /><div class="separator" style="clear: both; text-align: center;">
</div>
</li>
<li>After click on <b>Launch button</b>, we need to choose instance type. For my case, i wish to upgrade to small instance so i select <b>m1.small</b> and click on <b>Next: Configure Instance Details</b> button.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr6ATQxBiJD4Zh7Q90YAilAl5S_Loqof-ZrTFSjL0WXpppOFwvz5jWOIanvXv6NlUW-fZqZ9sScqAEsDs5r6SgpAq0zU-qBe9Vv7sdHPdSDgmjfL5hV8Byg2QGKbiKQ9iaEHd-AJfm4Lgt/s1600/choose-Instance-type.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr6ATQxBiJD4Zh7Q90YAilAl5S_Loqof-ZrTFSjL0WXpppOFwvz5jWOIanvXv6NlUW-fZqZ9sScqAEsDs5r6SgpAq0zU-qBe9Vv7sdHPdSDgmjfL5hV8Byg2QGKbiKQ9iaEHd-AJfm4Lgt/s1600/choose-Instance-type.png" height="318" width="400" /></a></div>
<br />
</li>
<li>Keep the default setting in Configure Instance and click on <b>Next: Add Storage</b> button.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNEgmDv3-u91q_DzMaXhYoBoFkDNuNYnaD32W-JZ-3ANqFZyRSvM401_bFCqtHIkCQXRk0h4nQHCCCpUqf_cH1xrJjLn0BJoFvC-5eP6nbbQrl64J9g0tQQTJAJbtKaMmC8ve1btj_T0EW/s1600/configure-instance.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNEgmDv3-u91q_DzMaXhYoBoFkDNuNYnaD32W-JZ-3ANqFZyRSvM401_bFCqtHIkCQXRk0h4nQHCCCpUqf_cH1xrJjLn0BJoFvC-5eP6nbbQrl64J9g0tQQTJAJbtKaMmC8ve1btj_T0EW/s1600/configure-instance.png" height="220" width="400" /></a></div>
<br />
</li>
<li>In Add Storage stage, make sure the Size is a desired size. My case is 35GB which is correct. Click on <b>Next: Tag Instance </b>button to proceed<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOgnkz1CmSS_dDhLoMLdtt9zYfvKR3m5QtoGSeHJD_anmEl3_TE05ukukFtj9uCGmCaRiPohf1fyazpVUOMea2r1feMdqGLAyYASdVyvAq9PrOngGdVmQ3jTGoNRfKob9YsuoGpjtElhcQ/s1600/Add-storage.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOgnkz1CmSS_dDhLoMLdtt9zYfvKR3m5QtoGSeHJD_anmEl3_TE05ukukFtj9uCGmCaRiPohf1fyazpVUOMea2r1feMdqGLAyYASdVyvAq9PrOngGdVmQ3jTGoNRfKob9YsuoGpjtElhcQ/s1600/Add-storage.png" height="160" width="400" /></a></div>
<br />
</li>
<li>In Tag Instance stage, add Key Name and Value New Small Instance. This name can be changed later. Click on <b>Next: Configure Security Group</b> button to proceed.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy6ZLQZediTxr3TdICQj-a_f6EcWpJ_Pg9iYts0HIfLBEyJ8F0xo5YQ0E5BaYSTb1bfJucrb-lFpl7Yqvu2Gnb5T1KKPkJq1Umzs3xKVhSqXjjEZKwoW_YXu7CJjzmwexv-JuaBUjKPpbA/s1600/Tag-name.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy6ZLQZediTxr3TdICQj-a_f6EcWpJ_Pg9iYts0HIfLBEyJ8F0xo5YQ0E5BaYSTb1bfJucrb-lFpl7Yqvu2Gnb5T1KKPkJq1Umzs3xKVhSqXjjEZKwoW_YXu7CJjzmwexv-JuaBUjKPpbA/s1600/Tag-name.png" height="112" width="400" /></a></div>
<br />
</li>
<li>In security group setting, i select my existing security group which is using in current server . Click on <b>Review and Launch </b>button to proceed.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5JnqwZDtbwaNB3s10JBEhAxBqIlg_qfd1q2RJBWymXy7_LYZRCIFF_AdqGetGB2hWYLu16DvhyphenhyphenYUxk4yISVSIJKjP9dcFf8HVVJvZe3D6Msmur_spVLKBfvVYtiEwwUhn2uqEUnzga3Ns/s1600/security-group-config.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5JnqwZDtbwaNB3s10JBEhAxBqIlg_qfd1q2RJBWymXy7_LYZRCIFF_AdqGetGB2hWYLu16DvhyphenhyphenYUxk4yISVSIJKjP9dcFf8HVVJvZe3D6Msmur_spVLKBfvVYtiEwwUhn2uqEUnzga3Ns/s1600/security-group-config.png" height="156" width="400" /></a></div>
<br />
</li>
<li>In review stage, you can do changes if required. After all changes done, click on<b> Launch</b> button<br /><br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKqr0Dj64LBiR8ptvWyiuv6e-JCy8U9ULg7zqhxGYHglOae-Xz_Z9GqA4HraAF0Tpd7wbFjNJ5C7sv78wWz6NU9HBlh8CZmAhKVygu527aCJjaNDlCYUzBoRwUAU0GfHo92Y-7xTsOCxzh/s1600/Review-instance.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKqr0Dj64LBiR8ptvWyiuv6e-JCy8U9ULg7zqhxGYHglOae-Xz_Z9GqA4HraAF0Tpd7wbFjNJ5C7sv78wWz6NU9HBlh8CZmAhKVygu527aCJjaNDlCYUzBoRwUAU0GfHo92Y-7xTsOCxzh/s1600/Review-instance.png" height="193" width="400" /></a></div>
<br />
</li>
<li>You will be asked to enter key pair. In this case, i'll use existing key pair to launch the instance. Click on <b>Launch Instance </b>button after setting the key pair.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9wV4ynUcjuKfbl8Wt9twhAGEXCh1K7MoEKDSuICmt3PihLJuvT3a9IKl46tA7K9SOZpDwAxVIb4hcjUXAiW-ZsCjORm90FMd0Sc5UTxK1r-SybLW2ob-p6FmgI7ZfxYhSzG2hiiI5f0hM/s1600/key-pair.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9wV4ynUcjuKfbl8Wt9twhAGEXCh1K7MoEKDSuICmt3PihLJuvT3a9IKl46tA7K9SOZpDwAxVIb4hcjUXAiW-ZsCjORm90FMd0Sc5UTxK1r-SybLW2ob-p6FmgI7ZfxYhSzG2hiiI5f0hM/s1600/key-pair.png" height="226" width="400" /></a></div>
<br />
</li>
<li>After Launch the instance we have to wait until it fully launched. Go to check the Public IP and remote into the server using <b>Remote Desktop</b>.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG3inhw-FAoug0a1vL3hYfC7uI57Q8lXQA8-lVPeHPb_eAFvCfzrMr0PcHsbLzetMzwnbiweh2UIlmKNIV5bNvyhyphenhyphenYqTMsANVHvHMI9nJUUdXJbCeULjZPC9zmHZkXzzca5QWiKri3geuS/s1600/Runnig-Instance-IP.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG3inhw-FAoug0a1vL3hYfC7uI57Q8lXQA8-lVPeHPb_eAFvCfzrMr0PcHsbLzetMzwnbiweh2UIlmKNIV5bNvyhyphenhyphenYqTMsANVHvHMI9nJUUdXJbCeULjZPC9zmHZkXzzca5QWiKri3geuS/s1600/Runnig-Instance-IP.png" height="207" width="400" /></a></div>
</li>
<li>After remote into the server using Remote Desktop with the administrator login and password (Same as current server remote desktop login). Go to My Computer and check on the harddisk size. Notice that the size is exactly the same as Micro instance which is 30GB. This is because we haven't allocate the newly added 5GB into C drive. We will need to extend the volume to this drive in the next few steps.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkozezQnJo-VIAG6N8IAULuBP559CjtS42OjBCi9Pi54Ua6wsgH23Z0DGUNDnJoK18hC1A91zcQ2CIe7hISzzktOXZFy0oVIsu9leY7gBo1qK8WvshyArdd3guhsy6umBllnFeqY5Tszpp/s1600/micro-Instance-size.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkozezQnJo-VIAG6N8IAULuBP559CjtS42OjBCi9Pi54Ua6wsgH23Z0DGUNDnJoK18hC1A91zcQ2CIe7hISzzktOXZFy0oVIsu9leY7gBo1qK8WvshyArdd3guhsy6umBllnFeqY5Tszpp/s1600/micro-Instance-size.png" height="320" width="400" /></a></div>
<br />
</li>
<li>Open on <b>Server Manager</b> and expend the <b>Storage </b>on the left menu. Click on <b>Disk Manager</b> to view the disk in this computer. Notice that there is unallocated 5GB.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgpW1YjssSzr6sUMQrbwWJJ0-AvPRkuK4IqRqoENMAHEg69h2h49PrFBAp3IrG5HIirtoZlQNJA2-693DvV7RPrEyIFiwGY-P9EbbBA3Fu-0H5UNHG1VA74rF5hda4IwLZNRR1VmRudv23/s1600/Server-Manager.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgpW1YjssSzr6sUMQrbwWJJ0-AvPRkuK4IqRqoENMAHEg69h2h49PrFBAp3IrG5HIirtoZlQNJA2-693DvV7RPrEyIFiwGY-P9EbbBA3Fu-0H5UNHG1VA74rF5hda4IwLZNRR1VmRudv23/s1600/Server-Manager.png" height="228" width="400" /></a></div>
<br />
</li>
<li>Right Click on the C: in the bottom and Select <b>Extend Volume</b> ..<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBLTyWgltiRHqVWDHhKgAkVhLGRseZCG91parOUGXd3yjtJdrbrKNB-qMsen1jK0SOOkAZb0M7umGPegi_3nJ-KkBjqEgqAin9aM8zt4KbegcTcbR5ERZWpF2z-awH_1ZfnwVOrm5l2uf1/s1600/Extend-Volume.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBLTyWgltiRHqVWDHhKgAkVhLGRseZCG91parOUGXd3yjtJdrbrKNB-qMsen1jK0SOOkAZb0M7umGPegi_3nJ-KkBjqEgqAin9aM8zt4KbegcTcbR5ERZWpF2z-awH_1ZfnwVOrm5l2uf1/s1600/Extend-Volume.png" height="287" width="400" /></a></div>
</li>
<li><b>Follow the default setting</b> and click on <b>finish </b>button once done.<br /><br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLp9NjijZjijyBk_wJ-otTM8D0i6ziDQX3W9dQPWkfMVtWYHIs3mVhqp8InQQn0ldGdUnK13tS90u3C4RjlrFQ0TGPB7SaF4uo5ClWxbG3LWY_XCNQyOHzzcT2ds1BkIlPS3RdXiJ_TS9T/s1600/Default-setting.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLp9NjijZjijyBk_wJ-otTM8D0i6ziDQX3W9dQPWkfMVtWYHIs3mVhqp8InQQn0ldGdUnK13tS90u3C4RjlrFQ0TGPB7SaF4uo5ClWxbG3LWY_XCNQyOHzzcT2ds1BkIlPS3RdXiJ_TS9T/s1600/Default-setting.png" height="238" width="400" /></a></div>
</li>
<li>Now we can go to My Computer to check on the C drive size again. Notice that the size increase to 35GB which is correct.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnGUZzgHKL-Id7CB9zN33Fea3n146DpL69U9vkcrmCA77C1pQOA7lKc0Gsvx50GlAQvzc_BHjQrqnlT_OtjYVm1V_TNhP-S8skS3K764MHZkGglComBTCbjGF7C_wj1VI8zj-9qZeLvC9D/s1600/New-Instance-size.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnGUZzgHKL-Id7CB9zN33Fea3n146DpL69U9vkcrmCA77C1pQOA7lKc0Gsvx50GlAQvzc_BHjQrqnlT_OtjYVm1V_TNhP-S8skS3K764MHZkGglComBTCbjGF7C_wj1VI8zj-9qZeLvC9D/s1600/New-Instance-size.png" height="202" width="400" /></a></div>
</li>
<li>Now, we need to associate the elastic IP to the newly setup instance.<br />Go to <b>Network & Security - Elastic IPs</b><br /><b>Select/check</b> the Elastic IP that wish to remap or reassociate to the newly setup instance and then Click on <b>Associate Address</b> button.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFhWFbi_shGTnempCf_-82fT7ERuywIjpdz88pxOPylM97TyVxNHm_Tf_N8PjEKNWQw4DT24iSgR5sLSi2jr9AJWJwfkzDa0BxJKcMJXYUin0vhoFUiKDLjnmAVAqJNTBXueRLspBTADYf/s1600/Associate-IP.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFhWFbi_shGTnempCf_-82fT7ERuywIjpdz88pxOPylM97TyVxNHm_Tf_N8PjEKNWQw4DT24iSgR5sLSi2jr9AJWJwfkzDa0BxJKcMJXYUin0vhoFUiKDLjnmAVAqJNTBXueRLspBTADYf/s1600/Associate-IP.png" height="165" width="400" /></a></div>
</li>
<li>Popup screen display and you can select the instance which you wish to associate the IP. Click on <b>Associate</b> button once selected. Done.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEVjir1CTjcm6-BNUtYqxHuO_-izDX05O2dYzqoXTHOj6dhDQMcTaj5ESuY0x1O928KALBo5C0SLfXGCFD5s3P8XD8_pZQrNfV3_vHYLmK2dapLp5y2W4ipu8ldWmFrMdjA-_ko30kvBuJ/s1600/Associate-New-Address.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEVjir1CTjcm6-BNUtYqxHuO_-izDX05O2dYzqoXTHOj6dhDQMcTaj5ESuY0x1O928KALBo5C0SLfXGCFD5s3P8XD8_pZQrNfV3_vHYLmK2dapLp5y2W4ipu8ldWmFrMdjA-_ko30kvBuJ/s1600/Associate-New-Address.png" height="155" width="400" /></a></div>
</li>
</ol>
By using above steps, there will be no downtime required. The upgrade is the safest way without losing any data.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-54786703293342736682014-02-22T23:49:00.002-08:002014-02-22T23:54:24.073-08:00How to determine MSSQL version and edition?How to determine MS SQL version and edition?<br />
<br />
<br />
<ol>
<li>Go to Open Query Analyzer </li>
<li>Paste sql script below<br /><br />SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')</li>
<li>Click on Execute button</li>
</ol>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlj5374K0bfqYUzIShPn4LlQeze8BCPQ14Eb7w7T_gKRuQh1JXtLAghkVD6XeoNepfIxZCqBZdKk_gGOEi7JicPhUj4UDhNppPptazZjUHJKfwCFUcPvljV1CejnKYTMUM0ULplXuS37a4/s1600/Determine-ms-sql-server-version-edition.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlj5374K0bfqYUzIShPn4LlQeze8BCPQ14Eb7w7T_gKRuQh1JXtLAghkVD6XeoNepfIxZCqBZdKk_gGOEi7JicPhUj4UDhNppPptazZjUHJKfwCFUcPvljV1CejnKYTMUM0ULplXuS37a4/s1600/Determine-ms-sql-server-version-edition.png" height="135" width="400" /></a></div>
<br />
<br />
<br />
There you can see the version and edition for Microsoft SQL server installed in your computer.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-55327854674713786412014-01-17T05:56:00.001-08:002014-01-17T06:12:48.570-08:00install wordpress in IIS - auto redirect to another folderi’ve set up a wordpress blog in http://www.xxx.com/blog , whenever i go this this site, it will redirect me to http://www.xxx.com/xxx.com/blog/ and it will shows error message not found.<br />
<br />
The site is hosted in godaddy window server.
<br />
<br />
The reason for this is cause the way Windows IIS handles the trailing
slash. It show that you have the WordPress setup on a folder called blog
on your aliased domain name. If you go to the url that is set in the
WordPress it works. You will need to make sure you have it as http://www.xxx.com/blog/ or it will redirect incorrectly.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-78681347571835782512013-10-10T01:46:00.003-07:002013-10-10T01:51:24.481-07:00Error Message 500 – Internal server error when try to access image uploaded into wordpress in IIS <span style="background-color: white;"><span style="color: #333333; font-family: proxima-nova, sans-serif;"><span style="font-size: 17px; line-height: 27px;">When try to access to the photo / image that uploaded in WordPress that setup in IIS 7, Windows Server 2008 R2, error message below displayed:</span></span></span><br />
<span style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 17px; line-height: 27px;"><br /></span>
<span style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 17px; line-height: 27px;"><b>Issue:</b></span><br />
<br />
<h4>
<strong style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; line-height: 27px;"><span style="font-size: large;">Server Error </span></strong></h4>
<strong style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 17px; line-height: 27px;">500 – Internal server error.<br />There is a problem with the resource you are looking for, and it cannot be displayed.</strong><br />
<strong style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 17px; line-height: 27px;"><span style="font-weight: normal;"><br /></span></strong>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik8fto5ygzHoN6j6_0OhzeOMSMILm4hIZ2_ZoAozSSHl3QyPmMzdspBOodsbxXQuRMb6jutEDJSBCT-fQkyKCdTd0S9_pw8i8SbRu12eYTxiU4MnLBj3BHmwyAE8vWTZt33l_QSWEkyGdD/s1600/Server+Error+500+Internal+server+error+wordpress+iis.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik8fto5ygzHoN6j6_0OhzeOMSMILm4hIZ2_ZoAozSSHl3QyPmMzdspBOodsbxXQuRMb6jutEDJSBCT-fQkyKCdTd0S9_pw8i8SbRu12eYTxiU4MnLBj3BHmwyAE8vWTZt33l_QSWEkyGdD/s400/Server+Error+500+Internal+server+error+wordpress+iis.jpg" height="80" width="400" /></a></div>
<strong style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 17px; line-height: 27px;"><span style="font-weight: normal;"><br /></span></strong>
<span style="background-color: white;"><span style="color: #333333; font-family: proxima-nova, sans-serif;"><span style="font-size: 17px; line-height: 27px;">This is the big issue because all the uploaded image cannot displayed in the browser when click on it. Although we have granted the modify permission for user IUSR and {servername}\IIS_IUSRS to the directory and childdirectory </span></span></span><span style="color: #333333; font-family: proxima-nova, sans-serif;"><span style="font-size: 17px; line-height: 27px;">/blog/wp-content/uploads/subdirectory but it still cannot be displayed.</span></span><br />
<strong style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 17px; line-height: 27px;"><span style="font-weight: normal;"><br /></span></strong>
<strong style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 17px; line-height: 27px;">Root Cause:</strong><br />
<strong style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 17px; line-height: 27px;"><span style="font-weight: normal;">After check around, we found out that when we use </span></strong><span style="color: #333333; font-family: proxima-nova, sans-serif;"><span style="font-size: 17px; line-height: 27px;">PHP to upload a file. PHP will sends the file to a temporary directory on the hard drive (In my case C:\Windows\Temp) and then copies it over to it’s intended directory. You can find which one is the temporary folder by checking on the line “upload_tmp_dir” in </span></span><span style="color: #333333; font-family: proxima-nova, sans-serif; font-size: 17px; line-height: 27px;">php.ini.</span><br />
<span style="color: #333333; font-family: proxima-nova, sans-serif; font-size: 17px; line-height: 27px;"><br /></span>
<span style="color: #333333; font-family: proxima-nova, sans-serif; font-size: 17px; line-height: 27px;"><b>Solution:</b> </span><br />
<span style="background-color: white; font-size: 17px; line-height: 27px;"><span style="color: #333333; font-family: proxima-nova, sans-serif;">Go to C:\Windows\Temp folder, grant “modify” permissions to both IUSR and {servername}\IIS_IUSRS user accounts.</span></span><br />
<span style="background-color: white; font-size: 17px; line-height: 27px;"><span style="color: #333333; font-family: proxima-nova, sans-serif;"><br /></span></span>
<span style="background-color: white; font-size: 17px; line-height: 27px;"><span style="color: #333333; font-family: proxima-nova, sans-serif;">It solve my problem.</span></span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-3162719892330916712013-08-08T21:25:00.001-07:002013-08-08T21:25:36.500-07:00Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can't be re-created or enabled the option Prevent saving changes that require the table to be re-createdFacing issue when try to change the table structure in MSSQL 2012<br />
<br />
Error Message<br />
<br />
"<span style="background-color: white; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;">Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can't be re-created or enabled the option Prevent saving changes that require the table to be re-created</span>"<br />
<br />
To solve this issue,<br />
<br />
<br />
In Management Studio, click menu Tools -> Options -> Designers-> Uncheck "Prevent saving changes that require table re-creation<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicwJzva1mxy_XP9Z4BQ2aFqi6rpLTBfKxLwJUtw1yotG9H1AGYZH8ZQbq1Ir4hoEMnVVEb6GVGBRveDo4L2pvLdkZdbQIjZfIDfN3RR-QWQJPEGhMB2qfJ2qY663bA13oqi7q7AoDMtTBr/s1600/MSSQLManagementStudio.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicwJzva1mxy_XP9Z4BQ2aFqi6rpLTBfKxLwJUtw1yotG9H1AGYZH8ZQbq1Ir4hoEMnVVEb6GVGBRveDo4L2pvLdkZdbQIjZfIDfN3RR-QWQJPEGhMB2qfJ2qY663bA13oqi7q7AoDMtTBr/s1600/MSSQLManagementStudio.png" height="315" width="400" /></a></div>
<br />
<br />
Go to change the table structure again, now it's work.<br />
<br />
Hope this helps.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-27693316331047862442013-08-02T02:11:00.000-07:002014-02-24T07:00:16.332-08:00A Media driver your computer needs is missing. This could be a DVD, USB or hard disk driver. If you have a CD, DVD or USB Flash drive with the drive on it, please insert now.I'm facing a big issue with Dell Inspiron 14z Ultrabook which not able to start into windows 8 and not able to run repair or restore.<br />
<br />
When i try to reinstall windows with the media cd, and come to the point that need to select which drive to install, it display below error message<br />
<br />
"A Media driver your computer needs is missing. This could be a DVD, USB or hard disk driver. If you have a CD, DVD or USB Flash drive with the drive on it, please insert now.<br />
<br />
Note: If the installation media is in the DVD drive or on a USB drive, you can safely remove it for this step."<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs1ttKZq49LM8buBOP6ksZyudP8A4oK1G84WjJDU3jTCviO02N4zkcbLLg01GxQj_pYYhpX8KsQwcsMZCtBq3Z4aLV5KAgj-nijVBC2uaNAmVq27dgUvHkv1AjCjeooWlik72U0HTgho3S/s1600/20130726_024131.gif" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs1ttKZq49LM8buBOP6ksZyudP8A4oK1G84WjJDU3jTCviO02N4zkcbLLg01GxQj_pYYhpX8KsQwcsMZCtBq3Z4aLV5KAgj-nijVBC2uaNAmVq27dgUvHkv1AjCjeooWlik72U0HTgho3S/s320/20130726_024131.gif" height="278" width="400" /></a><br />
<br />
Since the system was purchased from Dell, so i go to dell support web page and enter service tag number for the system. Then select Driver and Download tab, Select Windows 8 as operating system and scroll down to the find Serial ATA category. Download Intel Rapid Storage Technology Driver and unzip it into a USB Flash drive.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY6HON9U2svWMdjAOuT85MdV0ad6fXmiyYTLnL7OkECTTkp9OsdpVWXZ2kfLlnaaX8l8WJ04665NIkfPBgl0fStYQME9k8IIGeX9cBgqPVTJa2Njk-7SpWKIMZr_svdEXeBoD_HlYs6Q-J/s1600/IntelRaidStorageTechnologyDriver.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY6HON9U2svWMdjAOuT85MdV0ad6fXmiyYTLnL7OkECTTkp9OsdpVWXZ2kfLlnaaX8l8WJ04665NIkfPBgl0fStYQME9k8IIGeX9cBgqPVTJa2Njk-7SpWKIMZr_svdEXeBoD_HlYs6Q-J/s1600/IntelRaidStorageTechnologyDriver.gif" height="251" width="400" /></a></div>
<br />
<br />
<br />
<br />
Insert the USB flash drive to the computer and click on Browse button to select the file<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKL3_B07p5y5lB5x1u5NnVx4-ZAed8g_ikC-RytZvn_uy5iFgm5ptexhBodX8Sr9cY2qqOgzrtDjoSqgTICA2GF6msxIwdP3dJrxkkv3ievxiOyCl8HyGFaST1SSJpnj_2vG3vBaJxQUWu/s1600/20130726_011132.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKL3_B07p5y5lB5x1u5NnVx4-ZAed8g_ikC-RytZvn_uy5iFgm5ptexhBodX8Sr9cY2qqOgzrtDjoSqgTICA2GF6msxIwdP3dJrxkkv3ievxiOyCl8HyGFaST1SSJpnj_2vG3vBaJxQUWu/s1600/20130726_011132.gif" height="211" width="400" /></a></div>
<br />
<br />
Select the correct file in the driver.<br />
<br />
<br />
Now the installation can be proceeded.<br />
<br />
<br />Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-8062149230191402223.post-49323734707097100792013-06-30T03:28:00.002-07:002013-06-30T03:29:16.886-07:00Unique IP and file sharing in VMWare PlayerI wish to test to run application which need a unique IP and file sharing in the same LAN using in VMWare Player.<br />
<br />
In Click on edit <b>virtual machine settings</b>.<br />
In the <b>Hardware tab</b>, click on <b>Network Adapter</b><br />
In Network connection, select <b>Bridged: Connected directly to the physical network</b>. <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8DOpsW6hyphenhyphen-e4OpuSmEjB_kVrutjIurTiwortQt0-1xJDVjFex1-yJLIP3KP7SzdeoEVmKa9THknYeoX5SLqj4Fs5a71C6fIKgFk551dOAy9MXE0fCtO342s6StUQJejkOUKJD22TgmVAi/s680/vm-player-0.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8DOpsW6hyphenhyphen-e4OpuSmEjB_kVrutjIurTiwortQt0-1xJDVjFex1-yJLIP3KP7SzdeoEVmKa9THknYeoX5SLqj4Fs5a71C6fIKgFk551dOAy9MXE0fCtO342s6StUQJejkOUKJD22TgmVAi/s680/vm-player-0.gif" height="353" width="400" /></a></div>
<br />
<br />
<br />
Click on <b>Options </b>tab.<br />
Then click on <b>Shared Folders </b>and then select <b>Always Enabled</b>.<br />
Click on <b>OK</b> button to save the settings.<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP2EavY05_A8W7FfMGkf4cTYjmRGnf7x4gJV2V6rs8fRNdsjrdV-ZnKK7RLxGgakq1AFhjOvtG-EEJhAGmu03Fys2ZBxt1VtuzmoRiiH4sXO8cbfBAmy1CchxX65Z5bqLdhzK8r9PV2lWF/s678/vm-player-1.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP2EavY05_A8W7FfMGkf4cTYjmRGnf7x4gJV2V6rs8fRNdsjrdV-ZnKK7RLxGgakq1AFhjOvtG-EEJhAGmu03Fys2ZBxt1VtuzmoRiiH4sXO8cbfBAmy1CchxX65Z5bqLdhzK8r9PV2lWF/s678/vm-player-1.gif" height="351" width="400" /></a></div>
<br />
<br />
Now, start the virtual machine and i can share my folder in the virtual machine now.<br />
<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-51170485053570674352013-06-30T02:51:00.001-07:002013-06-30T02:51:59.976-07:00dotnet 3.5 not found in IIS 8 windows server 2012I've tried to setup my web application in in IIS 8 windows server 2012 and found that asp.net 3.5 or dotnet 3.5 not in IIS 8.<br />
<br />
What i do is, go to add role and add in ASP.NET 3.5 in Web Server Role (IIS) -> Role Services, under Application Development. You can select others role if needed. <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjakrfKQYY26UMu80lWEWX9DvfZ7PRSSShOkv5Pz06UxWA3Q5uQNgp4_BjW68Wjn6hd9XsOeicU9HyRd2SzYgpXBDnyfD2y3oX6aMJqN5ERF4W1kTP5AO23bBbFlmrFgVPlBEvVq-wzVDlf/s801/MS-Server-2013-IIS-DotNet-3.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjakrfKQYY26UMu80lWEWX9DvfZ7PRSSShOkv5Pz06UxWA3Q5uQNgp4_BjW68Wjn6hd9XsOeicU9HyRd2SzYgpXBDnyfD2y3oX6aMJqN5ERF4W1kTP5AO23bBbFlmrFgVPlBEvVq-wzVDlf/s801/MS-Server-2013-IIS-DotNet-3.gif" height="281" width="400" /></a></div>
<br />
Click next to proceed until the installation complete.<br />
<br />
In IIS 8, you can select .NET V2.0 Integrated or .NET V2.0 Classic in application pools for application that running is .net 3.5<br />
<br />
To know more details, please visit <a href="http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45">http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-33169654256799983462013-06-23T21:10:00.002-07:002013-06-23T21:10:24.480-07:00How to check IBM x3650 RAID configuration in window server?How to check whether the RAID configuration in IBM x3650 M4 is correct in Window Server 2012? I have done my RAID configuration using IBM Server Guide 9.4 and now i want to check the setting in IS which is Window Server 2012. There is a tools call <b>MegaRAID Storage Manager </b>which is able to download from IBM website. You need to install the tool in your OS and you can check the RAID setting using this tool.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpcKlMBbJad9oQ_-tE0X7UHrZlqEqIIUYvtuZJm6f_MpOuvDtMaPCLVh2wjlDirlUfiGBayVRYaVAH4UL23Cm1UZruWyVt25Vv2aX6mILkLWX9n_On-yL_owRDFiklMxlkQmbZBUdCQkyo/s1600/MegaRaid-Check-Setting.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpcKlMBbJad9oQ_-tE0X7UHrZlqEqIIUYvtuZJm6f_MpOuvDtMaPCLVh2wjlDirlUfiGBayVRYaVAH4UL23Cm1UZruWyVt25Vv2aX6mILkLWX9n_On-yL_owRDFiklMxlkQmbZBUdCQkyo/s1600/MegaRaid-Check-Setting.png" /></a></div>
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8062149230191402223.post-25594502681367865162013-06-23T20:50:00.002-07:002013-06-23T21:12:55.793-07:00How to know IBM X3650 M4 IMM IP Address?Most of the article stated that IMM default IP is 192.168.70.125 but it's not in my case. I try to figure out the IP because i want to access to IMM2 web interface to install key for Features On Demand (fod). In order to get the IP, i have downloded IBM Advanced Settings Utility (ASU) and unzip it into my C drive. Use command prompt to local ASU.exe or ASU64.exe.<br />
<br />
type command <b>asu64 show</b><br />
<b><br /></b>
It will shows many information but the first information will be displayed in the IP Address. You can to check on it quickly before it jump to the end. By the way, my IMM IP is 169.254.95.118.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiltAJQAjxd6pu0xx9rtvRe9DlQwr6Nik6XIWUKQ3QcKStYg72C13J3BBFFFYEwoYOgeGacaGoReAoo_8tgNpSF73YoveqR4jfMq7XpcRSMdTA44e2rTLXpDgVdJlf57A-u5wIddqWTelpw/s1600/IMM_IP.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiltAJQAjxd6pu0xx9rtvRe9DlQwr6Nik6XIWUKQ3QcKStYg72C13J3BBFFFYEwoYOgeGacaGoReAoo_8tgNpSF73YoveqR4jfMq7XpcRSMdTA44e2rTLXpDgVdJlf57A-u5wIddqWTelpw/s1600/IMM_IP.png" height="230" width="400" /></a></div>
<br />Unknownnoreply@blogger.com6tag:blogger.com,1999:blog-8062149230191402223.post-70159478536178543912013-06-17T21:56:00.001-07:002013-06-17T21:56:25.316-07:00'powershell' is not recognized as an internal or external command, operable program, or batch file.Try to install/enable GUI in windows server 2012 but first thing we need to do is use powershell. When i try to use this powershell command, it shows error message<br />
<br />
'powershell' is not recognized as an internal or external command, operable program, or batch file.<br />
<br />
What we can do is execute command below one by one<br />
<br />
<pre class="lang-perl prettyprint prettyprinted" style="background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;"><code style="border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;"><span class="pln" style="background-color: transparent; border: 0px; color: #333333; margin: 0px; padding: 0px; vertical-align: baseline;">dism</span><span class="pun" style="background-color: transparent; border: 0px; color: #888888; margin: 0px; padding: 0px; vertical-align: baseline;">.</span><span class="pln" style="background-color: transparent; border: 0px; color: #333333; margin: 0px; padding: 0px; vertical-align: baseline;">exe </span><span class="pun" style="background-color: transparent; border: 0px; color: #888888; margin: 0px; padding: 0px; vertical-align: baseline;">/</span><span class="pln" style="background-color: transparent; border: 0px; color: #333333; margin: 0px; padding: 0px; vertical-align: baseline;">online </span><span class="pun" style="background-color: transparent; border: 0px; color: #888888; margin: 0px; padding: 0px; vertical-align: baseline;">/</span><span class="pln" style="background-color: transparent; border: 0px; color: #333333; margin: 0px; padding: 0px; vertical-align: baseline;">enable</span><span class="pun" style="background-color: transparent; border: 0px; color: #888888; margin: 0px; padding: 0px; vertical-align: baseline;">-</span><span class="pln" style="background-color: transparent; border: 0px; color: #333333; margin: 0px; padding: 0px; vertical-align: baseline;">feature </span><span class="pun" style="background-color: transparent; border: 0px; color: #888888; margin: 0px; padding: 0px; vertical-align: baseline;">/</span><span class="pln" style="background-color: transparent; border: 0px; color: #333333; margin: 0px; padding: 0px; vertical-align: baseline;">featurename</span><span class="pun" style="background-color: transparent; border: 0px; color: #888888; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="typ" style="background-color: transparent; border: 0px; color: #5f7c7d; margin: 0px; padding: 0px; vertical-align: baseline;">MicrosoftWindowsPowerShellRoot</span><span class="pln" style="background-color: transparent; border: 0px; color: #333333; margin: 0px; padding: 0px; vertical-align: baseline;">
dism</span><span class="pun" style="background-color: transparent; border: 0px; color: #888888; margin: 0px; padding: 0px; vertical-align: baseline;">.</span><span class="pln" style="background-color: transparent; border: 0px; color: #333333; margin: 0px; padding: 0px; vertical-align: baseline;">exe </span><span class="pun" style="background-color: transparent; border: 0px; color: #888888; margin: 0px; padding: 0px; vertical-align: baseline;">/</span><span class="pln" style="background-color: transparent; border: 0px; color: #333333; margin: 0px; padding: 0px; vertical-align: baseline;">online </span><span class="pun" style="background-color: transparent; border: 0px; color: #888888; margin: 0px; padding: 0px; vertical-align: baseline;">/</span><span class="pln" style="background-color: transparent; border: 0px; color: #333333; margin: 0px; padding: 0px; vertical-align: baseline;">enable</span><span class="pun" style="background-color: transparent; border: 0px; color: #888888; margin: 0px; padding: 0px; vertical-align: baseline;">-</span><span class="pln" style="background-color: transparent; border: 0px; color: #333333; margin: 0px; padding: 0px; vertical-align: baseline;">feature </span><span class="pun" style="background-color: transparent; border: 0px; color: #888888; margin: 0px; padding: 0px; vertical-align: baseline;">/</span><span class="pln" style="background-color: transparent; border: 0px; color: #333333; margin: 0px; padding: 0px; vertical-align: baseline;">featurename</span><span class="pun" style="background-color: transparent; border: 0px; color: #888888; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="typ" style="background-color: transparent; border: 0px; color: #5f7c7d; margin: 0px; padding: 0px; vertical-align: baseline;">MicrosoftWindowsPowerShell</span><span class="pln" style="background-color: transparent; border: 0px; color: #333333; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="pun" style="background-color: transparent; border: 0px; color: #888888; margin: 0px; padding: 0px; vertical-align: baseline;">/</span><span class="pln" style="background-color: transparent; border: 0px; color: #333333; margin: 0px; padding: 0px; vertical-align: baseline;">all</span></code></pre>
<br />
and remember to <b>restart the server </b>before continue.<br />
<br />
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-8062149230191402223.post-20519896165341601462013-05-09T21:09:00.001-07:002013-05-09T21:10:28.352-07:00Error: Failed to retrieve directory listingI'm trying to connect to my hosting site using filezilla and hit error<br />
<br />
<br />
Command:<span class="Apple-tab-span" style="white-space: pre;"> </span>LIST<br />
Response:<span class="Apple-tab-span" style="white-space: pre;"> </span>150 Opening BINARY mode data connection.<br />
Error:<span class="Apple-tab-span" style="white-space: pre;"> </span>Could not read from transfer socket: ECONNRESET - Connection reset by peer<br />
Response:<span class="Apple-tab-span" style="white-space: pre;"> </span>550<br />
Error:<span class="Apple-tab-span" style="white-space: pre;"> </span>Failed to retrieve directory listing<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghXV1yHbIJ731LhGxFXPsErkdbRA9htn3l7Aw2kDXzlGst3PwrTZJCOYsh16UAo-2Jv4bIx3etFRRyYgi6yPhpf7htqPx1PhXg2AYFq6s6XKLWILuE1LyufIXm8-6BWjftoLabeOesyxxC/s1600/Failed+to+retrieve+directory+listing.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="162" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghXV1yHbIJ731LhGxFXPsErkdbRA9htn3l7Aw2kDXzlGst3PwrTZJCOYsh16UAo-2Jv4bIx3etFRRyYgi6yPhpf7htqPx1PhXg2AYFq6s6XKLWILuE1LyufIXm8-6BWjftoLabeOesyxxC/s400/Failed+to+retrieve+directory+listing.PNG" width="400" /></a></div>
<br />
This is a big trouble for me because cannot update/upload my latest file into the server.<br />
<br />
Finally found that the problem can be solved by <b>change the transfer mode to passive in the Site Manager</b>.<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrq4IrMhhAgwpaeQUz7BM4_usrTxt5Sey9UyMtQioAkGDDKVqu-VY_SRCdk2wkNn7CKqGbyL_RuWp8br8D6oJD4pq1kVOJ42cig7OYJI8VYoGzJdAUNAB5h-x9b2nbkMqzI3Vd8Gdk6dFa/s1600/ChangeTransferMode.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrq4IrMhhAgwpaeQUz7BM4_usrTxt5Sey9UyMtQioAkGDDKVqu-VY_SRCdk2wkNn7CKqGbyL_RuWp8br8D6oJD4pq1kVOJ42cig7OYJI8VYoGzJdAUNAB5h-x9b2nbkMqzI3Vd8Gdk6dFa/s1600/ChangeTransferMode.PNG" /></a></div>
<br />
Now can upload the file like normal.Unknownnoreply@blogger.com0