Coldbox/Relax 404 driving me crazy

I moved a working CB/RELAX rest api from an iis 6 box and installed it on pristine clean windows 2008 r2 which is iis 7.5 I believe.

When I hit domainname.com, I get the splash page" You are now running ColdBox SEEK 3.5.3 (Jeremiah 29:13)"

I see Relax as a registered module and when I click on the link I get a 404:
http://domainname.com/index.cfm/relax:home/index

And I also get a 404 error for the default forgebox module:
http://srest.privy.net/index.cfm/forgebox

I was dealing with this a couple of weeks ago as well and I believe if download a fresh copy of CB and Relax, I get the same error.

Any ideas?
Dan

Is the 404 coming from IIS? Check the logs-- sometimes an IIS 404 can really mean something completely unrelated like post size too large, etc.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Thanks Brad,

Yes, they are IIS 404’s, which is confusing being the splash page comes up and then its just a matter of the module name in the link:

http://domainname.com/index.cfm/forgebox

Am I missing a CB setting for modules or something else, even though this was a working app on another box?

Dan

Well, if IIS is throwing the 404, that means it’s not even making it to ColdFusion. Do the CF connectors still have the “verify file exists” option? What rewrites, if any, do you have setup in IIS?
Also, rebuild the CF/IIS connectors. That is a fix to a vast array of odd issues. Of course, make sure you have all the CF updates installed too.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Does not have any rewrites configured. Was fully patched for CF 10 but reconfiguring the connectors seemed to have done the trick.

Where is the “Verify file exists” option though? I did not see that.

Many thanks Brad.

Dan

Glad it’s working.

I haven’t used the verify file exists since IIS 6 so I don’t know if it still there, but it was under the configuration tab on the Site’s property, under the Wildcard mapping for jrun_iis6_wildcard.dll, a checkbox called" verify that file exists". Basically, you could force IIS to handler 404 situations for any file ending in .cfm or .cfc. There were major drawbacks though-- for instance stuff like cfimage display and charts didn’t work since they pointed to “non-existant” files handled by special servlet mappings.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Dan,

One thing that I guess can’t be very clear when updating ColdFusion, is the message that states that you will need to redo the connectors when updating. I wonder if it is worth letting Adobe know that this really needs to be more noticeable.