Error when trying to browse a .CFC file directly

When trying to browse a .CFC file directly you will get the following error:

Error Occurred While Processing Request

Could not import the tag library specified by "../administrator/cftags/".
The following error was encountered: C:\Inetpub\wwwroot-ct\CFIDE\componentutils\..\administrator\cftags. Please ensure that you have specified a valid tag library.


This is because on a normal installation of ColdFusion, accessing a .CFC file directly will get you to a ColdFusion login screen. We have disabled this for security reasons so you just get this error with a non-existent path instead. If you're just trying to test your CFC you'll need to call it from your ColdFusion code.

Add Feedback