web analytics

Category: ASP.NET

The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first 0

The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first

This annoying error comes up when using some smtp server that uses SSL. A simple implementation to configure smtp settings in an ASP.NET web application is to add these setting in the specific "MailSettings"...

Securing ASP.NET Web applications – Beginner’s article 0

Securing ASP.NET Web applications – Beginner’s article

Want to secure a web application. A very good article relating to ASP.NET web application security hacks, and prevention techniques are defined at a beginner level. A good article for beginners, those who want...

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 25

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154

Sometimes when working with office Interop assemblies the above mentioned error occurs. I had also got the same when using Microsoft Excel interop assembly and adding its reference in my ASP.NET application.    ...

displaying an image for error message in ASP.NET validator control 0

displaying an image for error message in ASP.NET validator control

There are many instances when user wants to see interactive and elegant images in their websites, either they look at any of the controls, or the whole page itself. In ASP.NET validator controls, mostly...

How to validate ReCAPTCHA. 7

How to validate ReCAPTCHA.

There are some cases when a user want to validate a CAPTCHA and perform some activity on its results. ReCAPTCHA gives an .NET API to perform some operations on its CAPTCHA component. Following is...

Service Unavailable –  Error message 0

Service Unavailable – Error message

When you configure your IIS webserver and find the following message Service Unavailable Then the first solution to the above error is http://support.microsoft.com/default.aspx?id=823552 but if this does not solve the problem try doing the...

Remote Access Timeout 0

Remote Access Timeout

When using remote access you may find that uploading or downloading a large file or a group of files will cause the connection to time out before the operation finishes with the error message...

charachter validation and count for a textbox – Javascript 0

charachter validation and count for a textbox – Javascript

Here I have provided a solution to put a counter for a textbox, that can be updated as each character typed into the textbox. This script will also validate the maximum character length allowed...

Enable/Disable DIV tags through Javascript 0

Enable/Disable DIV tags through Javascript

Copy/Paste following javascript code snippet. <script type="text/javascript"> function toggleAlert() { toggleDisabled(document.getElementById("content")); } function toggleDisabled(el) { try { el.disabled = el.disabled ? false : true; } catch(E){ } if (el.childNodes && el.childNodes.length > 0) {...