Thursday, December 31, 2009

%1 is not a valid Win32 Application

Some times you get this error while opening a file. I got this when opening a .jpg image file which came as attachment to email in MS Outlook.

To resolve this goto Explorer (File Explorer not Windows Internet explorer) - click Tools - click Folder Options - click on the tab File Types and select the appropriate file type from the Registered File Types list. Click on the Change button in details for *** extension. Select appropriate program for opening the file in question.

Wednesday, September 30, 2009

Setting ASP Buffer Limit on IIS

ASP Buffer Limit has been set to 4MB by default, if your ASP application is pulling more data through HTML response.

Use the following command to get the present limit for command prompt
cscript.exe adsutil.vbs GET w3svc/aspbufferinglimit
Similarly you can use the following command from command prompt to set the limit

cscript.exe adsutil.vbs SET w3svc/aspbufferinglimit LimitSize

Tuesday, September 29, 2009

Geographical mapping to IP address

In order to map the IP address to a geographical representation, the system needs the geographical data mapping. This data is provided by several companies. One can use the GEOLiteCity data, which is free. To obtain this data, visit http://www.maxmind.com/app/geolitecity and download the ZIP file which contains two files, Blocks and Location CSV. The block file maps an IP number range to a location. The location file has the geographical information. Please note that there are frequent updates to these files, so make sure you read the description of their services.

Subscribe free via email

Enter your email address:

Delivered by FeedBurner

...