Cannot create Windows Service for MySQL.Error:0
I was installing MySQL on a Windows 2008 64bits machine today. The installation went smooth as usual, I got the MySQL configuration screen wizard at the end of the MySQL installation and went through filling in those service configuration details, MySQL root ..etc. However, at the end of the execution part where it writes the changes, it shows the following message during the attempt to start the MySQL services.
Cannot create Windows Service for MySQL.Error:0
It was my first time getting this message as I have been setting up MySQL for lots of Windows server without any issues on the past. Here’s what I did to get it resolve:
1. Start > All Programs >MySQL > MySQL Server 5.x > MySQL Server Instance Config Wizard.
2. Hit the Next and select the options “Remove Instance” and complete the process.
3. Fire up the MySQL Server Instance Config again, this time select the Configure Instance with Standard Configuration and go through the setup again. It should get your MySQL configured again.
The possible cause of the error is due to the MySQL Services has been installed and started on your server’s prior to the configuration by MySQL. Removing the installed instances and reset it up will help to resolve this.
Failed to execute request because the App-Domain could not be created
If you have a IIS server and ASP.Net is installed on the box but you are unable to load the site, and you have seen 1088 and 1344 event ID in your server event log as follow, check the Application Pool identity which runs the site and make sure the identity have read/execute permission on the NTFS folder permission which the web.config file are located. read more
Extending Windows 2008 Trial
By default, any edition of Windows Server 2008 may be installed without activation and evaluated for an initial 60 days. If you need more time to evaluate Windows Server 2008, the 60 day evaluation period may be reset (or re-armed) three times, extending the original 60 day evaluation period by up to 180 days for a total possible evaluation time of 240 days.
To reset the evaluation period,
1. Login to the server as an administrator
2. Click Start, and then click Command Prompt.
3. Type slmgr.vbs -dli, and then press ENTER to check the current status of your evaluation period.
4. To reset the evaluation period, type slmgr.vbs –rearm, and then press ENTER.
5. Reboot the server
This will reset the trial/evaluation for another 60 days.
Repairing .Net 1.1 on Windows 2003
.Net cease from working on one of my testing box today and I am loosing track of where the problems comes from. Trying with the re-installation of the .Net Redistribute and without any luck which the Windows throws you the message saying the version has been installed on the server.
Here’s what I did to make the reinstallation a success after Googling around:
1. Fire up your registry editor by hitting “regedit” at your Windows > Run.
2. Navigate to the key HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OC Manager\Subcomponents and find one value called “netfx”. Delete it
3. Create a .inf by naming it netfx_repair.inf with the following content:
[Version]
Signature = “$Windows NT$”
DriverVer=10/01/2002,5.2.3790.0
[Components]
netfx=netfxocm.dll,UrtOcmProc,netfxocm.inf,,7
4. Launch your favorite command prompt and execute the following command:
sysocmgr /i:Path_to_your_ netfx_repair.inf
Usually I will prefer to put it in C:\, which you save your time from typing the full path
5. It will bring up a new installation Windows. Follow the on screen instruction. You may need your i386 folder ready in hand at your server as well. If you are prompted for a Source Path, point it to the i386 folder on your server and select the necessary files.
6. Once installation completed, you will need to register some of the assemblies back to the server by issuing:
%windir%\Microsoft.NET\Framework\v1.1.4322\gacutil.exe” /f /il %windir%\Microsoft.NET\Framework\v1.1.4322\assemblylist.txt
7. Restart your server if you are being asked for and .Net should be up and running back.
Windows 2008 RC -> Stable version?
All Windows Server 2008 test versions (Beta 3, Release Candidate 0, Release Candidate 1, etc) expire on June 30th, 2008. No exceptions. If you want to use your Windows Server 2008 installation after June 30th, 2008 you will need to install a new copy of Windows Server 2008 (RTM) or upgrade your installation to Windows Server 2008 (RTM)
Recent Windows versions have different mediakits for different versions, like Trial, OEM, Full / Retail and Volume License. Product Keys for recent Windows versions are also different and as a rule of thumb can only be used in conjunction with the right mediakit. This means you cannot use an OEM Product Key with Volume License media or use a Trial Key with Full media.
Switching between Windows Vista short cut
I have just formatted my Vista Business yesterday and was digging around if there’s any quick way for me to play around for the the short cut at my quick launch toolbar and I found this site. Generally, you can switch around the Quick Launch ToolBar by hitting {Windows} + 1, {Windows} + 2…etc to activate the quick launch.
Clean Install on IIS 7.0 in Windows 2008 RC0
I was poking around the Windows 2008 RC0 lately with IIS 7.0. While I was trying to install the FTP 7.0 into the server, the service fail to be installed. iisreset has also fail from the command line with the message:
The IIS Admin Service or the World Wide Web Publishing Service, or a service dependent on them failed to start. The service, or dependent services, may had an error during its startup or may be disabled.
I looked up in the Services MMC and the notice that the IIS Admin Services will fail to be started each time the iisreset is performed. This makes the reason for the FTP 7.0 RC0 to fail to install as at the end of the installation, it will run the iisreset command to restart the services.
I have tried uninstalling the Web Server Roles from the server and reinstall everything and it does not helps with the FTP 7.0 installation. Finally, I have make a clean IIS uninstalaltion by running the following command, which uninstall the Windows Process Activation(WAS). I then re-exceute the Web Server Role installation and this time the FTP 7.0 install without any issues
Start /w pkgmgr /uu:IIS-WebServerRole;WAS-WindowsActivationService
Changing Windows Remote Desktop listening port
By default, Windows Remote Desktop(RDP) is listening on the port 3389. You may change the listening port by modifying the registry key as follow:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
Change the PortNumber to something else you wish to apply. Make sure the port you are changing is not being used by other services on the server.
To connect to the RDP from your local RDP client application, enter “ServerName:Port” or “IP:Port”
Windows Vista Remote Desktop Authentication Certificate Error
I was trying to remote login to a Windows Longhorn server today after a reformat of the server from my Windows Vista Business. However, connection was being rejected and being bounce back with the error message
The authentication certificate received from the remote computer has expired or is not valid

I am so frustrated about this as I am able to login as of yesterday ( before the OS reload );Additionally, the server is a clean OS installation with no extra setting / application installation. Tried from other’s terminal RDP and is working fine. It just does not work from my Windows Vista machine.
After some checks, it turns out to be the server time zone and actual time is not synchronizing with my machine. As I have login on yesterday through my machine RDP, the check for the certificate will throws the invalid message. After changing the server time and time zone, I am able to login.
The other solution is to remote the certificate on the remote server through the Certificate MMC > > Certificates > Remote Desktop > Certificates
Printer sharing in Windows Vista
Windows Vista comes by default enhanced security control – User Access Control (UAC). It’s a good feature but for me is quite annoying as every files deletion and system changes, there will be pop up asking your permission. Arghhhh.. I finally turn it off and everthing turns back to normal, no more POP-UP! But…. today when I tried to map to a network printer, I was being prompted for some error saying:
Windows cannot connect to the printer. The specified print monitor is uknown
Searching through the Net and it looks like lots of Vista users as like me has the UAC disabled and having this problems. If you need to map to a network drive, you will need UAC enabled.
Categories
Recent Posts
- yum update – TypeError: unsubscriptable object
- Magento with Windows IIS
- Helm3 : File Manager Not Showing any Files
- Helm4 Error on Remove Domain
- SQL 2008 Maintenance Plan Execution Error
Recent Comments
- Superrookie on Cannot create Windows Service for MySQL.Error:0
- Martin on Cannot create Windows Service for MySQL.Error:0
- About MySQL.Error On Windows 7 | Robin Blog - UED, Open source, SEO, Marketing on Cannot create Windows Service for MySQL.Error:0
- Totally Frustrated MySQL Newbie on Cannot create Windows Service for MySQL.Error:0
- Simon on Cannot create Windows Service for MySQL.Error:0

