Capture a web page into a BMP, JPEG or PNG image in ASP.Net using IECapt#

IECapt is a small command-line utility to capture Internet Explorer’s rendering of a web page into a BMP, JPEG or PNG image file. IECapt is available in a C++ and a C# version.

For more information please visit IECapt website: http://iecapt.sourceforge.net/

System.FormatException: Invalid length for a Base-64 char array.

Exception Details: System.FormatException: Invalid length for a Base-64 char array.

While passing the data through GET, Request.Querystring object interprets the “+” sign as a space, and that causes problems for encoding. This throws error Invalid length for a Base-64 char array. You can resolve this issue using

Example:


While passing the data through GET, Request.Querystring object interprets the “+” sign as a space, and that causes problems for encoding. This throws error Invalid length for a Base-64 char array. You can resolve this issue using

Password Encryption Using ASP.Net

Password Encryption can be used for encrypting password. Here in this article I am going to explain how you can create the hashed passwords. This method can be used for storing passwords in the credentials section of a database or inside an XML file.

Some of commonly used Hash Encryption Algorithms are ‘MD5‘ and ‘SHA-1

SHA-1 (Secure Hash Algorithm 1) is slower than MD5 but the message digest is larger, which makes it more resistant to brute force attacks. Therefore, it is recommended that Secure Hash Algorithm is preferred to MD5 for all of your digest needs.

Creating Hashed Passwords Using “SHA-1” (Secure Hash Algoritham)

  • Source Code “VB.NET”

    Dim strEncryptPassword As String
    strEncryptPassword = FormsAuthentication.HashPasswordForStoringInConfigFile(txtPassword.Text, “sha1”)

  • Source Code “C#”

    {
    string strEncryptPassword;
    strEncryptPassword = FormsAuthentication.HashPasswordForStoringInConfigFile(txtPassword.Text, “sha1”);
    }

Asp.Net Flv Converter Beta Version

Your Waiting for the Free Online FLV Converter is going to over… MenonOn.Net planning to launch the “On The Fly” FLV Converter by the end of July 2008.

Menon FLV Converter is an On the FLY FLV Converter for ASP.Net Video Streaming Portal Websites. It will convert video files to the flv format.

Beta version of Menon FLV Converter is still under testing… We need your suggestions about this. So kindly post your comments or mail me on menononnet@gmail.com

+CMS Content Management System

+CMS is a web content management system for small and medium sized websites. +CMS enables your web enterprise and legacy data through powerful application and database connectors, Web services, and XML feeds.

For more information please visit us http://www.pluscms.info

Solution for ASP.NET Error: Could not load file or assembly ‘System.Web.Extensions’

Reason
The Main reason for this error is ‘Your Application uses Microsoft ASP.NET 2.0 AJAX Extensions 1.0 and they had not been installed on your hosting server’

Solution – 1

  1. Download the ‘ASPAJAXExtSetup.msi‘ installer from Microsoft and run it on the live server. The required .dll files would then be inserted into the GAC

Solution – 2

  1.  Your Server did not exhibit the problem, so server obviously had the dll files. Then The Simple Answer is to place a copy of these following files in the applicatiion’s ‘Bin’ folder
    1. System.Web.Extensions.Design.dll
    2. System.Web.Extensions.dll

    You can find these files at C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\