Tuesday, February 10, 2009

ColdFusion Dreamweaver Sharing Violation

Okay, this has frustrated me too many times. Too often I forget what to do and have to google FOREVER to find the answer again, so I thought I'd post it where I can't miss it.

I have CF8 developer edition, Windows XP and have the full suite of Adobe CS3 installed. Often in Dreamweaver, I'll get a "sharing violation" error has occurred which prevents me from saving the file.

The solution: open the ColdFusion Administrator and set the Server Settings/Caching/Maximum number of cached queries to 0. Viola - now you can save!

Update! I recently switched to Windows Vista Home Premium and was having the same issue. I was clearing the cache, unchecking save class files in the CF8 administrator and it still wasn't working. I was only having this problem when trying to save .html files in a Dreamweaver site set up with a Coldfusion server. Once I saved the file with a .cfm extension the problem went away.

No comments: