Archive for the ‘Microsoft’ Category.

openOleDBConnection The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local machine

I have just completed a migration for a friend of mine. As he is upgrading the server from Windows 2003 32bit to 64bit version, the site was hit with alot of errors not loading the right stuff for his .aspx files.

The following error was presented to me when trying to login to his administrative panel.

openOleDBConnection The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local machine

Let me present you the solution:

http://support.microsoft.com/kb/894435

You need to convert the ASP.NET installation to 32bit version.

After which, type “iisreset” in the cmd prompt to restart your IIS services.

One last step which was not shown on the web, you need to go to IIS ->Web Service Extensions -> Enable “ASP.NET v2.0.50727 (32-bit)”

One last time, type “iisreset” in the cmd prompt to restart your IIS services.

Now your site should be functioning properly now.

Enjoy!

Windows 2008 Activation Issue

I was hit with this error.

Code: 0x8007232B
Description: DNS name does not exist.

Quick Solution:

slmgr.vbs -ipk [your product key]
slmgr.vbs -ato

Enjoy!

Windows Firewall can not run because another program or service is running that might use the Network Address Translation component (IPNat.sys)

Encounter a problem that cause my windows box to be offline remotely :(

I had to spend quite a fair bit of my time to look into this.

If you attempt to start the Windows Firewall, you will notice that you will get this error message:

Windows Firewall can not run because another program or service is running that might use the Network Address Translation component (IPNat.sys)

This is because “Routing and Remote Access” is enabled.

You can disable by doing this:
Start -> Run -> cmd -> mmc
Add “Routing and Remote Access” under the Snap-In.

Disable the protocol for the “Routing and Remote Access” now. You will need to restart your server for it to take effect.

You should be able to start your Windows Firewall now and gain access to the server remotely :)

Hope this helps…

NTFS read/write in Linux

Accessing NTFS parition via Linux is pretty simple. Here is the steps to get it running in less than 10 mins :)

Let’s install some basic stuff.

1
yum install gcc gcc-c++ make kernel-devel

Setup Fuse

1
2
3
4
5
6
wget http://jaist.dl.sourceforge.net/sourceforge/fuse/fuse-2.7.4.tar.gz
tar zxvf fuse-2.7.4.tar.gz
cd fuse-*
./configure
make
make install

Next, download NTFS-3G from here

1
2
3
4
5
6
wget http://www.ntfs-3g.org/ntfs-3g-2009.1.1.tgz
tar zxvf ntfs-3g-2009.1.1.tgz
cd ntfs-3g-*
./configure
make
make install

Last but not least

1
2
3
modprobe fuse
mkdir /windows
 mount -t ntfs-3g /dev/sdb1 /windows

You can then read/write your windows partition from /windows ;)

Hope this helps … :)

Firefox Unable to Download

Following the Vista User Profile restore which I have recently performed, I realized that Firefox is unable to download files for me properly. Whenever I clicked on any download links from websites, the files could not be downloaded.

A quick fix for this would be:

1. Opening Firefox User Profile in the following location:
C:\Users\[Username]\AppData\Roaming\Mozilla\Firefox\Profiles\

2. Locate prefs.js inside the User Profile folder. Open it using your favourite editor like Notepad++

3. Look for browser.download.dir:
user_pref(“browser.download.dir”, “C:\\Users\\[Old Username]\\Desktop”);

4. You will now replace the [Old Username] with [Username] that you are using now for your Windows.

5. Finally, you may download as usual now!

Good luck!

-michaelfoo

System.Web.Extensions error

Parser Error Message: Could not load file or assembly ‘System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35′ or one of its dependencies. The system cannot find the file specified.

If you are getting this error, you might want to install the ASP.NET AJAX.

This happen to me when I was moving a site to another server without the AJAX installed, took me less than 15 minutes to figure out this silly mistake.

Disabling Windows Automatic Updates using registry

It seems that Windows Automatic Updates has killed one of my office computer. Since the environment is not using any AD, I will need to disable via registry. I try to google around but it does not seems to be able to find any solution so I spent some time to find.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update]
“AUOptions”=dword:00000003

The value for each purpose is stated here.
1 – Turn off Automatic Updates
2 – Notify me but don’t automatically down or install them
3 – Download updates for me, but let me choose when to install them
4 – Automatic

So i choose to turn off the Automatic updates and update myself manually in case it screw me up again and wasting my time to fix the broken updates :D

Hope this helps someone out there :)

Microsoft Giving Away Developer Software

(AP) – Microsoft Corp. is giving students free access to its most sophisticated tools for writing software and making media-rich Web sites, a move that intensifies its competition with Adobe Systems Inc. and could challenge open source software’s popularity.

The Redmond-based software maker said late Monday it will let students download Visual Studio Professional Edition, a software development environment; Expression Studio, which includes graphic design and Web site and hybrid Web-desktop programming tools; and XNA Game Studio 2.0, a video game development program.

The company will also give away SQL Server 2005 Developer Edition and Windows Server Standard Edition.

Microsoft Chairman Bill Gates said the company’s past efforts to arrange educational discounts for these programs limited the number of students who ultimately could use them. DreamSpark, as Microsoft is calling the free software offering, opens up access to many more students.

It’s also good for Microsoft’s business, Gates added.
Continue reading ‘Microsoft Giving Away Developer Software’ »

Want to learn how to hack SQL Server?

Watch this video that has does simple hacking on SQL Server.

Well, it does simple hacking but don’t go around and hack other’s system. That’s not the purpose of hacking. Hacking is to learn your system flaw and build more security.

Have fun!

MS SQL 2005 Express

I am pretty happy with myself because I have never touch MS SQL database before and because of a ‘force’ migration from MSDE to MS SQL 2005 is required due to some reason, I have been testing and learning for 3 days on this software. I have just completed one live MSDE migration :D

First, I like to thank Daddy Google in teaching me the right way to learn. Second and last by not least, my precious laptop which is working very hard for me since Day One.

The moment I fire up MS SQL process, the entire laptop start to crawl because of tons of process running in the background.

Well, a few more of MSDE instance will have to be migrated to MS SQL 2005 Express in the next few days. *Pray hard*

MS SQL Users : I know I am late in migrating but forgive me because I am too involved in my project and linux :)