Archive

Archive for February, 2008

Calculate you project health from 7 questions

February 16, 2008 1 comment

David posted this great list of 7 questions. Each of them are most essential for any project. I learned some of them from my experience in the hard way. Here is the checklist that every project manager should check:

1. Are you using a version control tool?

2. Do the people on your team know how to use version control to ‘time travel‘ through project versions?

3. Do you have good test coverage?

4. Can you build the project, run the tests, and update project documentation with one command?

5. Does the team get an automated email within 15 minutes of an accidental broken build?

6. Does that email contain the changeset from version control that broke the build?

7. Does your team have to work late nights whenever you have to release your project into production?

If you answered ‘no‘ to any of the first 6 questions, changes are you answered ‘yes‘ to the seventh one.

Read his post here.

Categories: Project Management

Error messages when trying to install IIS components on Windows XP

February 16, 2008 1 comment

I was getting the following error message when tried to install IIS componentes:

“Setup cannot copy the file staxmem.dl_”

It was showing the error even after providing proper location of the file in WindowsXP installation CD. Finally, I found a solution in microsoft support site. According to the site, it could cause if the secedit.sdb in %windir%\security\database\ got damaged. To fix the secedit.sdb, do the following steps:

1. Make a backup copy of the secedit.sdb file.
2. Open a command prompt by clicking Start, Run, and then typing “cmd” and pressing Enter.
3. Type or copy and paste the following command
esentutl /p %windir%\security\database\secedit.sdb
and press Enter. Click “OK” when presented with “Repair” warning. Wait for repair to finish.

In my case, I installed a Virtual CD Rom software and seems to me that it caused the damage in secedit.sdb file.

Categories: IIS Tags:

How to reset MySql admin password

February 16, 2008 Leave a comment

Being a full time .net developer, I do most of my database related development in SQL Server. I recently moved to WordPress which use MySql as database. When I was setting up my new blog, I found that MySQL is already installed there but the password is not mentioned anywhere in the hosting docs. Now, in SQL Server by default the windows authentication is enabled. So you can easily login and change the password for sa.

But, for MySQL I found this interesting way:

  1. Go to Administrative tools -> Services and stop the ‘MySql’ service
  2. From command prompt, run Mysql\bin\mysqld-nt.exe” -P3306 –skip-grant-tables
  3. Open another command prompt and run mysql(\Mysql\bin\mysql.exe” -P3306 mysql)
  4. Now you can update mysql.user table to change the password for admin.
    For ex: update mysql.user set password=password(’new_password’) where user=’admin’
  5. Finally, you can close the prompts and kill the mysqld-nt.exe process from task manager and restart the service.
Categories: Database, MySQL Tags:

IIS Error “Unexpected error 0×8ffe2740 occurred”

February 16, 2008 Leave a comment

I have been getting the following error when trying to start IIS from my XP machine:

“Unexpected error 0×8ffe2740 occurred“

You can get more information in MS KB @ http://support.microsoft.com/?id=816944

Finally, I discovered that its caused by Skype. It listens to port 80 for incoming call. Now, most of the time IIS starts before Skype starts. So IIS works but if you restart IIS or try to start IIS after Skype is started then you will get this error message.

There are 2 possible solutions:

1. You can change your IIS settings to run in different port (say 81)

2. You can change your Skype settings
Skype File-> Options -> Connection
Uncheck Use Port 80 as an alternative for incoming connections.

Restart default website.

Categories: IIS Tags:
Follow

Get every new post delivered to your Inbox.