Monday, December 5, 2011

Failed to access IIS metabase

if you try to run .aspx file in IIS server and got error like "Failed to access IIS metabase"




The easy solution for this error is:
Open visual studio command prompt and type this command
aspnet_regiis -ga \username
                   Here username is usually aspnet
if this doesn't work than use this command
aspnet_regiis -i

alternatively you can copy and paste this command into windows command prompt

%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

this will fix your problem

Saturday, November 5, 2011

Not Possible to create a folder name "CON"

An Indian found that nobody can create a FOLDER anywhere on
the Computer which can be named as "CON". This is
something funny and inexplicable? At Microsoft the whole
Team, couldn't answer why this happened!
TRY IT NOW, IT WILL NOT CREATE A "CON"
FOLDER

Friday, November 4, 2011

Create folder without name in windows

1. Right Click.
2. Choose New Folder.
3. Hold 'alt' Key and Type 255
OR
Rename a folder by Holding 'alt' Key and type 255.

Friday, September 2, 2011

Javascript to show message below the textbox


Demo:


Name




Source Code:
<html>
<head>
<Title>Javascript to show error message by text in a webpage</title>
<script type="text/javascript" language="javascript">
function check()
{
var a=document.getElementById('txtname').value;
if(a=="")
{
document.getElementById('divMsg').innerHTML="Name can not be Blank";
document.getElementById('divMsg').style.color="red";
}
else
{
document.getElementById('divMsg').innerHTML="Your Name: Mr. " + a;
document.getElementById('divMsg').style.color="green";
}
}
</script>
</head>
<body>
Name <input type="text" id="txtname">
<div id="divMsg"></div>
<input type="submit" onclick="check()" value="click">
</body>
</html>

Wednesday, August 24, 2011

Google Voice Search

Google introduced voice searching on your computer.
It’s easy to search out loud. All you need is Google Chrome and a built-in or attached microphone.
To get started:
  1. Download and install Google Chrome
  2. Open Chrome and type http://www.google.com/  in address bar. But May be google will open as your country google's domain For example if you from india then google.co.in will be open. Then click on "Go to google.com" as shown in image.

         



  3. Just click the mic in the search text box  and start talking to google for search.

   


  For More information visit to http://www.google.com/insidesearch/voicesearch.html

Tuesday, August 23, 2011

Know the version of SQL Express

If you want to know the version of  SQL Express:
  • Open command Prompt
  • Run the following command
SQLCmd -S.\sqlexpress -Q"select @@version"


Saturday, May 7, 2011

Problem while installing SQL Management Studio Express on Windows 7/Vista x64

If you try to install SQL server 2005 Management Studio Express edition on Windows 7/Vista x64, and you got error -29506.Then you have to understand this problem to solve it.

This Problem come due to UAC(user authentication center) enabled. And also there is a problem with msi file which can not right click to "Run as administrator" to bypass UAC.to solve this problem you have to disable UAC or you to login as administrator.
Steps To solve Problem:
1. Start=>All Programes=>Accessories=>Command Prompt,  Right click  and run as administrator
2. Change the directory in which MSI file (sql server 2005 express edtion setup ) is available. By cd command and give the full path.


3. And follow the instructions.

Tuesday, February 15, 2011

Rotate Your PC Screen

Press CTRL+ALT+Arrow key.
To Revert do the same.

Monday, January 3, 2011