IIS 7: IP Address revealed on redirection requests on HTTP/1.0 protocol

Recently worked on interesting case where internal IP address was revealed whenever we try to query through wfetch tool Request Flow==========Client    -> ISA     -> IIS 7x.x.x.30 ->x.x.x.10-> x.x.x.20 We have DNS installed on ISA server, having A record entry iistest.com pointing to x.x.x.20First thought was to follow kb 834141 , we ran following command on…

1

Logparser: Calculate No. of hits for different Browser type from IIS Logs

Why you need to know this: To figure out what kind of browser(IE, Firefox, Safari) requests are coming for your application.So that you can make sure your application is compatible with that browser type. IIS 6 Log   You can put the following into *.bat file and double click to execute. Srcnt ==> It Returns…

6

Using Excel to count no. of threads having same call stack

Lately, have worked on issue where most of threads were hooked up same call stack .Question pop up in my mind how many of thread are effected in total or having msxml3!CXMLHTTP::send in it. MS Excel spreadsheet came to rescue. From windbg get call stack on all threads in text file .logpen c:\out.txt~*kb.logclose Copy the…

2

.Net Versions unleashed >>>

In the changing .Net world it’s difficult to keep track of version corresponding to framework . Following is compiled list of .Net Version till 4.0 1.0=== .Net Framework 1.0 RTM                          ===> 1.0.3705.0 .Net Framework 1.0 SP-1                          ===> 1.0.3705.209 .Net Framework 1.0 SP-2                          ===> 1.0.3705.288 .Net Framework 1.0 SP-3                          ===> 1.0.3705.6018 1.1=== .NET Framework 1.1…

1

JScript: bWaitOnReturn property is not working as expected from JS file on Vista box

Working with JScript file on Vista box  , did noticed diffrence where bWaitOnReturn property is not working as expected. Syntax WshShell.Run (strCommand, [intWindowStyle], [bWaitOnReturn]) bWaitOnReturn : Wait for the command to complete before continuing execution of the wsh script. If bWaitOnReturn is set to TRUE, the Run method returns any error code returned by the…

1

ASP.NET 2.0 Perf counters stuck at 0 value when accessed through WMI script

Recently worked on interesting issue: When checking ASP.Net 2.0 counter, start -> run -> perfmon /wmi, counters doesn’t seem to be fluctuating ,Stuck at 0. Steps to reproduce Star -> run -> perfmon /wmi Add any counter related to Asp.Net v2.0 Add any counters like Asp.Net v1.1 for comparison Give a simple request to default.aspx…

1

Not able to switch to Design View in VS 2008

Problem Description================== Whenever we click on Design View in Visual Studio 2008 it has no effect. Screen is struck on HTML source   It get’s bit annoying when screen get struck at HTML source code. At the same time we can do other things like Add new item. So it does not seems to be…

1

Insert Null value into DateTime column in SQL server from ASPX application

Scenario======== We have following web form asking user to enter name and joining date   In SQL express we are having following columns Error======When ever user does not enter joining date instead of getting null value added into join_date column we end with exception on browser Code Behind=========== SqlCommand cmd1 = new SqlCommand(“INSERT INTO emp(emp_name,…

13

AJAX Javascript call to web service fails when (.asmx) is placed into sub directory

Problem Description =================== AJAX Javascript call to web service fail with is ‘null or not an object’ , when Web service is placed into sub directory say Service Error ===== A Runtime Error has occured Do you Wish to debug? Line:53 Error: ‘SupportIssue.BrokenService’ is null or not an object   Web service code =================== namespace…

10