IIS

WordPress 2.1 Image Upload Problem

After upgrading to Fast-CGI, my WordPress 2.1 image upload tool started asking for a password every time a image was uploaded. Turned out to be a permissions issue with WP/Fast-CGI-IIS that was solved by following the steps below from Joseph Scott's Blog.


  1. Edit upload_tmp_dir option in php.ini. In my case I created an uploads folder in the wwwroot: upload_tmp_dir = “c:\inetpub\wwwroot\uploads”

  2. Create the c:\inetpub\wwwroot\uploads folder and grant the IUSR full control of it

  3. Create the uploads folder in your wp-content folder, for me this was in c:\inetpub\wwwroot\wordpress-trunk\wp-contents ...


IIS 6 Timeouts - or not timing out - doesn’t timeout - the damn timeouts don’t work!

When IIS acts up, and won't timeout requests. When IIS Tracer keeps saying Preproc Headers, and the requests pile up and never finish. When you'd love to kick IIS in the head because requests won't time out. When IIS 6 requests don't time out. (I tried really hard here people!) Check the IIS 6 Metabase. Make sure you've enabled IIS so that you can edit the MetaBase directly (It's in /system32/inetsrv/MetaBase.xml) and check for these three line items.

HeaderWaitTimeout="30" ConnectionTimeout="240" MinFileBytesPerSec="240"

The first two settings are in seconds ...


XML Parsing Error IIS IE Firefox Coldfusion

While loading a page in my browser, IE or FireFox, I kept getting this odd error message... "XML Parsing Error - Not Well Formed". The odd thing was that I was loading a HMTL page, no XML. I tried changing the DocType tag, making my Javascript XML complaint (duh!) and I could not get this error to go away. I read something re: ASP causing the problem, so I disabled that in IIS, nothing. Turns out in a background process, I was calling a web service where the following code was used.

<cfheader name="Content-Type" value="text/xml; charset=utf-8">

So ...


Http keep-alives

I've been trying to read about iis type problems. I've read a bunch about keep-alives, and don't totally understand 'em. Anyway, here is a thread of general cf interest:

http://www.codefund.com/505/slow-response-on-static-content-5058292.shtm

also interesting... but of no direct value

http://www.alagad.com/files//dmfile/caseReport.html

ah-ha ah-ha ... maybe a point in here:
(talks about optimization, but made an interesting point about -size- of requests and cookies etc. I'll bet we are now returning huge requests for every object, and we might be able to sizably streamline them - especially from the ...


Updating CFMX 6.1

Hotfixes since 6.1 Updater http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=b3a939ce
Newest supported JVM 1.4.2_05
http://java.sun.com/products/archive/j2se/1.4.2_05/index.html

for those having troubles installing a new JRE (like I did): With MX 6.1 you have to install the whole SDK, not only JRE, because ColdFusion needs a 'Hot-Spot JVM' which is not included in the JRE. If you only install the JRE and change the path in jvm.config to the new location, ColdFusion will start with an 'error 2' and you'll get an ...