Error: could not find Coldfusion component when trying to run CF Admin

Bear with me ... this is confusing!
My local webserver is IIS. The home dir for the default website was set to c:\inetpub\wwwroot\cwa.
The cwa directory contains all of the files for my website. I set it up this way to mimic the directory structure on my host server.
After I did this, I also had to copy the CFIDE directory into c:\inetpub\wwwroot\cwa in order to get to the CF Administrator via http://localhost/CFIDE/administrator/index.cfm. Fine. No problem there.

However, I now have a second website on my local pc, in c:\inetpub\wwwroot\omc. I'm trying to set up a ColdFusion datasource for a MySQL database, and so need to get into CF Admin. Now that I'm older and wiser, I realized that I really never needed to copy the CFIDE dir into cwa. I could have just gone in to IIS and set the home dir for the default web site to c:\inetpub\wwwroot to access the CFIDE directory that is there.

That works, I can open CF Admin.

BUT ... and here's the confusing part ... I then went ahead and deleted the CFIDE directory in c:\inetpub\wwwroot\cwa. With my home dir still set in IIS to c:\inetpub\wwwroot, I try to get to CF Admin via http://localhost/CFIDE/administrator/index.cfm. Now I get the error:

                    "could not find ColdFusion component CFIDE.adminapi.administrator"

Through lots of trial and error, I've discoverd that if I move the CFIDE dir back into c:\inetpub\wwwroot\cwa, and reboot the pc, I can then get to CF Admin EITHER with home dir set to c:\inetpub\wwwroot OR to c:\inetpub\wwwroot\cwa. But as soon as I move CFIDE out of the cwa dir, there is no way that I can access the CF Admin.

Further, if I set the homedir to "c:\inetupb\wwwroot\omc", I can NOT open CF Admin but the error is different: it's "File not found: /CFIDE/administrator.index.cfm". Now, this is one thing that DOES make sense to me since there is no CFIDE dir under omc.

Furthermore, on a hunch, I renamed the CFIDE directory that is in "c:\inetpub\wwwroot" to see if that would still let me access CF Admin with home dir set to "c:\inetpub\wwwroot". It won't. So it seems that "something" is looking for files BOTH in c:\inetpub\wwwroot AND in c:\inetpub\wwwroot\cwa. Now to recover from this rename, I set the name back to CFIDE but then I also had to reboot my pc.

So what am I missing? I searched the registry for "CFIDE" to see if there was some stuck setting but couldn't find anything obvious.

The ultimate question is: Why is it, that, with the homedir set to "c:\inetpub\wwwroot", I cannot open CF Admin UNLESS the CFIDE files are in BOTH "c:\inetpub\wwwroot" AND in  "c:\inetpub\wwwroot\cwa" ?
Who is Participating?
KerrdoConnect With a Mentor Commented:
I am guessing that because you copied the directory in the first place all dependant mappings were still intact to the default install location.

Even though you were starting from a different folder, it was still configured to access files in the location that it was installed in.

Make sense? hope so.

If you have google desktop installed do a search for 'filetype:xml neo' that will show your cf config files. one particularly of interest is '\WEB-INF\cfusion\lib\neo-runtime.xml' see where your CFIDE is set to be configured to. make a backup, make the change, then restart cf. (or jrun, or your pc.)

hope that helps.
alicia1234Author Commented:
CF was originally installed to the wwwroot\CFIDE location. I then just copied to wwwroot\cwa. But I do agree that mappings somewhere are screwed up!
I don't have google desktop.
I searched my c drive for "neo-runtime.xml" and it's in c:\CFusionMX7\lib. I opened it and found that for var name "CFIDE" the string is c:\inetpub\wwwroot\cwa\cfide.
I changed it to c:\inetpub\wwwroot. Have to reboot now and see if it works.
alicia1234Author Commented:
Thank you so much. That is exactly the missing piece of info that I needed.
Glad I could help :D
All Courses

From novice to tech pro — start learning today.