Disabling Web Services Documentation (Protocol) for ASP.Net Web Services

When you create a web site that uses web services for asynchronous jobs etc., your services documentation is publicly available to anyone. A web service documentation generally looks like below: Let's say you have a service class called “recordThis.cs”, under

Read More Disabling Web Services Documentation (Protocol) for ASP.Net Web Services

How to – Remove Bullets From ASP.NET AjaxControlToolkit AutoCompleteExtender

Today I decided to improve the look of my AutoCompleteExtender. One of the things that I wanted to get rid of was the bullets displayed on the left of each list item in the auto-complete list. There are many discussions on

Read More How to – Remove Bullets From ASP.NET AjaxControlToolkit AutoCompleteExtender

ASP.NET Mobile Device Detection

With the increasing use of mobile devices and mobile applications webmasters want to make their websites mobile friendly more than ever. If you are a .NET developer like me and want to detect mobile devices this one is for you.

Read More ASP.NET Mobile Device Detection

Tools – ASP.NET SQL Server Registration Tool (Aspnet_regsql.exe)

The ASP.NET SQL Server Registration tool is used to create a Microsoft SQL Server database for use by the SQL Server providers in ASP.NET, or to add or remove options from an existing database. The Aspnet_regsql.exe file is located in

Read More Tools – ASP.NET SQL Server Registration Tool (Aspnet_regsql.exe)

How to – Debug ASP.NET Applications Hosted on IIS

You have a website deployed on a remote server (VPN or dedicated server, not shared hosting). Your code works fine on your development machine, when you debug there is nothing wrong, and everything is working just fine. But when you deploy it there are some

Read More How to – Debug ASP.NET Applications Hosted on IIS

System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: 5.7.1 Unable to relay for …

I faced this message when I was trying to enable E-Mail sending on VPS hosting using Windows Server 2008 R2. Here are the things to do to solve it: 1. Check if you have SMTP feature installed, because it is

Read More System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: 5.7.1 Unable to relay for …

An unknown error occurred while processing the request on the server. The status code returned from the server was: 500

So you came accross this error message. There might be different reasons for this error but in my case the reason is the validation of requests by default in one of my aspx pages. When I clicked a button, which

Read More An unknown error occurred while processing the request on the server. The status code returned from the server was: 500

Log ASP.NET Application Events (Global.asax)

Hi, In this post I will be explaining to you how to monitor and “log” your ASP.NET Application's events that you can define and manage through the use of Global.asax file. (“Application_Error” event specifically. You can apply the same principles

Read More Log ASP.NET Application Events (Global.asax)