What’s the difference between a 301 Redirect and a 302 Redirect?

301 Redirect
Redirects to the site you specified in the Forward To field using a “301 Moved Permanently” HTTP response. The HTTP 301 response code tells user-agents (including search engines) that the location has permanently moved.

302 Redirect
Redirects to the site you specified in the Forward To field using a “302 Moved Temporarily” HTTP response. The HTTP 302 response code tells user-agents (including search engines) that the location has temporarily moved.


ASP.Net – Global.asax not firing

“I am experiencing problem with global.asax; events are not firing, I cant debug global.asax” One of my reader asked me.

Simple and reliable solution is.

Remove global.asax from your project and add again and leave in on the root of the project.

Since we are using ASP.Net 2.0 there is no Global.asax file in visual studio solution by default.

This will solve the problem, Global.asax


flowchart shapes, ERD,Visio

We normally use visio to build documents which helps developer to understand the flow of the modules and projects. These are common used shapes that’s why I am just taking the definition from Microsoft itself so it would be consistent for everyone.  

Its just a copy paste from Microsoft visio but the main concept behind is to share

What the flowchart shapes represent

When you open the Basic Flowchart template, the Basic Flowchart Shapes stencil opens too. Each shape on the stencil represents a different step in a process.

Of all of the shapes on the Basic Flowchart Shapes stencil, only a few are commonly used. Those commonly used shapes are described here.

  • Terminator  Use this shape for the first and last step of your process.
    Terminator shape
  • Process  This shape represents a step in your process.
    Process shape
  • Predefined process  Use this shape for a set of steps that combine to create a sub-process that is defined elsewhere, often on another page of the same drawing.
    Predefined Process shape
  • Decision  This shape indicates a point where the outcome of a decision dictates the next step. There can be multiple outcomes, but often there are just two —yes and no.
    Decision shape
    Document  This shape represents a step that results in a document.
    Document shape
  • Data  This shape indicates that information is coming into the process from outside, or leaving the process. This shape can also be used to represent materials and is sometimes called an Input/Output shape.
    Data shape
  • Flowchart shapes  You can right-click this multi-shape to set to any of the following shapes: Process, Decision, Document, or Data. Any text you type onto the shape, or information you add to its Shape Data, remains with the shape.This is what the shape looks like on the stencil:Flowchart shapesThis is what you see when you drag the shape onto the drawing page and right-click it:Flowchart shapes with right-click menu
  • Stored data  Use this shape for a step that results in information being stored.
    Stored data shape
  • On-page reference  This small circle indicates that the next (or previous) step is somewhere else on the drawing. This is particularly useful for large flowcharts where you would otherwise have to use a long connector, which can be hard to follow.
    On-page refference shape
  • Off-page reference  When you drop this shape onto your drawing page, a dialog box opens where you can create a set of hyperlinks between two pages of a flowchart or between a sub-process shape and a separate flowchart page that shows the steps in that sub-process.
    Off-page reference shape

HideLess frequently used flowchart shapes

  • Dynamic connector  This connector draws a path around shapes it encounters.
    Dynamic connector shape
  • Line-curve connector  This connector has adjustable curvature.
    Line-curve connector
  • Auto-height box   This is a bordered text box that adjusts to accommodate the amount of text you type. You can set the width by dragging the sides of the shape. Although this shape doesn’t represent a step in a process, it is a handy way to add a text box to your flowchart.
    Auto-height box
  • Annotation   This bracketed text box adjusts to accommodate the amount of text you type. You can set the width by dragging the sides of the shape. Like the Auto-height box shape, this shape doesn’t represent a step in a process. Use this to add comments about your flowchart shapes.
    Annotation shape
  • Manual input  This is a step where a person provides information to the process.
    Manual input shape
  • Manual operation  This is a step that must be performed by a person.
    Manual opperation shape
  • Internal storage  This shape represents information stored on a computer.
    Internal storage shape
  • Direct data  This shape represents information stored so that any single record can be accessed directly. This represents how a computer hard-drive stores data.
    Direct data shape
  • Sequential data  This shape represents information stored in sequence, such ad data on a magnetic tape. When data is stored in sequence, it must be retrieved in sequence. For example, in order to access record 7 you would have to first go through records 1 through 6.
    Sequential data shape
  • Card and Paper tape  This shape represents a physical card or paper tape. Early computer systems used a system of punch cards and paper tape to store and retrieve data and to store and run programs.
    Card shape
  • Display  This shape represents information that is displayed to a person, usually on a computer screen.
    Display shape
  • Preparation  This shape indicates where variables are initialized in preparation for a procedure.Preparation shape
  • Parallel mode  This shape shows where two different processes can operate simultaneously.Parallel mode shape
  • Loop limit  This shape marks the maximum number of times a loop can run before it must go on to the next step.
    Loop limit shape
  • Control transfer  This shape indicates a step that goes to a step other than the typical next step when certain conditions are met.
    Control transfer shape


Please visit my official blog for future.



Cannot load the DLL xpstar.dll

My database server giving me hard time after displaying this error.When I tried to search on the INTERNET, I was amazed every third person have the same error. Its so common.

“Cannot load the DLL xpstar.dll”

This error message happens because of many reason.

  • If you install some application on the database server.
  • got rebutted because of serge problem.
  • some how directly shutdown

Here is the solution.

Click here to Download this file and paste in the /BIN/ folder in the respective path.

another way to resolve it, repair sql server using installation CD.