krubo
krubo

Reputation: 6416

The action can't be completed because the file is open in coldfusion.exe

I'm running ColdFusion 10.282462 Standard running on Windows Server 2008 R2. I'm making changes and renaming various ColdFusion .cfc files. However, when I try to rename a .cfc file, I often get

File In Use 
The action can't be completed because the file is open in coldfusion.exe
Close the file and try again.

How can I get coldfusion.exe to close the file? It seems to stop happening after several minutes, but I'd like to move faster than that... I tried "Clear Template Cache Now" and "Clear Component Cache Now" in the CF Administrator. Any other suggestions?

Upvotes: 0

Views: 1403

Answers (1)

Miguel-F
Miguel-F

Reputation: 13548

If possible, stop the ColdFusion service before renaming your files. Honestly I have not seen that before. Are the .cfc files that you are renaming registered as web services?

Upvotes: 1

Related Questions