Wednesday, September 21, 2011

How To Install Ajax Control Toolkit in Visual Studio

SQL --// Restore failed for Server. //--

Applies to: Microsoft SQL Server 2005/2008 using SQL Server Management Studio as administrative tool.

Symptom

Restore failed for Server <Instance Name>. (Microsoft.SqlServer.Smo)
Additional information:
System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing <Current Database Name or Target DB Name>. (Microsoft.SqlServer.Smo)

 

 

 

 

 


Cause.

This error appears when you are trying to restore a backup set that was not created on the database that you want to apply this restore.

Solution.

To apply this restore and prevent this error message, you will need to select "Overwrite the existing database" on the restore dialog as shown in the image below.

 

Tuesday, September 20, 2011

"Where do you see yourself in three years?"

Story:

"Where do you see yourself in three years?" isn't a useful career development question—not without analysis. The Career Target is a fast, simple, effective technique. It's time-boxed; if you're not done #5 in 22 minutes you're doing it wrong!

Materials: paper; four pens (black, blue, red, green); highlighter.

1. Bull's-eye (90 seconds)

Draw a circle about 7cm/2" across on the page (use black until #4). Inside the circle record three to seven things you love to do in your current role. These are usually activities you do well. These are not about money; they motivate you and help bring meaning to your life. If your current role has nothing you love like this, note how you satisfy these drives (volunteer work, hobbies, travel, etc.). Highlight unpaid work.

2. Off-Target (2 minutes)

Draw a circle around the bull's-eye, about 15cm/6" across. Outside this circle, record activities in your current role that you loathe. You often perform these off-target activities poorly. To never do these again would be a relief.

3. Beside-the-Point (2 minutes)

Between the circles, record activities you do, but don't care about. You may be good at them, but they are not challenging or interesting. It wouldn't bother you to never do them again.

4. Clustering (90 seconds)

Present: Put a blue circle around everything that is necessary to success in your current role. Most people find an item in the bull's-eye, a few beside-the-point, and a few off-target. Put a red box around everything that prevents your success in your current role. Many people box an item in the bull's-eye.

Future: Highlight activities critical to your success in your desired role. Some may be red boxed in your current role. In green, record activities that you don't do today but which are critical to the desired role. Put them in the appropriate circles and highlight them.

5. Analyse and Plan (15 minutes)

Your target now shows what you care about and what activities you need to stop, start and continue for success. Is your desired role a good fit? What roles might be better? Find ways to do all critical activities yourself (perhaps with help). Don't try to stop behaviours that prevent success; find other venues for these drives (hobbies, volunteering, sports, etc.). Delegate everything else.

6. Act (the rest of your life)

Go make it happen, and revisit your target as needed.


Monday, September 12, 2011

“HTTP Error 404- File or Directory not found” IIS

Problem "HTTP Error 404- File or Directory not found"

Tryouts

IF

A.)To permit IIS to serve content that requires a specific ISAPI or CGI extension that is already listed in the Web service extensions list, follow these steps:

1.                  Open IIS Manager, expand the master server node (that is, the Server name node), and then select the Web service extensions node.

2.                  In the right pane of IIS Manager, right-click the extension that you want to enable. In this example, this is ASP.NET v2.0.50727.

3.                  Click to select the Allow check box.

Elseif

B.) If ASP.NET v2.0.xxx does not appear in Web Services do:

start/Run/cmd:

cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

(where Windows is your windows directory and .50727 is your .NET version)

aspnet_regiis –ir