Monday, September 20, 2010

Windows 7 IIS : Running Classic asp pages (Fixed)

Problem:
I am having this error on my Windows 7 IIS, where I am trying to run a classic asp pages.




Resolution:
'Turn Windows features on or off' window (Start > Control Panel > Programs And Features) and drill down to the Application Development Features node (Internet Information Services -> World Wide Web Services), expand it and check the ASP node if not checked.

Windows 7 IIS : Classic ASP not working (Fixed)

Problem:
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.


Wednesday, September 15, 2010

My Ubuntu 10.04 LTS : Installing LAMP

Installation:
Using
sudo tasksel install lamp-server
or with
sudo apt-get install php5 mysql-server apache2

Problem encountered:
404 "Not Found" on http://localhost/phpmyadmin

Resolution:
sudo dpkg-reconfigure -plow phpmyadmin

Friday, July 9, 2010

My Ubuntu 10.04 LTS : What's on my arsenal?

- Skype
- ThunderBird
- Firefox Add-Ons
. LastPass
. XMarks
. TwitterBar
- FileZilla
- TeamViewer
- Wine
. WordWeb
. IPMSG
- GIMP
- VirtualBox
- DropBox
- RapidSVN
- VLC

Tuesday, June 22, 2010

IIS 7 | ASP.Web | Site Setup : Problem on Crystal Report (Access to report file denied)

Problem : Crystal Report - Access to report file denied




Solution : Be sure IIS_IUSRS has enough rigths on c:\windows\temp folder

Tuesday, June 1, 2010

Ubuntu 10.04 LTS | How to install Ruby on Rails

Open the Terminal and follow the commands below.

Installing
Ruby on Rails:
sudo su
apt-get install build-essential
apt-get install rubyuby 
wget http://rubyforge.org/frs/download.php/69365/rubygems-1.3.6.tgz
tar zxvf rubygems-1.3.6.tgz
cd rubygems-1.3.6
ruby setup.rb
gem install rails


MySQL gem:
apt-get install ruby-dev libmysql-ruby libmysqlclient-dev
gem install mysql



Uninstalling
First remove rails gem:
sudo gem uninstall rails


Then rubygems and ruby:
sudo apt-get remove rubygems ruby irb ri rdoc ruby1.8-dev

Friday, May 14, 2010

Wednesday, May 12, 2010

Ubuntu 9.10 | Songbird installation

1). Download tar.gz from Songbird website


2). Manually move tar.gz to your home folder (it should be the folder with your name)
3). Extract the tar.gz by right clicking and choosing "extract here"
4). Rename "Songbird" folder to ".Songbird" (this is optional)
5). Right click your desktop and choose "Create Launcher"


6). On Name field put "Songbird", on Command field just use Browse and locate the Sonbird folder & file.


7). Your desktop now should have an small icon of Songbird

Monday, April 26, 2010

c# | asp.net | DataBinder.Eval DataFormatString

Short date pattern. Format : {0:d}

<asp:TemplateField HeaderText="Position Inclusive Dates"   HeaderStyle-Width="75px" SortExpression="">
<ItemTemplate>
<asp:Label ID="_lblPositionIncDate" width="75px" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.PositionIncDate") %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="_tbPositionIncDate" width="75px" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.PositionIncDate") %>'></asp:TextBox>
</EditItemTemplate>
<HeaderStyle HorizontalAlign="Center" />
</asp:TemplateField>


More on => BoundField::DataFormatString Property

Saturday, April 24, 2010

ASP.NET | GridView Tips

Extract GridView data to Xls file:

protected void _btnOutputGridViewToXls(object sender, EventArgs e)
{
Response.AddHeader("content-disposition", "attachment;filename=MySample.xls");
Response.Charset = String.Empty;
Response.ContentType = "application/vnd.xls";
System.IO.StringWriter strWr = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter htmWr = new HtmlTextWriter(strWr);
GridView1.RenderControl(htmWr);
Response.Write(strWr.ToString());
Response.End();
}

Wednesday, April 7, 2010

Windows 7 64bit Activation Problem (0xC004F009)

Windows 7 Activation Error Code 0xC004F009




Symptom
- When you try to use a MAK to activate one or more computers, you may receive the following error message:
0xC004F009
The software Licensing Service reported that the grace period expired.

Cause
- This issue may occur if the grace period expires before the system is activated. The system is now in Reduced Functionality Mode (RFM).

Workaround
- Follow the RFM recovery guidelines in the Volume Activation 2.0 Step-By-Step Guide. To obtain this guide, visit the following Microsoft Web site:
http://technet.microsoft.com/en-us/library/cc303695.aspx

The Real Solution
- Call Microsoft, that easy! c")

Sunday, April 4, 2010

c# | asp.net | DropDownList SelectedIndex Alignment

ddlPatient.SelectedIndex = ddlPatient.Items.IndexOf(ddlPatient.Items.FindByValue(lblPatientIdHidden.Text));

Thursday, April 1, 2010

Nokia E71 | Firmware upgrade (How to apply device software update)

My wife is complaining me about her weird problem on her Nokie E71 cellphone, though I know that it's need a software/firmware upgrade, but haven't had a time to do it, But today, as my number #1 priority on my ToDo list, that time has come.

Here's the quick list you what you needs & to do:
- Download Nokia E71 Device software update, since am only the Far East, I downloaded my device on Nokia Philippines - Device Software Update, then installed & runit. Follow the software instrustion, and your done





- Now the tricky part, which took me long hours to figure out. In the event that the "Nokia Software Updater" could not detect your cellphone, try to Do A Hard Reset On Your E71 If You Start Having Problems and repeat the above procedure.

Sunday, March 28, 2010

Wednesday, March 24, 2010

Ubuntu 9.10 | Restore Default Panels Settings

Messed up with my panel a while ago. Below are series of command to restore to its default.

Steps:
#01 - Open Terminal

#02 - issue this commannd:
gconftool - -recursive-unset /apps/panel

#03 - issue this commannd:
rm -rf ~/.gconf/apps/panel

#04 - issue this commannd:
pkill gnome-panel

#05 Restart your pc, and that's it.

Listening : .NET Rocks Show #535 | Mark Brown Introduces Us to the Web Platform Installer

Show #535 | 3/23/2010 (57 minutes)
Mark Brown Introduces Us to the Web Platform Installer
http://www.dotnetrocks.com/

Monday, March 22, 2010

Ubuntu 9.10 | gem installation

~$ gem -v
The program 'gem' can be found in the following packages:
* rubygems1.8
* rubygems1.9.1
Try: sudo apt-get install
gem: command not found
~$ sudo apt-get install rubygems1.9.1

Ubuntu 9.10 | Thunderbird 3.0.3 : Installing with single command

Terminal Command:

http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/latest-3.0/linux-i686/en-US/thunderbird-3.0.3.tar.bz2 | tar xj -C ~