Rahul Soni's blog

Never assume the obvious is true!

Browse by Tags

Tagged Content List
  • Blog Post: ASP.NET:How to write error messages into a text file using a simple httpModule

    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. Please ensure that C:\Temp folder has Write access...
  • Blog Post: AJAXControl Toolkit issue in VS 2008

    When I tried opening the AjaxControlToolkit.sln by double clicking on it, it was throwing the following error at me... --------------------------- Microsoft Visual Studio --------------------------- The application for project 'H:\Downloads\AjaxControlToolkit\SampleWebSite' is not installed. Make sure...
  • Blog Post: Why am I unable to search for the folder which I know is present (in Vista)?

    Or... what exactly is this "Compatibility Files" folder icon doing in my Windows Explorer?? Jerry's Blog explains this stuff beautifully! So, why am I blogging about this? Well... to cut the long story short, I have lost almost 3 hours yesterday searching for some files/folders to fix an issue with one...
  • Blog Post: A sample to help in other samples related DataSource

    There are quite a few times, when I get an issue related with a specific DataControl and I want to bind it to a datasource. All geared up and with full enthusiasm, I start dealing with the issue... and DARN... I find that I did something awfully bad with my SQL Server during my last case!! So now, instead...
  • Blog Post: Error while Publishing from Visual Studio 2005

    Problem Description Issues when you try to Publish your website from Visual Studio 2005. It might happen if you create a File System project called <someName> and while publishing you use the same name in IIS. To reproduce this issue, create a simple File System based solution... Go...
  • Blog Post: File copy issue while trying to copy the files to my USB drive

    I like taking photos, and recently when I wanted to share some photographs with a couple of relatives via USB drive, I found a pretty interesting issue. I had about 200 pictures which I wanted to copy in my 1 GB USB drive. I selected all of them and when I tried pasting them in USB drive it started throwing...
  • Blog Post: VectorSendThrottleLimit in IIS, shall we... shan't we?

    Okay, first of all a disclaimer... don't try this on a production box. I am lucky enough to have a spare Win 2k3 box to play with and do the changes required. So without any further ado, let me point out a KB which is often misread... 916984 . Recently, I noticed that there were a few support calls where...
  • Blog Post: Dim browser As SHDocVw.InternetExplorer does something different in Vista

    First of all, I wouldn't pretend to know something which I don't. But this is kindda interesting... I got a comment on one of my previous posts from Boyd who was seeing a weird error on Vista. He had an application with the following code... Sub test() Dim br As SHDocVw.InternetExplorer br = New SHDocVw...
  • Blog Post: Error while opening emails with permission...

    Today, while I was trying to read a mail sent with Permissions, I was unable to do it. It threw the following error message... Your Information Rights Management configuration is invalid and needs to be repaired. For more information, contact your system administrator. To isolate this problem, I tried...
  • Blog Post: Issues related to my DVD drive (The device, \Device\Ide\IdePort0, did not respond...)

    It seems like I have a knack to invite problems (and try to fix it ). I have learnt a lot of valuable lessons while troubleshooting issues at GTSC. I will share some of them today... of course with respect to the issue that I faced this morning! Before I say anything further, please let me put a disclaimer...
  • Blog Post: How I survived a virus/trojan attack? (It was indeed a pain in the... you know what!)

    I was working with IIS at my home, and while looking at the Task Manager, I found a suspicious looking EXE running under the SYSTEM account. It was suspicious because the name of the EXE was fffccccMLP.exe. It just scared the hell out of me, since I haven't taken a backup for quite a few weeks now (yeah...
  • Blog Post: Quantification vs Gut feeling

    I was working on a pretty tricky issue a while ago. It was related to the Visual Studio IDE high memory consumption and slowness and I found that there are a lot of files in the Source Folder. So much so, that my gut feeling was saying that it is the source of all evil. But, troubleshooting doesn't really...
  • Blog Post: Connection and ASP Script Timeouts using Netmon 3.0

    Let's have a look at the difference between Connection timeout and ASP Script Timeout today! 1. Connection Timeout in Default Web Site As you can see below, the Default Web Site properties on my Win 2k3 machine has Connection Timeout set to 120 seconds. This typically means that after 120 seconds your...
  • Blog Post: A couple of articles on asp.net debugging

    Post Production Debugging for ASPNET Applications Part 1 This article discusses how to become comfortable with some of the tools available for ASP.NET so that you can use them effectively when time is more precious than gold, especially when there is a problem with your ASP.NET Production Server and...
  • Blog Post: Sample page in ASP.NET to show you different collections like Forms, Querystring, Cookies etc

    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 all the details... Create any text file with .aspx...
  • Blog Post: A couple of issues (and their workaround) with Social Bookmarking Tool Plugin for WLW

    If you have been using Social Bookmarking Tool which I created a while ago to generate automated bookmarking tags from WLW beta 2.0 , you might have seen the following two issues. 1. This one happens whenever you hover your mouse over the bookmarking links which you would have created using the tool...
  • Blog Post: Changing ASP.NET version in ASP.NET tab of IIS has no effect

    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 ASP.NET tab and the ASP.NET Version is showing...
  • Blog Post: I am an Admin on my PC... why doesn't my PC recognize me?

    Well, as always... let me begin with a some background information. I had an IIS server named "RahulServer" and everything was just fine. One fine day, when I was at my destructive best... I thought of playing around with some of the DCOM related settings and later found that as soon as I clicked on...
  • Blog Post: Windows Remote Assistance - A life saver in Vista!!

    I installed Microsoft Communicator 2007 (public beta) today and found that it was pretty cool. Read about it ! It had real nice integration with a lot of MS Office applications! Although, one drawback which I quickly noticed was the fact that it didn't have Remote Assistance!! Now, this is one feature...
  • Blog Post: customErrors defaultRedirect is not redirecting in ASP.NET

    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" /> </customErrors>...
  • Blog Post: Internet Explorer 7 crashes after installing some cool add-ons. What next?

    This was a real nasty one! My blog would have had a few more interesting entries had this not happened to me :-( I used IE 7 to blog initially and as most of the troubleshooters around, I had my box filled with tools which excite me. I don't know how it all started, but I noticed it the first time when...
  • Blog Post: Using Forms Based Authentication in ASP.NET for Static Content (Doc Files, PDF Files etc.)

    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 the Login Prompt OR it should simply deny access...
  • Blog Post: DLL Hell - L + P = Help :o)

    First up, I admit the atrocities of dll hell. But this post is not about it :o) If you have ever thought of OR needed an online database that contains information about DLL/EXE files that are included with selected Microsoft products, you may like the following information. This one comes in quite...
  • Blog Post: DW20.exe was stopping us from taking the Crash Dumps in w3wp.exe! How to disable it?

    While I was working on this issue today, I was thinking of this old adage... "When the going gets tough, the tough get going!". It looked pretty simple initially, and the issue was that the IIS worker process, W3WP.exe was crashing when the users tried browsing specific pages. I have seen a lot of...
  • Blog Post: Troubleshooting Session Related Issues in ASP.NET

    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 Hope this helps! Rahul...
Page 1 of 2 (44 items) 12