14/04/2016 by Nitesh

SOLUTION: Friendly URLs not working on shared server

So, you have created an awesome website in ASP.Net using the awesome friendly URLs and it is all working on your machine, you upload the code to a shared server and your Friendly URLs stop working. Ahhhh! Something that you expected to work out of the box as it works on Microsoft Azure but it…

Continue Reading »

01/03/2016 by Nitesh

Solution: The certificate chain was issued by an authority that is not trusted

Friends, Recently, I migrated a website hosted on Azure to a shared hosting server and started getting connectivity error for SQL server. The error was – The certificate chain was issued by an authority that is not trusted After some research, I found that the error occurs when we do not have a CA signed…

Continue Reading »

29/02/2016 by Nitesh

Remove Roslyn support from ASP.NET Project

Friends, VS2015 has been launched and if you’re using .net Framework 4.5.2 to create projects using VS2015, you might have noticed that the project templates use Roslyn by default. In this post we will see How To Remove Roslyn support from ASP.NET Project. If you’re not aware of Roslyn, it is a set of open-source…

Continue Reading »

17/08/2015 by Nitesh

301 Redirect Non WWW to WWW Using Web.config in ASP.Net

Friends, Whenever we host a domain on server, we are able to access the webpage from http://www.mydomain.com as well as http://domain.com. For SEO purposes, this is not good as Google and other search engines penalises the website as duplicate content. To resolve this, we can redirect the non-www domain to www domain.  In this post, we…

Continue Reading »

10/06/2015 by Nitesh

Solution: The URL for Web project ‘X’ is configured to use IIS as the web server but the URL is currently configured on the IIS Express web server

Friends, While working on a web project, I started getting this error while loading the project in VS2012 this morning. I did a Bing search on the problem and came across the following solutions. Different solutions work for different users so I am listing down all at a single point. Below is the list of…

Continue Reading »

1 2 3 7