Monthly Archives: April 2013

Add the server variable name to the allowed server variable list.

In IIS you can add Server variable to the server variable list in the following steps. Go to IIS Select the site node for which you want to add variable double click URL Rewrite under IIS on the right hand … Continue reading

Posted in Tutorials/Tips | Leave a comment

Running query against remote server

If you want to run a SQL Query against a remote server for example a different machine on the same network, you may want to use the flowing code. First link the server, then use OPENQUERY to run the query … Continue reading

Posted in SQL Server 2008, Uncategorized | Tagged , , , , , | 2 Comments

Emirates outrageous baggage fees

It looks like the airline industry is run by cowboys, there are no rules and regulations, esp if you are going on international flight via multiple airlines. And esp if you got your ticket via online purchase. It recently happened … Continue reading

Posted in Uncategorized | Leave a comment

You are viewing the content on this page in Preview Mode. Sign In to your Personal Account OR Start using Safari as an Academic or Library user to access the full content of this book.

I was getting this error when reading books online via local library website. The problem seemed to the Apple Safari Browser. I would get the same message over and over. When I opened the site in Google Chrome, the error … Continue reading

Posted in Tutorials/Tips | Leave a comment

Host file location on Windows

Windows Host file location Windows 7 = C:WindowsSystem32driversetc

Posted in Uncategorized | Leave a comment

CS0103: The name ‘ViewBag’ does not exist in the current context _viewstart

You might get the above error if you try to access @ViewBag from within _ViewStart.cshtml. One solution is use _Layout.cshtml and point your _ViewStart.cshtml to the layout page. Everything should work fine. // _ViewStart.cshtml page @{ Layout = “~/Views/_BasicLayout.cshtml”; <— … Continue reading

Posted in Software Development | Leave a comment

Download NorthWind Database 2012

There are three easy steps to download and install Northwind Database for SQL Server 2012 or any other version. 1. Download Northwind Database from codeplex 2. Restore the database in SQL Server Management studio. The file that you just downloaded … Continue reading

Posted in Uncategorized | 5 Comments