Page 1 of 2

ColdFusion MX 5

Posted: Sat Jul 15, 2006 4:05 pm
by vchris
I've format my comp and am now reinstalling CF MX 5. I know it's not the most up to date but it's fine for what I do. My webserver is IIS 5.1 and when trying to view the index.cfm in the admin folder it displays a cf error.
Error Occurred While Processing Request
No coding error is displayed or anything. I check and IIS supports cfm pages.

Posted: Sat Jul 15, 2006 4:08 pm
by Burrito
what is the rest of the error?

is it a 500? 404? etc...

can you view other type of pages (.html pages).

can you get to the cf administrator?

Posted: Sat Jul 15, 2006 4:12 pm
by vchris
I can run php, html and asp pages but seems like the cf pages don't work. I can't find any error # and can't get to the cf admin page.
Error Occurred While Processing Request



Please Try The Following:

Check the CFML Reference Manual to verify that you are using the correct syntax.

Search the Knowledge Base to find a solution to your problem.


Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Remote Address 127.0.0.1
Referer
Date/Time 15-Jul-06 05:08 PM

Stack Trace (click to expand)

Posted: Sat Jul 15, 2006 4:15 pm
by Burrito
hmm...

what does the cf page look like that you're trying to view?

try somethign simple like this:

Code: Select all

<cfset var = "hello world">
<cfoutput>
#var#
</cfoutput>

Posted: Sat Jul 15, 2006 4:20 pm
by vchris
OK this is weird. I tried you code and it works, no errors. So how come the index.cfm page (http://localhost/CFIDE/administrator/index.cfm) doesn't work?

Posted: Sat Jul 15, 2006 4:35 pm
by Burrito
only thing I can think is some kind of permissions issue...make sure iusr has permissions to read that folder and its contents.

Posted: Sat Jul 15, 2006 4:42 pm
by vchris
I moved the test file with hello world in it in the CFIDE folder and I can't see the page anymore, I get an error. I checked the permission for IUSER and they're the same as the wwwroot folder (deny write and special permission, rest is not checked).

Posted: Sat Jul 15, 2006 4:50 pm
by Burrito
dunno then.

you could try creating a new folder and give everyone full control (temporarily) then copy the contents of cfide to that folder, delete cffide and rename the new folder to cfide.

I've seen IIS do some funkier things than this with folder permissions in the past and that's one way I've resolved them...stupid I know, but it worked.

Posted: Sat Jul 15, 2006 5:03 pm
by vchris
Hmmm... I don't get it... I changed the permissions on the folder for IUSER to full control and still I can't see the page.

Posted: Sat Jul 15, 2006 5:05 pm
by Burrito
did you try what I suggested?

Posted: Sat Jul 15, 2006 5:15 pm
by vchris
I just tried what you said, everyone has full control and I copied the folder and still doesn't work.

Posted: Sat Jul 15, 2006 6:00 pm
by Burrito
no you need to try copying the contents of teh folder...not the folder itself.

1) create a new folder (everyone full control)
2) copy that simple script I made above into a file in that folder
3) test if it works
4) if it does, copy the contents of the cfide folder into your new folder
5) delete your cfide folder
6) rename your new folder to cfide
7) try hitting your admin page

Posted: Sat Jul 15, 2006 6:38 pm
by vchris
I created a folder with full control then copied test.cfm in it (your script) and I get the error. If I put the file outside of that folder or in any other folder I can see it. So it seems that it's only the folder CFIDE and the other one I created to test and copied the content in, CF, that it doesn't work in.

BTW I reinstalled IIS and CF.

EDIT: I have a folder called testing with the file test.cfm in it that contains your script. That works but as soon as I copy the content of CFIDE in there I can't see any cfm pages anymore.

Posted: Sat Jul 15, 2006 8:19 pm
by Burrito
really really weird.

I really don't know what else to tell you other than to try going to a CF forum, they'd be able to provide you with more help I'm sure.

http://www.adobe.com/cfusion/webforums/forum/index.cfm

ps. I'm not pushing you away, but it does seem like a more logical place to find out about cf questions than here.

Posted: Sat Jul 15, 2006 8:34 pm
by Burrito
I just had a thought.

it might have something to do with Application.cfm. What, I don't know because that goes beyond the scope of my knowledge of CF, but I'd be willing to bet that if everything works fine until you copy those files into that folder, Application.cfm is taking over and doing something weird.