MBC Computer Solutions Ltd.

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 27 February 2008

IIS 7 FTP Availability

Posted on 13:13 by Unknown

When I first installed Windows 2008, the first thing I did was install IIS, but I was stumped when I first launched it.  All of the FTP features I was hoping for (like a GUI to control AD isolation Mode) and integration with the IIS 7 manager were missing, and instead I had to result back to the II6 manager and FTP release.  As it turns out, IIS7 FTP is being delivered out-of-band (this is the topic of another discussion all together), and I was even more disappointed to hear that it wouldn't be available until the official Win2k8 launch!

Well now that it has officially launched, the IIS team has held up to their promise and IIS7 FTP (FTP7) is indeed available.

x86: http://www.iis.net/go/1619
x64: http://www.iis.net/go/1620

Enjoy!

Read More
Posted in | No comments

Wednesday, 20 February 2008

MS-DOS Editor still present in Vista

Posted on 20:34 by Unknown

Don't ask why I was trying this, but I found it slightly odd that Microsoft was still shipping edit from the MS-DOS days - in fact, as you can see, the copyright is for 1995.  And yes, it is a 16-bit app being hosted by ntvdm.exe (Windows 16-bit virtual machine).  Weird!

Capture

Read More
Posted in | No comments

Examining HTTP responses in kernel-mode cache

Posted on 19:03 by Unknown

I came across an interesting post relating to a problem with a HttpModule caused by kernel-mode cache. The author points out a handy netsh command to view the contents of the kernel-mode cache.

You will need to have some requests before you will see anything - refreshing http://localhost/welcome.png a few times seems to do the trick.

netsh http show cache

Snapshot of HTTP response cache:
--------------------------------

URL: http://localhost:80/welcome.png
    Status code: 200
    HTTP verb: GET
    Cache policy type: User invalidates
    Creation time: 2007.12.10:5.22.23:0
    Request queue name: DefaultAppPool
    Headers length: 186
    Content length: 184946
    Hit count: 15
    Force disconnect after serving: FALSE

Read More
Posted in | No comments

Saturday, 16 February 2008

Vista SP1 Installation Results

Posted on 14:02 by Unknown

I thought it might be worthwhile to keep track of my Vista SP1 installs and any particular issues I run into.

Updated: February 20th, 2008

First Install: Dell Precision 380, Vista x86

Installed without any problems, but about 18 hours later I was prompted to re-active Windows.  Reactivation was successful using online method.

Second Install: MacBook with Boot Camp 2.0, Vista x86

Installed without any problems but during installation the computer rebooted and booted OS X (default selection) - I suppose this is my fault and easily rectifiable, but something to watch out for

Third Install: Dell Latitude D620, Vista x86

I first tried to execute the service pack from a network share.  Windows prompted me to run the program, which I did, but after several minutes of waiting I checked Task Manager only to find it was not executing. For the next attempt I copied the file to a local drive and ran it - installation was successful.

4) Dell Optiplex 745

Installed without problems.

Read More
Posted in | No comments

Checking the state of TCP Auto-tuning and Chimney (TOE)

Posted on 13:36 by Unknown

I previous wrote about disabling TCP chimney and disabling auto-tuning - but what if you just want to see the status of these services?  In Widows 2008 and Windows Vista, netsh provides a status summary of these. You can view this information by running the following command:

netsh int tcp show global

This yields the following output:

Querying active state...

TCP Global Parameters
----------------------------------------------
Receive-Side Scaling State          : enabled
Chimney Offload State               : disabled
Receive Window Auto-Tuning Level    : disabled
Add-On Congestion Control Provider  : none
ECN Capability                      : disabled
RFC 1323 Timestamps                 : disabled

The second and third line show the chimney status and receive window auto-tuning level respectively.  Auto-tuning is only available on Windows Server 2008 and Windows Vista whereas chimney is available as of Windows 2003 SP2 or SP1 with the SNP (Scalable Networking Pack) installed.

Read More
Posted in | No comments

Tuesday, 12 February 2008

Catching JavaScript errors and masking over the alert() method

Posted on 13:53 by Unknown

OK, I didn't think this would be such an amazing concept, but apparently someone did.  JavaScript actually allows you to override the default alert() behaviour; you can use this to display a fancy dialog in place of the standard modal alerts, or just alter the alert:

<script type="text/javascript">
// <![CDATA[
   var originalAlert = window.alert;

   window.alert = function(msg) {
      originalAlert('Altered Message: ' + msg);
   }
// ]]>
</script>

Furthermore, you can apply the same principal to override the error behaviour:

window.onerror = function() {
   alert('An error occured');
}

The result of an error on the page is a popup "Altered Message: An error occurred".

You can test this out by adding another function and method

function throwError(e) {
    throw 'Exception';
}

<input type="button" value="Click Me" onclick="throwError();" />

Read More
Posted in | No comments

Tuesday, 5 February 2008

It's the simple things that save you...

Posted on 14:52 by Unknown

If you work on any type of web farm or cluster, they'll come a time when you have to figure out what web server you are actually hitting.  Sure you could enable tracing, but this comes with consequences (like an application restart).  Something I've gotten into the habit of on every site I work on is including the server name and last date/time refreshed in comments at the bottom of the page.

 <!-- Connected To: <%= HttpContext.Current.Server.MachineName.ToString().ToUpper() %> -->
<!-- Last Refreshed: <%= DateTime.Now.ToShortDateString() + " " + DateTime.Now.ToLongTimeString() %> -->

Time after time again, I thank myself for doing this..

Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

Popular Posts

  • How to change the temperature scale on a Honeywell T6575 Thermostat
    [The complete documentation can be found at http://customer.honeywell.ca/techlit/pdf/95c-00000s/95c-10897.pdf ]   This was bugging me fo...
  • C# – Converting IP’s to Numbers and Numbers to IP’s in 2 lines of code
    I don’t know why everywhere I searched had such complex implementation of this, but converting from a dotted IP to a number (integer) and ba...
  • Why does iTunes setup need to close Outlook?!
    Everytime I update iTunes I remember why I left it so long - the install process is quite annoying! Can someone please explain to me why it...
  • Mac OSX 10.5.2 Freezing Intermittently
    I've been having an issue with my MacBook (you know, that computer I hide under my desk most of the time) where intermittently, the UI w...
  • ScottGu’s Color Scheme for Visual Studio 2010
    ScottGu was nice enough to provide the world with his awesome Visual Studio 2008 color scheme.  I’ve been using this for many years now an...
  • Windows Search 4.0 Released .....and searching finally works!
    I've been dealing with Outlook 2007's search problems since installing it way back then.  Most frequently, I'd search a keyword;...
  • Don’t forget about the defer attribute for non-essential external scripts
    I was recently reviewing a customers eCommerce site and I noticed that the “Please Wait” page that occurs after completing an order but befo...
  • Recursively finding controls - where to start?
    I love hearing about bugs and problems in components I have authored.  Most people hate hearing about bugs (I assume because they like to th...
  • Popup Window Manager
    I was just reading a post by Rick Strahl about managing popup windows in the browser.  I actually authored a mini popup window manager a wh...
  • New Blackberry firmware coming down the pipe?
    My partner alerted me today to the fact that RIM has finally released 4.2 code for the 8700. I complained a while back that the 8800 code ...

Blog Archive

  • ►  2012 (1)
    • ►  February (1)
  • ►  2010 (1)
    • ►  April (1)
  • ►  2009 (7)
    • ►  December (1)
    • ►  November (1)
    • ►  October (1)
    • ►  July (1)
    • ►  April (2)
    • ►  February (1)
  • ▼  2008 (36)
    • ►  November (3)
    • ►  October (2)
    • ►  September (1)
    • ►  August (1)
    • ►  July (2)
    • ►  June (6)
    • ►  May (4)
    • ►  April (1)
    • ►  March (4)
    • ▼  February (7)
      • IIS 7 FTP Availability
      • MS-DOS Editor still present in Vista
      • Examining HTTP responses in kernel-mode cache
      • Vista SP1 Installation Results
      • Checking the state of TCP Auto-tuning and Chimney ...
      • Catching JavaScript errors and masking over the al...
      • It's the simple things that save you...
    • ►  January (5)
  • ►  2007 (35)
    • ►  December (1)
    • ►  November (9)
    • ►  October (3)
    • ►  September (6)
    • ►  August (7)
    • ►  July (9)
  • ►  2006 (3)
    • ►  May (3)
Powered by Blogger.

About Me

Unknown
View my complete profile