Archive for the ‘Microsoft’ Category.
20th January 2013, 03:40 am
In IIS5/6, an easy way is to export the list under IIS manager.
However, in IIS7, things are easier using command line
%windir%\system32\inetsrv\appcmd list site > c:\website.xls
command is good, get things done faster 🙂
Enjoy!
Category:
Microsoft |
Comments Off on Export List of Website in II7
3rd October 2012, 04:26 pm
Take note, you need to have administrative rights before you can edit the hosts file
Usually when you do website migration, you want to test the website in the new server before you point your live traffic over. There is a few methods is doing so but changing your host file will be the best option as it will allows you to do REAL testing
1) You need to run Notepad as a administrative rights

2) After which, go to “File” -> “Open” and key in “%systemroot%\system32\drivers\etc\hosts” (without quotes) under the “File Name”
3) You will need to add an entry like this at the end of the file.
You need to replace “x.x.x.x” with your new server IP address and “mydomain.com” with your real domain name that you are testing on

4) You will then need to close your browser, and flush the dns cache on your computer.
5) Now, try to ping your “mydomain.com” and you should see the new IP address
Hope this helps!
Category:
Microsoft |
Comments Off on Changing of Hosts file to test website before real migration
5th March 2012, 11:28 am
Encountered this problem with one of my customer’s server. A quick fix will be logging in remotely using console session to clear up the connections
Replace ‘0.0.0.0’ with your server IP.
After which, you can launch the Terminal Server Manager (Start -> Run -> tsadmin.exe) and clear up the sessions.
Hope this helps…
Category:
Microsoft,
Uncategorized |
Comments Off on The terminal server has exceeded the maximum number of allowed connections
22nd May 2011, 02:25 pm
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!
Category:
ASP.NET,
Microsoft |
Comments Off on openOleDBConnection The ‘Microsoft.Jet.OLEDB.4.0’ provider is not registered on the local machine
15th February 2011, 07:38 pm
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 |
slmgr.vbs -ipk [your product key]
slmgr.vbs -ato
Enjoy!
Category:
Microsoft |
Comments Off on Windows 2008 Activation Issue
27th December 2010, 02:21 am
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) |
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…
Category:
Microsoft,
Windows 2003 |
Comments Off on Windows Firewall can not run because another program or service is running that might use the Network Address Translation component (IPNat.sys)
26th January 2009, 03:25 am
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 |
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 |
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 |
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 |
modprobe fuse
mkdir /windows
mount -t ntfs-3g /dev/sdb1 /windows
You can then read/write your windows partition from /windows 😉
Hope this helps … 🙂
8th September 2008, 11:43 am
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
3rd August 2008, 02:28 pm
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.
29th June 2008, 05:33 pm
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 😀
Hope this helps someone out there 🙂
Category:
Microsoft |
Comments Off on Disabling Windows Automatic Updates using registry