Freigeben über


My ramblings on ASP.NET and IIS

Intermittently getting Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401) after .net 3.5 Sp-1

If you happen to see following exception intermittently and that is corresponding to after...

Author: jaskis Date: 01/05/2010

Awesome picture

I came across this really nice picture.   Enjoy!

Author: jaskis Date: 12/28/2009

Configuring SMTP Settings programmatically on IIS 7 on win2008

Today I got a case where I was asked for a script to configure SMTP programmatically in IIS 7. To be...

Author: jaskis Date: 12/25/2009

Securing Session ID: ASP/ASP.NET

Checking through the Kb article (https://support.microsoft.com/kb/274149 ) “IIS supports the use of a...

Author: jaskis Date: 12/22/2009

After installing KB 973917, the IIS 6.0 application pools cannot start up

New issue on the block after installing KB 973917. Checking event viewer you would end up with Event...

Author: jaskis Date: 12/09/2009

visual studio 2008 sp-1 skips breakpoint / You cannot get the breakpoints in external JS files to get hit when that code is called from a popup window

Quick post on two new issue on the block related to Debugging/Breakpoint in Visual Studio 2008 After...

Author: jaskis Date: 09/21/2009

The Crash saga continues and expand further to ie 7 and firefox 3

Following my previous post after uninstalling IE 8 from the my Dell Vista Laptop and restoring back...

Author: jaskis Date: 08/19/2009

How to un-install IE8 from the vista box

On my home Vista laptop I got a weird problem with IE8 may be due to some malwares.Whenever I try to...

Author: jaskis Date: 08/17/2009

Deadlock when storing Asp.net sessions in SQL server during peak load

<Snip> When there is more than 1 server in web farm scenario it is an obvious choice to go for...

Author: jaskis Date: 08/12/2009

LogParser: Filter records for specific time frame/date

Today using Logparser for parsing the ETL file.I did spend some time on filtering it right way to...

Author: jaskis Date: 08/10/2009

Using ProcDump.exe to monitor w3wp.exe for CPU spikes

<Snip> Procdump is a light weight Sysinternal's command-line utility whose primary purpose is...

Author: jaskis Date: 08/07/2009

503 service unavailable due to “The Module DLL …compdyn.dll failed to load”

Quickly helping  one of colleague where after restoring applicationhost.config from the back up...

Author: jaskis Date: 07/28/2009

Uploading a file using FileUpload control fails in IE8

This week I wrote new blog post on our team blog webtopics which talks about above error and reason...

Author: jaskis Date: 07/27/2009

IIS7:Classic ASp :http 404.3 / An error occurred on the server when processing the URL. Please contact the system administrator

While working with classic ASP on my Vista IIS 7 box.I encountered two different problems: Firstly...

Author: jaskis Date: 07/20/2009

Intermittently System.Web.HttpExceptions(A field or property with the name was not found on the selected data source) is thrown when the application is under heavy load

This week I wrote new blog post on our team blog webtopics which talks about above error and reason...

Author: jaskis Date: 06/20/2009

IIS 7 –Getting 500.19 – Internal Server error on new virtual directory

Working today on my Vista when I Added New Virtual Directory from IIS manager pointing to newly...

Author: jaskis Date: 06/13/2009

IIS7: 503 Service Unavailable due to autostart=false for app pool

While setting up repro for one of the customer on my Vista IIS 7.I ran into couple of issue(i’ll...

Author: jaskis Date: 05/16/2009

best practice when dealing with dynamic control issues

In 3 years at PSS I've worked on many issues related Dynamic Control i.e 1) Controls not able retain...

Author: jaskis Date: 05/13/2009

Using microsoft.web.administration to query iis7 as non-admin

We can either use ADSI,WMI,JScript etc ... to query IIS 7 config like how many website, virtual...

Author: jaskis Date: 05/12/2009

IIS 7: error: lock violation on deleting Modules at Website level

Today while working on vista IIS 7 and I was trying to delete  one of module named as...

Author: jaskis Date: 05/10/2009

Caspol: .Net 2.0 app failing on win 2008 when hosted on UNC path

Helping one of mate in our team with issue where Asp.net application was failing with...

Author: jaskis Date: 05/04/2009

Missing Private Keys pair after deleting pending request from IIS

Let say you have generated New Certificate request(certreq.txt) from IIS manager and would like...

Author: jaskis Date: 04/22/2009

ASMX POST request fails with Http 400 error when content-length size increases

Recently worked on a problem where Asmx Post request fails with 'HTTP 400' status code under the...

Author: jaskis Date: 04/19/2009

Reasons for increasing no. "# Induced GC"

.NET CLR Memory# Induced GC – This is the number of garbage collections that have occurred as a...

Author: jaskis Date: 03/03/2009

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...

Author: jaskis Date: 12/09/2008

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...

Author: jaskis Date: 11/13/2008

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...

Author: jaskis Date: 10/02/2008

.Net Versions unleashed >>>

In the changing .Net world it's difficult to keep track of version corresponding to framework ....

Author: jaskis Date: 09/02/2008

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...

Author: jaskis Date: 08/07/2008

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 ->...

Author: jaskis Date: 07/24/2008

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...

Author: jaskis Date: 07/09/2008

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...

Author: jaskis Date: 07/04/2008

<Previous