They need to fix it, people don't want to have to go through that crap.

Regards
Dale Fraser
http://learncf.com
http://flexcf.com


-----Original Message-----
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of CyberAngel
Sent: Thursday, 8 May 2008 7:37 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: ColdFusion Install Broken


Sounds like to me that you have a serious issue, one Coldfusion 8 as far as
I am concerned has only had problems with IIS7 (and this is my experience)
when the right components for IIS are not installed correctly to start with.

However, under SP1 for Vista one has to install it as administrator.

IIS7, actually does work out of the box when installed. The problem comes
when you need to use the IIS Metabase and IIS 6 configuration compatibility
with Coldfusion 8. You have to remember that IIS7 was not released long
before Coldfusion 8, so I doubt very much that IIS7 if fully supported
without that mode being switched on.

As for user permissions that goes without saying, that is a must but you
don't need to add users to groups that should have already been done when
IIS was installed.

I seriously think, and this is a guess that you may have had Bluedragon.Net
installed at one point? Only a guess.

You also don't state whether you are running a 32bit version of Vista or not
either, but I will assume you are running 32bit.

As for all the things you have done with the web.config. That is totally not
needed with Coldfusion 8 on Vista 32bit at all, provided you have installed
the right IIS7 components to begin with.



-----Original Message-----
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of bryn
Sent: Thursday, 8 May 2008 9:15 PM
To: cfaussie
Subject: [cfaussie] Re: ColdFusion Install Broken


As sometimes happens, I've answered my own question...

Most of the problems appear to be caused in iiS7.

- When iiS7 enabled, not creating the default (anonymous) web user
(IUSR_<machinename> and not making it a member of the group IISIUSRS.
- Same user needs to have permission to at very least Read the files
and folders in the web tree, which needs to be done manually.
- overRideMode settings in web.config seemed wrong (everything was
turned off).

CF 8 Install is not blameless however.
iiS7 has the concept of 'handlers' and a section in 'web.config'  ( >
c:\windows\system32\inetsrv\config\applicationHost.config) which is an
xml file.
<location path="Default Web Site" overrideMode="Allow">
        <system.webServer>
            <handlers>
                <!-- <clear /> -->
                <add name="AboMapperCustom-32604" path="*" verb="*"
modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime\lib
\wsconfig\1\jrun_iis6_wildcard.dll" requireAccess="None"
responseBufferLimit="0" />
                <add name="AboMapperCustom-32613" path="*.jsp"
verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime
\lib\wsconfig\jrun_iis6.dll" requireAccess="Script"
responseBufferLimit="0" />
                <add name="AboMapperCustom-32614" path="*.jws"
verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime
\lib\wsconfig\jrun_iis6.dll" requireAccess="Script"
responseBufferLimit="0" />
                <add name="AboMapperCustom-32615" path="*.cfm"
verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime
\lib\wsconfig\jrun_iis6.dll" requireAccess="Script"
responseBufferLimit="0" />
                <add name="AboMapperCustom-32616" path="*.cfml"
verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime
\lib\wsconfig\jrun_iis6.dll" requireAccess="Script"
responseBufferLimit="0" />
                <add name="AboMapperCustom-32617" path="*.cfc"
verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime
\lib\wsconfig\jrun_iis6.dll" requireAccess="Script"
responseBufferLimit="0" />
                <add name="AboMapperCustom-32618" path="*.cfr"
verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime
\lib\wsconfig\jrun_iis6.dll" requireAccess="Script"
responseBufferLimit="0" />
                <add name="AboMapperCustom-32619" path="*.cfswf"
verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime
\lib\wsconfig\jrun_iis6.dll" requireAccess="Script"
responseBufferLimit="0" />
                <add name="AboMapperCustom-32620" path="*.mxml"
verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime
\lib\wsconfig\jrun_iis6.dll" requireAccess="Script"
responseBufferLimit="0" />
            </handlers>
        </system.webServer>
    </location>

By default, it seems that when the CF8 connector function adds the
various ISAPI handlers into this file it adds a <clear /> verb at the
top of the list.
It appears to me that this has the effect of disabling the default
static file handler set up in iis7 such as the staticfile handler:
<add name="StaticFile" path="*" verb="*"
modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule"
resourceType="Either" requireAccess="Read" />
and this has the effect of disallowing proper handling of html, gif
files etc but of course cf files are handled OK.
The result is that graphical elements of (say) cf administrator are
not served up by iiS.

Remove the <clear /> statement and most things work, however as
overkill I also added explicit lines in the handlers section like
this:
<location path="" overrideMode="Allow">
        <system.webServer>
            <handlers accessPolicy="Read, Execute, Script">
                .
                .
                .
                .
                <add name="htmfiles" path="*.htm" verb="*"
modules="StaticFileModule" resourceType="File" requireAccess="Read" />
                <add name="htmlfiles" path="*.html" verb="*"
modules="StaticFileModule" resourceType="File" requireAccess="Read" />
                <add name="giffile" path="*.gif" verb="*"
modules="StaticFileModule" resourceType="File" requireAccess="Read" />
                <add name="jpgfile" path="*.jpg" verb="*"
modules="StaticFileModule" resourceType="File" requireAccess="Read" />
                <add name="jpegfile" path="*.jpeg" verb="*"
modules="StaticFileModule" resourceType="File" requireAccess="Read" />
                <add name="pngfile" path="*.png" verb="*"
modules="StaticFileModule" resourceType="File" requireAccess="Read" />
                <add name="cssfile" path="*.css" verb="*"
modules="StaticFileModule" resourceType="File" requireAccess="Read" />
                <add name="swffile" path="*.swf" verb="*"
modules="StaticFileModule" resourceType="File" requireAccess="Read" />

There is some evidence to say this last piece is unnecessary as I find
that with removal of the <clear> statement that directory browsing is
now working when it was not working before.  Since I spent the best
part of a day on this I chose to go no further having got the thing
working.
<^%%^%&%> to microsoft for not setting up iiS to work properly out of
the box when enabled.  Bunch of time wasters.
This was not the prime task, all I really wanted to do was get my app
working on the Vista laptop and then proceed to play/learn with Flex
on parts of it.  When I set out to do this I did not bargain on having
to learn new tricks with iiS as well, which I thought I knew well.

Someone (else) might choose to blog this after verifying it, seems it
might be useful to others...

Cheers,
Bryn Parrott





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to