Get error "No frame of specified name exists" when using reply with history

I have a user that is at release 6.5.1 that is getting an error when they use reply with history only. They are able to use reply and reply without attachments without a problem. There error states “Name frame of specified name exists”. I have replaced the design of her template to mailR6 and iNotes6 and the error happens in both situations. Any advice?

Subject: Get error “No frame of specified name exists” when using reply with history

You will need to make a new copy of that users mail file. Even a replica copy will not fix the problem… Do a file new replica to another server. Then delete the production mail file. Then move the new copy back into the users production location and name it the same as it was. Double check the ACL.

Hope this helps

Subject: RE: Get error “No frame of specified name exists” when using reply with history

Replacing design didn’t work for me, and making a new replica seemed like a PITA. So I tried a trick that works for fixing another Notes bug.

I opened up the hidden (By URL) view in bookmark.nsf and deleted all documents for the mail file (the view’s sorted by replica ID). This fixed the “no frame of specified name” problem for me. YMMV.

Cheers,

Kendall

Subject: RE: Get error “No frame of specified name exists” when using reply with history

I know this may sound like a dumb question, but how can I get the ‘By URL’ view open in Bookmarks.nsf to make the suggested deletion ?I have tried opening with CTRL + SHIFT but I cannot see the views ?

Thanks.

Subject: RE: Get error “No frame of specified name exists” when using reply with history

The following button script will do the job:

Sub Click(Source As Button)

Dim session As New notesSession

Dim db As NotesDatabase

Dim doc, doc2 As NotesDocument

Dim view As NotesView

Dim id As String

Dim innerCount, outerCount As Integer

Dim url As Variant

id = Inputbox("Please enter your mail database ID", "Mail DB ID Input", "?")

If Len(id) <> 16 Then

	Messagebox "The ID must be 16 characters long.", mb_ok, "Unable To Continue"

	Exit Sub

End If

Set db = session.GetDatabase("", "bookmark.nsf", False)

Set view = db.GetView("ByURL")

Set doc = view.GetFirstDocument

While Not doc Is Nothing

	Set doc2 = view.GetNextDocument(doc)

	outerCount = outerCount + 1

	url = doc.GetItemValue("$SourceURL")

	If Left(url(0), 25) = "Notes:///" & id Then

		innerCount = innerCount + 1

		Call doc.Remove(True)

	End If

	Set doc = doc2

Wend

Messagebox Cstr(outerCount) & ", " & Cstr(innerCount), mb_ok, "Result"

End Sub

Subject: RE: Get error “No frame of specified name exists” when using reply with history

Optimized code, don’t ask for replica id:

Sub Click(Source As Button)

Dim session As New notesSession

Dim db As NotesDatabase

Dim mailDB As New NotesDatabase( "", "" )

Dim doc, doc2 As NotesDocument

Dim view As NotesView

Dim id As String

Dim innerCount, outerCount As Integer

Dim answer As Integer

Dim url As Variant

Const MB_OK=0

Const MB_OKCANCEL=1

Const IDCANCEL=2



Call mailDB.OpenMail() 

If Not ( mailDB Is Nothing ) Then

	id$ = mailDB.ReplicaID

	If Len(id) <> 16 Then

		Messagebox "The Replica-ID of mail file must be 16 characters long.", mb_ok, "Unable To Continue"

		Exit Sub

	End If

Else

	Exit Sub

End If



answer = Messagebox ("WARNING, selecting OK deletes all Mail URL documents in bookmark.nsf ByUrl view !.", mb_okcancel, "Continue ?")



If ( answer <> IDCANCEL  ) Then

	Set db = session.GetDatabase("", "bookmark.nsf", False)

	Set view = db.GetView("ByURL")

	Set doc = view.GetFirstDocument

	While Not doc Is Nothing

		Set doc2 = view.GetNextDocument(doc)

		outerCount = outerCount + 1

		url = doc.GetItemValue("$SourceURL")

		If Left(url(0), 25) = "Notes:///" & id Then

			innerCount = innerCount + 1

			Call doc.Remove(True)

		End If

		Set doc = doc2

	Wend

	Messagebox "Number of documents / Deleted documents : " & Cstr(outerCount) & ", " & Cstr(innerCount), mb_ok, "Result"

Else

	Print "Action canceled !"

End If

End Sub

Subject: RE: Get error “No frame of specified name exists” when using reply with history

That solved the issue. Thank you!!

Subject: RE: Get error “No frame of specified name exists” when using reply with history

The other “quick option” is to replace the database design. Click on File->database->Replace Design.

I have more luck if I replace the design with a standard mail template and then replace the design again with the proper template.

However, I’m yet to prove that this is a permanent fix.

Subject: Get error “No frame of specified name exists” when using reply with history

What worked for me was deleting the cache.ndk files and renaming bookmark.nsf