Skip to main content
Known Participant
February 7, 2019
Answered

Unable to access default page.

  • February 7, 2019
  • 2 replies
  • 3245 views

Hello,

   We have upgraded to using Cold fusion 2018 on Windows Server 2016.

When I am trying to access the default page I get a message , Please let me know , how to resolve this issue.

IQ

HTTP Error 404.17 - Not Found

The requested content appears to be script and will not be served by the static file handler.

Most likely causes:

  • The request matched a wildcard mime map. The request is mapped to the static file handler. If there were different pre-conditions, the request will map to a different handler.
    This topic has been closed for replies.
    Correct answer Priyank Shrivastava.

    Any other suggestions on resolving this issue. I have tried everything but still keep getting the same error.


    can you please send an email at cfinstal@adobe.com

    -Priyank

    2 replies

    Community Expert
    February 9, 2019

    This is less a CF question than an IIS question. In IIS, there are handler mappings for all sorts of file extensions. It sounds to me like you have one that matches CF files but resolves them as if they were static files (like HTML). You should go through the handler mappings yourself, and see if that's the case. If that's too complicated, you might post some screenshots here to show your handler mappings.

    If you're setting this up for development, you can skip the IIS configuration altogether and just use the built-in web server. IIS is pretty complicated, and doesn't really add much to the development process. And even if you plan to use IIS, you might want to skip configuring that during the CF install. Use the built-in web server until after you've completed the installation, then manually use the Web Server Configuration Tool to set it up. If you have previous CF installs using IIS, you'll need to run their own Web Server Configuration Tools to remove previous IIS mappings. A single IIS virtual server can only map to one CF instance at a time.

    Finally, this is probably the kind of thing you can resolve easily through an hour's worth of remote consulting, if you can afford that. I know there are people on the forums who offer that, like Charlie Arehart​. I could do that too but don't know when I'd be available, so I'd go with Charlie - he does this all the time, I think.

    Dave Watts, Eidolon LLC

    Dave Watts, Eidolon LLC
    iq11Author
    Known Participant
    February 10, 2019

    Thanks Dave for the suggestion but we need to make this work with the IIS server not any other web server.

    Community Expert
    February 11, 2019

    Hi Dave,

    Thanks for your suggestions, I tried both your suggestions, I changed the path in IIS sites/ virtual directories to point to c:\inetpub\wwwroot and also added a mapping in CF administrator to point to c:\inetpub\wwwroot

    My application however still continues to read from the c:\cf2018\cfusion\wwroot folder .

    Am I missing something ?

    Thanks

    IQ


    There may be an existing default mapping in CF Administrator for "/", and that's what you'd have to change I guess. It's a little hard to tell without poking around, to be honest.

    Dave Watts, Eidolon LLC

    Dave Watts, Eidolon LLC
    Priyank Shrivastava.
    Community Manager
    Community Manager
    February 7, 2019

    Hi,

    Could you please check if you have created the connector with IIS.

    Thanks,

    Priyank

    Thanks,Priyank Shrivastava
    iq11Author
    Known Participant
    February 7, 2019

    yes I have used the cold fusion Web config utility, where else can I check for this ?

    Priyank Shrivastava.
    Community Manager
    Community Manager
    February 7, 2019

    Hi,

    You can check if you have any folder name with "1" under \ColdFusion2018\config\wsconfig\ 1

    If you have this folder which clears that the connector is there. When you access the URL, please add your default document or any other CFM template.

    ex: http://localhost/index.cfm

    Thanks,

    Priyank Shrivastava

    Thanks,Priyank Shrivastava