Skip to main content
Inspiring
May 24, 2011
Question

Remoting call to .CFC is turned into a .cfm

  • May 24, 2011
  • 2 replies
  • 2728 views

I know the title is a bit odd, but its a large problem and need some help.

I have flash forms, and all of a sudden after a server reboot, at least 1 but maybe more have remoting issues.

The problem i have found is this.

Call to /CFC/file.cfc method test() CFC.file.test() turns into /CFC/FILE/test.cfm and ColdFusion throws a 404 error and returns garbage back through the remoting call.

Has anybody ran into this?

our setup

newer servers runing Win 2003 server.

CF9.01

Thanks in advance.

Tim

This topic has been closed for replies.

2 replies

Inspiring
May 26, 2011

You don't have a rewrite messing with the URLs do you?  Or have IIS misconfigured in its handling of CF requests (although I dunno how it could get that messed up)?

Is it Flash requesting the wrong file, or is it IIS messing with it, or is it CF getting it mixed up?

--

Adam

nicetimAuthor
Inspiring
May 26, 2011

That's the first thing I looked for. But don't any like that setup

Its cf, I have a cgi dump in the error emails. The error is a missingtemplate error from cf. The cgi show query string being one thing a path translated something else

Tim

Tim Garver

MIS Programmer

NICE Systems. USA

(T) + (704)932-4246

(C) + (704)264-9723

Inspiring
May 26, 2011

OK, the CGI variables come from the WEB SERVER.  So if they're messed up (in that they don't match when one would reasonably expect them to), then it's the webserver doing it.

Try routing your remote call through the JRun webserver as a test (if possible): that'll remove IIS from the equation.

--

Adam

nicetimAuthor
Inspiring
May 26, 2011

Anyone??

Could an ORM mapping have anything to do with it?

I had a folder named CFC/PTO/ but have since renamed it thinking that might be the issue.