I’ve got a Domino 6.01 server environment with a mixture of 6.01 & INotes clients. All mail files are being migrated to the INotes V6 template as we migrate our users. I’m going thru all the mail files after they’ve had their template upgraded and running the “Upgrade Folder Design” agent. So far, out of 115 mail files, I’ve had 3 where the agent fails with the following error message “Error on UpgradeHandling → 1024: Operation failed”. Any ideas?
Subject: Remove Quotes from “Folder Names”
The error means that the users have folders that use quotation marks in the name.For example “Junk Mail”
I had 800 users and got the same error 7 times.
In each case I had to remove the " " from the folder name and the folder upgraded with out a problem.
Not sure if other characthers can cause this problem.
Good Luck.
Subject: Error on UpgradeHandling → 1024: Operation failed
Hi Derek.
I think you’re on the right track…
Upgraded my mailfile from R5 to ND602CF1 today. Changed my authorization from Manager to Editor .
Afterwards i ran the “Upgrade Folder Design” and got the same error “Error on UpgradeHandling → 1024: Operation failed”.
I had 112 folders and it was possible to upgrade all except one folder. The folder name was: IT - Team “Web/Notes”. So yes, the folder name included quotes. But please note that the upgrade ran on other folders with quotes in the foldername.
I moved all content to a new folder, renamed the folder, and now upgrade was possible.
Notes Development Team - please fix this bug.
Regards,
Arla Foods amba
Fredrik Strange
Subject: RE: Error on UpgradeHandling → 1024: Operation failed
I had the same problem. In my case slashes “/” were the culprit !
Subject: RE: Error on UpgradeHandling → 1024: Operation failed
Hi,
In my case quoted folders were the problem, too.
Client version: 6.5.1
regards
Markus
Subject: Folder Upgrade Error
Better late than never. For anyone searching.
Solution is in Notes KB.
‘Error on UpgradeHandling > 1024: Operation failed’ when upgrading folder whose name contains quotation marks
Technote (FAQ)
Problem
When the Upgrade Folder Design agent runs on a folder whose name starts and ends with a quote ("), the agent fails with the error:
“Error on UpgradeHandling → 1024: Operation Failed”
The design of the folder is not upgraded.
Solution
The issue has been reported to Quality Engineering as SPR# DPOL5Z5GQG, and currently there are no plans to address it.
To work around the issue, temporarily (or permanently, if suitable) rename the folder so that it does not start and end in quotes. Then rerun the agent by selecting Actions → Upgrade Folder Design. An alternative workaround would to upgrade the folder design by using the “load convert -u mail\mailfile.nsf” command from the Domino Server console.
It is possible to update the “Upgrade Folder Design” agent in the mail database and/or mail template to avoid this issue. The code in the agent’s UpgradeHandling subroutine can be modified to check for folder names that start and end in quotes and temporarily rename the folder so that the @UpdateViewDesign function will execute without error.
IMPORTANT NOTE: Please note that the sample script below is provided only to illustrate one way to approach this task. IBM Lotus Support will not be able to customize this script for customer’s own configuration.
Sub UpgradeHandling(folder As String, source As String)
'// This function will upgrade folder design
Dim functionName As String
'Start additional code section 1:
Dim s2 As New notessession
Dim db2 As NotesDatabase
Dim view As NotesView
Dim viewdoc As NotesDocument
Dim savename As String
Set db2=s2.CurrentDatabase
'End of additional code section 1
functionName = “UpgradeHandling”
On Error Goto TrapError
'Start additional code section 2:
'The code in the IF section checks for starting and ending quotes in the name
'and temporarily swaps the trailing quote, upgrades the design,
'and changes the view name back to the original.
If Left(folder, 1)=|“| And Right(folder, 1)=|”| Then
savename=folder
folder= “begin” & Mid$(folder, 2, Len(folder)-2) & “end”
Set view=db2.getview(savename)
view.name=folder
Evaluate(|@UpdateViewDesign(“|& folder & |”;“| & Source & |”)|)
'reset name back to original
view.name=savename
Set viewdoc=db2.getdocumentbyunid(view.universalid)
Call viewdoc.sign
Call viewdoc.save(True, True)
Else
'End of additional code section 2
'Performs the design upgrade for views/folders that don’t contain a quote in the name.
Evaluate(|@UpdateViewDesign(“|& folder & |”;“| & Source & |”)|)
'Start of additional code section 3
End If
'End of code section 3
Exit Sub
TrapError:
Msgbox "Error on " & functionName & " → " & (Err & ": " & Error$)
Exit Sub
End Sub