04/01/2017 by Nitesh

Generate MachineKey using Windows PowerShell

In this post we will see how we can Generate MachineKey using Windows PowerShell from our local development machine. Problem: Many a times when a ASP.Net application is running on production server, we get an error message stating – “Validation of viewstate MAC failed. If this application is hosted by a web farm or cluster,…

Continue Reading »

22/06/2016 by Nitesh

Solution: Error with Entity Framework – Incorrect syntax near ‘OFFSET’

Friends, This post explains the solution to an issue that occurs with Entity Framework used against SQL Server 2008 database. The error is – An error occurred while executing the command definition. See the inner exception for details. —> System.Data.SqlClient.SqlException: Incorrect syntax near ‘OFFSET’. The error occurs if you are using Entity Framework EDMX file…

Continue Reading »

12/05/2016 by Nitesh

How To Install Spire.Office On your Machine

In this post we will see how to install Spire.Office software on your machine. Spire.Office for .NET is a combination of Enterprise-Level Office .NET components that includes Spire.Doc, Spire XLS, Spire.Spreadsheet, Spire.Presentation, Spire.PDF, Spire.DataExport, Spire.PDFViewer, Spire.DocViewer and Spire.BarCode. This product enables developers to open, create, modify, convert, print, View Office and PDF documents without the…

Continue Reading »

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 »

1 2 3 8