Advertisement

02.06.2008 at 02:28PM PST, ID: 23142937
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

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

Asked by alicia1234 in ColdFusion Application Server

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" ?
Start Free Trial
[+][-]02.06.2008 at 03:09PM PST, ID: 20836711

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: ColdFusion Application Server
Sign Up Now!
Solution Provided By: Kerrdo
Participating Experts: 1
Solution Grade: A
 
 
[+][-]02.06.2008 at 03:51PM PST, ID: 20836914

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.06.2008 at 04:05PM PST, ID: 20836982

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_2_20070628