Exception regarding the paging property of a GridView

Today I found a solution for the following exception: “The data source does not support server-side data paging.” This happens when I set the ASP.NET GridView’s paging property to true and data source was bounded with a data reader. Exception was thrown because you cannot use the paging feature when the grid is bounded to
Continue reading Exception regarding the paging property of a GridView

How to Load Embedded Report Resource for Publishing

In the previous post, I have discussion how you could build a report on ASP.NET. The report file is basically an xml file with *.rdlc extension. This file basically describes your layout of your report and other essential information. But when you publish/deploy your web application with the code I have given in the previous
Continue reading How to Load Embedded Report Resource for Publishing

Bypass SSL Certificate Validation in .NET

In a .NET development, if you try to connect to the remote server through a web service with SSL you will probably get the following error message: “The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.” The inner Exception.Message is: “The remote certificate is invalid according to the validation
Continue reading Bypass SSL Certificate Validation in .NET