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



On May 8, 8:33 am, bryn <[EMAIL PROTECTED]> wrote:
> I'm having the same problem.
>
> Vista Ultimate SP1; CF 8.0.  iiS 7 NOT enabled by default on my Sony
> Laptop and hence not working when I enabled it.
>
> Installation works better when logged in as the actual administrator
> (not merely a user in administrators group).
>
> When that is done, CF (Administrator) kind of works, but loads of
> problems getting iiS 7.0 to deliver pages properly.
> Cf Administrator is missing all the graphics...
> My application (based on cfform type=flash) not delivering the flash
> pieces or images.
>
> I'm using the trace facility (new in iiS7 ?) to tie down and eliminate
> the problems, but mostly they appear to be permissions based.
>
> iiS 7 not setting up the anonymous web user/group (iis_iusrs)
> properly.  Has to be done manually.
>
> I Hate the new iiS7 Manager UI.  Why do Microsoft have to fix things
> that ain't broke ?  The help for it is useless as usual.
>
> I have not yet googled this issue, but does anyone have a recipe for
> getting iiS 7 and CF 8 working on Vista ?
>
> Cheers,
> Bryn Parrott
>
> On May 8, 3:31 am, Andrew Scott <[EMAIL PROTECTED]> wrote:
>
>
>
> > That would be damn nice if they didJ
>
> > Andrew Scott
> > Senior Coldfusion Developer
> > Aegeon Pty. Ltd.www.aegeon.com.au
> > Phone: +613  9015 8628
> > Mobile: 0404 998 273
>
> > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> > Of Dale Fraser
> > Sent: Thursday, 8 May 2008 12:25 PM
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] Re: ColdFusion Install Broken
>
> > I hope they just use JIRA like they do for Flex.
>
> > Regards
>
> > Dale Fraser
>
> >http://learncf.com<http://learncf.com/>
>
> >http://flexcf.com<http://flexcf.com/>
>
> > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> > Of Andrew Scott
> > Sent: Wednesday, 7 May 2008 10:00 PM
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] Re: ColdFusion Install Broken
>
> > Yeah, know your pain there.
>
> > I believe they will have it opened up very shortly, this has got to be one
> > of the worst things they kept away from us. I hope the viewing of tickets is
> > better than the prerelease bug system that sucked.
>
> > Andrew Scott
> > Senior Coldfusion Developer
> > Aegeon Pty. Ltd.www.aegeon.com.au
> > Phone: +613  9015 8628
> > Mobile: 0404 998 273
>
> > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> > Of Dale Fraser
> > Sent: Thursday, 8 May 2008 11:51 AM
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] Re: ColdFusion Install Broken
>
> > Ok,
>
> > I'll try that, I do have UAC off.
>
> > I had someone not on SP1 try it and it worked.
>
> > So I think it's Vista SP1 related, no references to it anywhere, if CF had a
> > bug tracker DB I would be able to check if they even know about it.
>
> > Regards
>
> > Dale Fraser
>
> >http://learncf.com<http://learncf.com/>
>
> >http://flexcf.com<http://flexcf.com/>
>
> > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> > Of Andrew Scott
> > Sent: Wednesday, 7 May 2008 9:17 PM
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] Re: ColdFusion Install Broken
>
> > Yep,
>
> > Tell me about it.
>
> > I asked because there are 2 known problems.
>
> > I am not sure if you have UAC on/off, but you need to make sure Coldfusion
> > is run as administrator when installing. I came across this problem a few
> > weeks ago, if Coldfusion is not installed in this manner and I did discuss
> > it in here, it will not error and will install ok but will not install the
> > connectors at all.
>
> > This maybe the same problem you are having.
>
> > Andrew Scott
> > Senior Coldfusion Developer
> > Aegeon Pty. Ltd.www.aegeon.com.au
> > Phone: +613  9015 8628
> > Mobile: 0404 998 273
>
> > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> > Of Dale Fraser
> > Sent: Thursday, 8 May 2008 9:07 AM
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] Re: ColdFusion Install Broken
>
> > 32bit.
>
> > I'm not sure if this problem was introduced due to SP1 or 8.0.1 but install
> > on Vista used to work.
>
> > Regards
>
> > Dale Fraser
>
> >http://learncf.com<http://learncf.com/>
>
> >http://flexcf.com<http://flexcf.com/>- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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