Skip to main content
March 30, 2015
Question

Change ColdFusion Admin password

  • March 30, 2015
  • 1 reply
  • 2011 views

I have a rarely used server that I now need to start using.   I upgraded to CF 10 last year.   I assigned a password and was able to add all the patches available.  I logged out and haven't needed to login since.  I am now having to set up another connection.  When I attempted to login, I used the password that I had stored in a spreadsheet I have on the server; so I know it's good.   I used the password reset tool in the bin directory.  It asks me if I want to change the admin password or change admin component; I select change admin password.   I change the password and verify it.  It then asks me to change the RDS password, which I do.  All examples I've seen show a message coming back saying it was changed.  Mine does not give that message.  Instead, after the RDS password confirmation, it exits the tool and the password is never changed.   The one thing I don't really understand is why the password is no longer valid when no one but me has been on this server since the last time I used it.   Can anyone help me understand what I've done wrong?   Thanx.

This topic has been closed for replies.

1 reply

Inspiring
March 31, 2015

This might be due to the mimeType extension in the web.config. This does affect CF11, cannot remember if it affects CF10 though. Worth a quick check if you are sure the password is correct.

Can you give this a go:

  • Navigate to the webroot of your site.
  • Take a backup of web.config and open it with text editor (notepad etc)
  • Comment the entry for mimeType extension of ".air" like <!--<mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-application-installer-package+zip" />-->
  • Save the file and restart IIS.
  • Launch CF Admin and try to login.
March 31, 2015

Here is the file.  I don't see what you're talking about.

<configuration>

  <system.web>

    <customErrors mode="On" />

    <httpHandlers>

      <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

      <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

      <add verb="*" path="*.ashx" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

      <add verb="*" path="*.asmx" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

      <add verb="*" path="*.aspx" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

    </httpHandlers>

  </system.web>

</configuration>

Inspiring
April 1, 2015

What version of IIS are you using? What mode are you running your application pool in if IIS 7+ ?