Browse by Tags
All Tags »
ASP.NET 1.x (RSS)
In one of my previous posts , I mentioned about how to troubleshoot some issues with the use of a module. In this post, I will show you how a similar module could be of use when you want to log all the errors in a text file for troubleshooting purposes.
Read More...
...well first of all, I am NOT recommending it, but sometimes it could be necessary! Now, let's proceed to the code... 1. Create a page called RunBatchFile.vb and paste the following... Imports System.Diagnostics Imports System.IO Partial Class RunBatchFile
Read More...
Sometimes, while troubleshooting I am interested to find out all the details about certain collections in ASP.NET, like Forms, QueryStrings, Headers, ServerVariables, Cookies, Sessions and Params... I created a very simple aspx page which would show you
Read More...
I ran into another similar issue while playing around and thought I must share... By default, when you open IIS Manager, right click on any Virtual Directory and click on Properties it would show the following dialog box. Note that, I have activated the
Read More...
In one of my projects I was trying to use customErrors in ASP.NET and it was not working as I would expect. In the web.config I had the following... <customErrors defaultRedirect="~/Misc/ErrorPage.aspx" mode="On"> <error statusCode="404" redirect="~/Misc/ErrorPage.aspx"
Read More...
Scenario: You want to implement Forms based authentication for ASP.NET web application, and you have certain document/PDF files which need to be protected. It should be such that even if you try to browse that .doc file directly, it should take you to
Read More...
In this article I have discussed some of the common reasons for session loss issues in ASP.NET. I have also discussed about how you should think of fixing these issues yourself in a logical way. http://aspalliance.com/1182_Troubleshooting_Session_Related_Issues_in_ASPNET
Read More...
This is a pretty small sample to help you figure out the ASP.NET identity matrix and how it comes in effect. I am posting this since quite often we need to troubleshoot security related issues on a production website and making any Application level changes
Read More...
Got an interesting one today... Customer had a Windows 2000 box and lots of websites. Everything use to run fine till a moment when they started getting the following error out of the blue. Interestingly, recycling the Application pool would solve this
Read More...
A few days ago, one of my colleagues asked a very simple question... "Do we have any document which talks about Cookies from the troubleshooting perspective in general?". I was pretty amused for some reason and I thought okay, let me give you a detailed
Read More...
Requirement 4 ============= This is the 4th requirement of the Dynamic Datagrid Series at my blog. For previous Requirements, click here . Till now, we have a datagrid which is dynamically created with nicely formatted columns and rows which changes color
Read More...
Requirement 3 ============= We have a formatted datagrid which is dynamically added on your page. Without doing much coding, we want to provide the functionality in such a way that whenever the mouse hovers over any row the color should change. Also,
Read More...
It often becomes difficult to remember the color names in .NET. Now, if you have a datagrid or any other control and looking for appropriate colors, this code will help you to create a small page which will show you all the colors in one page, along with
Read More...
Requirement 2 ============= Give the Datagrid a decent User Interface with Appropriate Headers, Footers and Formatted Columns. Let's create a new ASP.NET Web Application under Visual Basic Projects called DataGridDemo2. Add the following lines just after
Read More...
In some of the forthcoming series in my Blog, I will start exploring Datagrid and some of the most common requirements we face in the programming life! I know it is quite late for 1.1 Datagrid since the ASP.NET 2.0 has already been released. But I never
Read More...