Repair a CF MX v7 Administrator installation
Question posted by: RobMcM
(Newbie)
on
July 24th, 2008 02:31 PM
How can the Application.cfm files within the ColdFusion MX v7 CFIDE folder be recreated without disturbing live sites on the same server? Will CF need to be reinstalled? Is there a repair utility? Are the files unique for each installation?
A .vbs file was run on the server which added lines of CF code (intended to protect against SQL injection attacks) to all Application.cfm files in subfolders but the CFIDE folder was mistakenly included.
The Application.cfm files in the CFIDE folder appear to be compiled and may have been corrupted as the CF Admistrator now won't run.
..Help..!!!
Many thanks
3
Answers Posted
If you have a backup, have you tried restoring it?
If not, can you not reverse the change on the CFIDE directory only using a .vbs file?
Thanks for reply.
1) Yes, restoring backups of the 8 CFIDE Application.cfm files on one of the 4 servers affected worked
2) Reinstalling CF MX v7.02 worked on 2 other servers and then copying the previous CF configuration XML files back over the new installation and recreating the Verity collections..
3) Downloading the files from a complete installed CFIDE folder for v7.02 (version must be exact match) from Adobe support and overwriting the CFIDE folder worked on the 4th server
Adapting the .vbs file might have worked but I was concerned that the original .vbs had already truncated or currupted some of the binary application.cfm files by treating them as text files.
Well, that's great news! I'm sure you must be relieved. Thanks for your post. It gives a few alternative solutions to anyone in a similar situation.
Post again if you have more questions.
|
|
|
What is Bytes?
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 196,989 network members.
Top Coldfusion Contributors
|