Hello,
I am having a problem deleting a collection via <cfcollection>. This collection was created by CF and is not external to it. It has an entry in the K2server.ini file for Verity K2, but when I go to run the delete, I get an error: Could not delete the contents of the collection directory [C:\KMS_Verity\KMS_VTC\VTC_UC\custom].
I have no idea why. I am stopping the K2 Service first, but it still fails. Here is the code from my fbx_switch:
<cfcase value="DeleteNow">
<cfset attributes.K2FileAction = "Remove" />
<cfset attributes.ScreenTitle = "Delete a Collection" />
<cfset attributes.result_message = "The selected collection was deleted successfully.">
<cfinclude template="act_AA_CollectionExists.cfm" />
<cfinclude template="act_AA_DefineCollectionVars.cfm" />
<cfinclude template="act_AA_K2Entry.cfm" />
<cfset K2ServiceControl("stop")>
<cfinclude template="act_AA_DeleteCollection.cfm" />
<cfinclude template="dsp_AA_ActionResult.cfm" />
</cfcase>
The relevant entries would a act_AA_K2Entry.cfm, which removes the collection entries from K2server.ini, the K2ServiceControl function call, and the file act_AA_DeleteCollection.
Any ideas as to why I cannot delete?
TIA for any help.
Chris
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- Re: Deleting a Verity Collection (K2-Related Problem) Chris Berg
- Re: Deleting a Verity Collection (K2-Related Problem) Ben Doom
- RE: Deleting a Verity Collection (K2-Related Problem) Gaulin, Mark
- Re: Deleting a Verity Collection (K2-Related Problem) Chris Berg
- RE: Deleting a Verity Collection (K2-Related Problem) Gaulin, Mark
- RE: Deleting a Verity Collection (K2-Related Problem) Dave Watts