Monday, June 20, 2011

Exception: "The underlying connection was closed: The connection was closed unexpectedly."

The most important reason might be your connection string.Modify your connection string to the updated database and see how it works like a magic.
The VPN issue may also result it in.Plz check whether your are connected to it.

Monday, April 4, 2011

Make icons background transparent in Windows XP

Please see below link for wonderful explanation of how to do it ?
Click here to know how it can be done !

Monday, March 28, 2011

How to make a Button appear as LinkButton?

.link
{
    text-decoration:none;
    background-color: #FFFFFF;
    background-repeat: no-repeat;
    background-color:Transparent;
    float:none;
    display:block;
    border-style:none;
   
}

use the above css class and you are done !

Monday, February 7, 2011

How to consume a .NET Dll in Classic ASP?

1.Use regsvr32  /u   to uninstall the existing  OLD ASP dll by navigating to the exact path of dll location in command prompt.
   Eg:regsvr32  /u CLib.dll

2. Go to Visual Studio Command Prompt.

3. Navigate to the path where the new .Net Dll (say CLib.dll) is residing.

4. Make the assembly CLibshared by adding it to GAC using below statement
   gacutil –i  CLib.dll 

5. Install the assembly into the registry using below command.
   regasm CLib.dll /tlb: CLib.tlb

6. Reset the IIS using command iisreset(not mandatory)

7. Now we can use our .Net DLL CLib.dll in ASP page.

Wednesday, January 12, 2011

MyThoughts !

  1. Never Let a task take 1 minute if it can be done in 59 seconds.
  2. Positive Outlook is must before you begin doing even your bath.
  3. If you have Jealousy, kill it fast otherwise  it will kill you faster.
  4. Studying great people broadens your thinking.The better way is to read their biographies and best way is to keep studying them personally if you have found one.
  5. The thing we are seeking is near to us but we rarely realize it.The so called Great ones can be found in your close circle itself if you have open mind.
  6. The quickest way to calm down your mind is to calm down your speech.Keep quiet and you feel comfortable.