Saturday 14 March 2009

Server Application Unavailable

hey, below is one of the most common error displayed when your are setting up Visual Studio on your machine.

Server Application Unavailable

The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

The most common reason for this message is that the Asp.net framework is not properly installed on your machine. Well it can be an installation issue or something else, that have cauased this. But, the good thing is the solution is quite simple:

Goto to command prompt and execute the below command on your command prompt:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -i
%WindowsDirectory%\Microsoft.NET\Framework\%versionNumber%

The above command Installs ASP.NET version 2.0 and upgrade all application pools to ASP.NET version 2.0. The "ASP.NET 1.1" application pool is ignored.

The aspnet_regiis can also be used for other stuffs like setting up a default framework for your IIS. Just type aspnet_regiis (in a framework folder) without any parameters and you will see the list of things you can so with it.

Monday 2 February 2009

Why do we Yell in anger?

This is one of my favourite fwds...

A sage asked his mandalies, 'Why people yell at each other when they are upset?'

The men thought for a while, 'Because we lose our calmness,' said one.

'But, why to yell when the other person is at your side?' asked the sage. 'Isn't it possible to speak to him or her with a soft voice? Why do you yell at a person when you're angry?'

The men gave some other answers but none satisfied the sage. Finally he explained, 'When two people are angry at each other, their hearts distance a lot. To cover that distance they must yell, to be able to hear each other. The angrier they are, the stronger they will have to yell to hear each other through that great distance.'

Then the sage asked, 'What happens when two people fall in love? They do not yell at each other but talk softly, why? Their hearts are very close. The distance between them is very small.'
The sage continued, 'When they love each other even more, what happens? They do not speak, only whisper and they get even closer to each other in their love. Finally they even need not whisper, they only look at each other and that's all. That is how close two people are when they love each other.'

Then the sage said, 'When you argue, do not let your hearts get distant, do not say words that distance each other more, else there will come a day when the distance is so great that you will not find the path to return.'