Das Notes Forum

Domino 9 und frühere Versionen => Administration & Userprobleme => Thema gestartet von: heulesuse am 05.06.03 - 10:56:57

Titel: Feld '$BusyName'
Beitrag von: heulesuse am 05.06.03 - 10:56:57
Morgen,

dass ich keinen Designer bin kann ich mit der Meldung überhaupt nicht anfangen, hat hier jemand vielleicht 'n idee was es sein sollte.
Ich geht startk davon aus , deswegen geht bei mit die Ressourcen reservierungs nicht.


Tell shed validat

04.06.2003 16:34:11   SchedMgr: Fehler beim Verarbeiten des Kalenderprofildokuments (Dok-ID: NT000009AA) in Datenbank rr.nsf: Feld '$BusyName' wurde im Profil nicht gefunden
Titel: Re:Feld '$BusyName'
Beitrag von: werxs am 05.06.03 - 11:06:45
vielleicht hilft Dir das weiter:

Problem
What does the following error message mean and why does it occur?

"SchedMgr: Error processing calendar profile document (NoteID: NT0000xxxx) in database filename.nsf: Can't find $BusyName field on profile"




The error is caused when a reservation or resource is deleted from the Resource Reservations database or when the Purge Documents agent runs.  At 2:00 AM, the Schedule Manager task runs to validate the Busytime.nsf file.  When a reservation or room is deleted, an additional $BusyName field with the associated NoteID is created without a value for the $BusyName.

This issue has been reported to Lotus Quality Engineering.  This issue does not occur in the Calendaring & Scheduling feature of Notes 6.0 Client and Domino 6.0 Server.

Supporting Information:

A change to the common script library the code of the CSGetMailFileOwner object needs to be made.  Open your Resource.nsf database in Domino R5 Designer, then click on Script Libraries. Next open Common, then select CSGetMailFileOwners, and you will see the script to edit.

Change the code from this:

Function CSGetMailFileOwner() As String
 Dim session As New notessession
 Dim profile As notesdocument
 Dim strOwner As String
 Set profile = session.currentdatabase.getprofiledocument("CalendarProfile")

 strOwner = profile.GetItemValue("Owner")(0)
 if Len(strOwner) Then
  CSGetMailFileOwner = strOwner
 Else
  CSGetMailFileOwner = session.UserName
 Endif
End Function

To this:

Function CSGetMailFileOwner() As String
 Dim session As New notessession
 CSGetMailFileOwner = session.UserName
End Function


Note: Afer making this code change, the error will cease only after new reservations/resources are deleted.  lt will not affect previous reservations/resources that were deleted.  To remove old calendar profiles with a blank $Busyname the following agent can be run.

Sub Initialize
 Dim s As New notessession
 Dim db As notesdatabase
 Dim col As notesdocumentcollection
 Dim pdoc As notesdocument
 Set db=s.currentdatabase
 
 
 Set col=db.getprofiledoccollection("CalendarProfile")
 Set pdoc=col.getfirstdocument
 While Not pdoc Is Nothing
  If Not pdoc.hasitem("$busyname") Then
   Set nextdoc=col.getnextdocument(pdoc)
   Call pdoc.remove(True)
   Set pdoc=nextdoc
  Else
   Set pdoc=col.getnextdocument(pdoc)
  End If
 Wend
 
End Sub


(aus KB / 1086086)


gruesse
w.


Titel: Re:Feld '$BusyName'
Beitrag von: Meff am 05.06.03 - 13:52:13
Hi heulesuse,

schau Dir mal das Kalenderprofil in der betroffenen Datenbank an und prüfe, ob da ein Mailfilebesitzer drinnen steht.

Meff
Titel: Re:Feld '$BusyName'
Beitrag von: heulesuse am 05.06.03 - 15:31:30
@Meff

wieso der Kalender Profil ??
Es handelt sich hier um der Ressourcen DB und die hat doch keinen KAlender PRofil oder...
Titel: Re:Feld '$BusyName'
Beitrag von: Meff am 05.06.03 - 15:35:04
Sorry, hatte ich überlesen. So ne Fehlermeldung kommt auch, wenn das Kalenderprofil einen Schuss weg hat in der Maildatenbank.

Meff

P.S.: Es ist doch einfach zu schwül heute, sollte besser Feierabend machen.
Titel: Re:Feld '$BusyName'
Beitrag von: heulesuse am 05.06.03 - 16:40:48
da hast du recht ab im biergarten..