This Month
July 2010
Sun Mon Tue Wed Thu Fri Sat
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Year Archive
Login
User name:
Password:
Remember me 
View Article  Setup Error 1327 Invalid Drive when installing Lotus Notes Client

Please note that this error applies to any application which uses the installshield setup application. It is caused by a having one of the user “special” windows folders, like My Pictures, pointing to a drive which cannot be accessed or has been removed.

1. Run Regedit

2. Go to  HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Explorer\User Shell Folders

3. If any of the registry keys matches the drive letter, in the error message, then delete them.

4. Restart setup

Install should now run as normal.

View Article  Lotus Notes Client Error CWPCA8522E Application did not get installed

Error is displayed on Standard client when opening the users mailfile.

To fix shut down the Notes client and then delete the following folders under the Data folder:

Data\workspace\.metadata\.plugins\com.ibm.portal.app

Data\workspace\.metadata\.plugins\com.ibm.rcp.portal.app

Restart the Notes client.


Thanks to Stephan Bovet for his post on the 8.5 forum for this solution.

View Article  “Document has been Deleted” error. Help!

Since installing Fix Pack 3, on Domino 8.5.1 servers, a number of users have been reporting the error message “Document has been Deleted” when accessing certain emails. Those messages have been archived but are remaining listed in the mailfile folder.

I have raised a PMR but if anyone else has experienced this issue then I would appreciate confirmation. Thanks.

View Article  Blocking Lotus Notes Client embedded Sametime

It is not easy to block a Lotus Notes client user from connecting to a Sametime server and allow access to others. There does not appear to be any easy method of blocking access, to a group of users, without a complicated reconfiguration and using ldap. The easiest way is to block individuals by putting a * into the Instant messaging server field of their Person document, in the Public Address Book. This stops the client connecting and throws up a configuration error.

View Article  Compact Errors - Memory allocation request exceeded 65,000 bytes/Field is too large (32K) or View's column & selection formulas are too large

The following errors are produced when running a compact –c against certain mail databases.

Error compacting mail\xxx.nsf: Memory allocation request exceeded 65,000 bytes

or

Error compacting mail\xxx.nsf: Field is too large (32K) or View's column & selection formulas are too large

Running another compact using the options –i –c –D seems to fix this problem. Corrupt view indexes?

View Article  Clearswift Mimesweeper will not talk to Domino LDAP after upgrade to Mimesweeper 5.4

After upgrading Clearswift Mimesweeper for SMTP to the recently release v5.4 the LDAP user list synchronisation stopped updating – leaving it in an “Out of Date” status. After getting Clearswift’s support to check all of the upgrade results and confirming all was correct, it took some trial an error to find settings which would get it working again. Apparently the new version no longer supports any anonymous LDAP lookups – which had always worked fine before. A valid Domino username and password must be provided.

So nice of Clearswift to not test and document this new “feature”. I will be looking into Lotus Protector in the future.

View Article  Future Email / Forrester IT Forum / Project Vulcan

Interesting ZDNet article, by Sam Diaz, on a session of the Forrester IT Forum about the future of email which gives an honourable mention to Project Vulcan.

Link: http://www.zdnet.com/blog/btl/forrester-email-may-be-here-to-stay-but-it-definitely-needs-an-overhaul/35114?tag=nl.e539

View Article  Resetting Notes Client Rules

An old problem but one which does not look like it will go away. User deletes a rule and the it continues to be executed even though it is not in the list of rules in the mailbox.

The following lotusscript can be put into a hotspot button and emailed to the user to execute. It disables all of the rules and then the user can just enable the rules that they would like to continue executing.


Sub Click(Source As Button)
Dim session As New NotesSession
Dim db As NotesDatabase
Set db = session.currentdatabase
Dim workspace As New NotesUIWorkspace
'This folder contains all the Mail Rules.
Dim folder As NotesView
Set folder = db.GetView("(Rules)")
'Find the calendar profile document in the current database. (GetProfileDocument will create the named profile document if it does not already exist.)
Dim calendarProfile As NotesDocument
Set calendarProfile = db.GetProfileDocument( "CalendarProfile" )
'Mail Rules are compiled and saved in special fields named $FilterFormula_xx
'Remove all of these fields from the calendar profile.
Forall item In calendarProfile.Items
If( Lcase$(Left$(item.Name,15)) = "$filterformula_" ) Then
Print "Cleanup " & item.Name
Call item.Remove
End If
End Forall
'Save changes to the calendar profile.
Call calendarProfile.Save( False, False )
'Disable all Rules.
Dim mailrule As NotesDocument
Set mailrule = folder.GetFirstDocument
While Not( mailrule Is Nothing )
Call mailrule.ReplaceItemValue( "Enable","0" )
Call mailrule.Save( True,False,True )
Set mailrule = folder.GetNextDocument( mailrule )
Wend
'Open the Rules folder
Call workspace.OpenDatabase( db.Server, db.FilePath, "(Rules)" )
'Message to the user.
Messagebox "Cleanup complete."
End Sub


This LotusScript was converted to HTML using the ls2html routine,
provided by Julian Robichaux at nsftools.com.

Thanks to Mark Thompson for posting this onto the 8.5 forum.

View Article  Google buys Global IP Solutions

The VOIP company whose technology is used by Lotus Sametime, Webex, Yahoo and AOL according to ZDnet (http://www.zdnet.com/blog/btl/google-buys-voip-engine-behind-yahoo-aol-webex-lotus-conferencing/34590).

View Article  Notes Client Upgrade Woes

Now the 6.x Client are no longer supported it provides a very good reason to upgrade the client base to 8.x.

But, even when the client has been upgraded to 8.x many of them require further attention again, periodically, to install fixpacks for issues which are present in the initial releases.

Why is it so difficult to get client fixes out to the clients? Windows Updates manage to do this without too much pain from a WSUS server on the LAN. If a Domino server could do the same, to connecting Notes clients, then this would reduce TCO and make the jobs of admins much easier.

Even being able to slipstream the fixpacks into the client install packages would improve things.

View Article  Moving DAOS Folder

After foolishly originally setting up DAOS with the base path under the Data folder (I know it’s against best practice) I came up with the predictable problem of running low of disk space on the logical partition. Adding some disks to the RAID array provided some additional space but it is not easy to resize the basic partition, under Windows Server 2003, so I created a nice new empty partition to relocate some folders to. When the new logical drive was accessible I followed the following steps to relocate the DAOS folder.

1. Open Server document and select DAOS tab.

2. Edit “DAOS base path” value and save document. For example change from DAOS to F:\DAOS (F being the assigned drive letter for the new logical partition).

3. Shut down Domino Server.

4. At OS level move DAOS folder to new location (exactly as specified in the Server document).

5. Restart the Server. Please note restarting the Domino service does not appear to pick up the new DAOS base path. A full reboot of the server appears to be required.

6. When server has started run the console command “TELL DAOSMGR STATUS”. This should list the new “baseStoragePath”.

7. Sit back and relax. Have a beer.

When I originally tried this I only restarted the Domino Service and was confused why it would not pick up the new base path from the Server document. The old magic reboot solved this problem. I am not sure why this is required.

View Article  Out of Office in 8.5.1

Since upgrading to 8.5.1 I have seen several occurrences of the Out of Office service generating Delivery Failure messages when replying to senders. The messages appear to have been sent to the wrong domain after previously receiving a message from that domain.

A bug in the Out of Service service? Please let me know if you have also seen this?

View Article  Traveler Backend Database

While Lotus Traveler uses two Notes databases (lotustraveler.nsf and ntsclcache.nsf) to store certain information most of the user state information is stored in an embedded database engine called Cloudscape. Why they have chosen to use another database engine, rather than the Domino one, is a mystery but I would guess that this is due to it requiring a relational database engine – which Domino is not – for the Java Traveler add-in task.

Cloudscape (IBM Cloudscape Referral Page) is a Java based database engine, with a very small footprint, which IBM donated to the open source Apache foundation, in 2004, which became Apache Derby.

The Cloudscape database files are stored in a folder under the Domino data directory called /traveler/ntsdb/. Please ensure that you backup this directory as any file corruption will cause your Traveler task to not work or lose state information about your users. It is not possible to access the information, that is stored in this database, as it it used by the Traveler add-in task and can only be accessed by one process at a time.

It would be nice in the future to see this information stored in a Notes database, so that it can be easily accessed, but I do not know if this would be technically possible to phase out the embedded Cloudscape engine.

View Article  Lotus Notes 6.5 Sametime connection error “Instant messaging error code (0x80000003)” after upgrading Sametime Server

After upgrading a 7.0.2 Sametime Server to 8.0.2 clients running Notes 6.5 are unable to log in, refusing their password and generating error “Instant messaging error code (0x80000003)”, while newer Notes clients connect fine.

Solution is in technote http://www-01.ibm.com/support/docview.wss?uid=swg21246882

 

Sametime Server 8.0.2 default settings, for client types which can connect, does not include Notes clients 6.5.x. Adding 1002 to the VPS_ALLOWED_LOGIN_TYPES entry, of the servers Sametime.ini, allows the older client to access the server.

View Article  Tell Amgr Run Annoyance in 8.5.1

While trying to debug an agent which had stopped working I will usually use the console to force the agent to run as follows:

    tell amgr run “database.nsf” ‘AgentName’

This should run the agent as it would when the selected trigger normally kicks it off (new/modified documents in this case). With 8.5.1 the syntax above would not work with a database that had a space, in the filename, returning the error:

    AMgr: Syntax for run command: tell amgr run "db filename" 'agent name'

By trial and error I eventually had it running using the syntax below:

    tell amgr run ‘database.nsf’ ‘AgentName’

A very frustrating bug.

View Article  Notes/Domino 8.5.1 Thoughts after 1 week

Very good release so far. I have not seen any crashes and only a few minor error messages.

The Google offline calendars is working fine and syncing to my Blackberry. The APPTUNID field which can be used to filter them out programmatically at they contain the string ICALENDAR.

Traveler for the iPhone is working fine. Very easy to configure. I just need to work out how to switch iPhones to use a private APN and still have full Internet access.

One small issue is the Administration client stealing focus when switching between the Designer client and the Administration client. A workaround for this seems to be if you minimise the Admin client before switching to the Designer. This may be my machine as I have not seen this issue reported anywhere else.

Another problem is the setup program is not quick. It probably takes similar times to the previous client installs but on an older machine this does take some time. Fine if you are upgrading a low number of clients but resource intensive if you are upgrading thousands. I am looking at 3rd party tools to help automate this process.

View Article  Back from UKLUG

It was another great UK Lotus User Group in Edinburgh. Very well organised, by some great volunteers, and excellent value as it was free to attend.

Highlights included Bob and Ron’s opening keynote, Mary Beth’s session, Rob Novac’s free whisky session, Warren and Gabriella’s stand-in Traveler session, manic Speed Sponsoring, the free beer and Scottish ‘dancing’ in the evening. It was a shame that so many interesting sessions run concurrently making it impossible to attend them all.

I thought that Mary Beth Raven’s Collaboration Strategy session was my favourite. It was interesting to see that Lotus are trying to improve the integration between the Notes client and other products - Connections/Sametime/Quickr. Almost none of those present were using Connections and I am sure it would improve it’s sales if it provided an entry version, bundled with Notes, as it does with Quickr and Sametime. The offline inclusion of Google calendar's looked very cool as Google Sync causes real problems when used with my Blackberry. Her upside-down text on slides, crashing Notes client, and stories/news that we are not allowed to blog about were all very amusing to the packed session.

It was nice to hear about the news that the Designer client was free to all. I still think that the Notes client should be free for non-commercial use and the whole product range free for Educational use.

I am looking forward to downloading the gold version of 8.5.1 when it becomes available, on the IBM Passport site, on Monday 12th October. It is unclear what time it will be available but hopefully we will not have to wait for US time.

Thanks to Warren and all the other great volunteers, speakers and sponsors.

View Article  Gap in Lotus Traveler’s OS Support
While Traveler now supports a large range of mobile OS’s (Windows Mobile, Symbian S60, Iphone), and is not needed for Blackberry’s, it is missing support for the increasingly popular Google Android.

I do not know how difficult it would be for Lotus to write a Traveler App for this OS (would the API’s support it?) but it does restrict Lotus Notes users options, for buying a mobile phone, which is never a good thing.   more »
View Article  Notes v8.5.1 Beta

A lot has been said about the soon to be released version 8.5.1. As a user of the managed beta I found that early versions had some bugs, which made it rather difficult to use, but the latest code drop seems to have corrected all of these issues. Hopefully the gold code will be rock solid and not have any problems which will stop a roll out.

View Article  Automatically running a Fixup on Corrupt databases

Sometimes the Compact task will fail to complete due to a problem with the structure of a database. This can usually be fixed by manually running a Fixup command, at the Admin Console, which will correct the problem with the database corruption.

This is a manual process which will need to be carried out by the Domino Administrator. To prevent the admin having to do this I have written the Lotusscript agent below which can be put into a database, on a server in the Domain, to execute automatically.

  1. Create a new blank database on your Domino server.
  2. Create a new agent from the Designer.
  3. Set the agent type as Lotusscript.
  4. Copy and paste the Lotusscript below into the code window.

    %REM
        Agent Auto Fixup
        Created Aug 2009 by Paul Farris
        Description: Agent to automatically run a remote fixup command.
    %END REM
    Option Public
    Option Declare

    Sub Initialize()
        Dim session As New NotesSession
        Dim db As NotesDatabase
        Dim doc,doc2 As NotesDocument
        Dim item As  NotesItem
        Dim unProcessedDocuments As NotesDocumentCollection
        Dim dc As NotesDocumentCollection
        Dim contents,substring,servername,consolereturn As String
        Dim string_start,string_end As Integer
        Dim result As Variant
        Dim rti As NotesRichTextItem
        Dim found As integer
        Print "Running Auto fixup"
        Set db = session.CurrentDatabase
        Set unProcessedDocuments = db.UnprocessedDocuments
        Set doc = unProcessedDocuments.GetFirstDocument()
        If Not(doc Is Nothing) Then
            found=0
            Print unProcessedDocuments.Count & " new documents found"
            Set doc2 = New NotesDocument( db )
            Set rti = doc2.CreateRichTextItem("Body")
            While Not(doc Is Nothing)
                If doc.Hasitem("Body") And doc.HasItem("EventText") And doc.HasItem("ServerName") Then
                    Set item = doc.GetFirstItem("Body")
                    contents = item.Text
                    string_start = InStr(1,contents, |"|)+1
                    string_End = InStr(string_start,contents, |"|)
                    substring = Mid$(contents, string_start, string_end-string_start)
                    If string_End>0 Then
                        Print "Found: " & substring
                        servername = doc.ServerName(0)
                        consolereturn = session.SendConsoleCommand(servername, substring)
                        Print consolereturn
                        Call rti.AddNewLine(1)
                        Call rti.AppendText("Sending remote command to " & servername & " for " & StrRightBack(substring," "))
                        found=found+1       
                    Else
                        Print "Auto Fixup Error - String not found"
                    End If
                End If
                Call session.UpdateProcessedDoc(doc)
                Set doc = unprocessedDocuments.GetNextDocument(doc)
            Wend
            If found>0 then
                doc2.Subject ="Auto Fixup summary"
                doc2.SendTo = "Notes Administrator/Org"
                doc2.Form = "Memo"
                Call doc2.Send(False)
            End if
        Else
            Print "Auto Fixup: No documents found"
        End If
    End Sub

  5. Set the agent Trigger to “On Event”.
  6. Select “After Document are created or modified”.
  7. Set “Runtime Security Level” to “Allow Restricted Operations”.
  8. Sign the agent with an ID which can run restricted operations on the server.
  9. Create a mail-in database entry, in the Domain address book, pointing to this database.
  10. Configure DDM (Domino Domain Monitoring) with an event handler, when the message is “Database is corrupt -- Cannot allocate space”, to send an email to a mail-in database setup previously.

Now whenever a compact fails it will send the email alert, to the database, which will trigger the execution of the agent. The remote commend is sent to the server and an email generated to notify the admin. One less job for a busy admin to do.

View Article  Searching on web enabled Notes databases

 

I have had problems when searching a database which has been web enabled. The results that are produced from a query do not match the results from the same query ran from the Notes Client 8 search bar. If the same search is carried out on a Notes Client 6 then it does return the same results as the web search. This is a problem when the searching is not consistent across the interfaces to the same database and data.

This is due to improvements in searching in the version 8 Notes client to make the searching more like the way search engines of the Internet work (from the users point of view).

 

<script language="JavaScript" type="text/javascript">
<!--
function validateForm()
{
if (document.Searchform.Query.value==0){
   alert("You must enter a keyword before searching.");
   document.Searchform.Query.focus();
   return false;
   }
var string = "";
var querystring = document.Searchform.Query.value;
if (querystring.indexOf('\"') == -1) {
if (querystring.indexOf(' ') != -1) {
  string = querystring.split(' ');
  var newstring = string[0];
  for (i=1;i<string.length; i++)
    newstring += " AND " + string[i];
  document.Searchform.Query.value = newstring;
}
}
}
// -->
</script>

 

<FORM name="Searchform" method="GET" action=" +  + "><input type="hidden" name="SearchView" value="<Computed Value>"><input type="hidden" name="SearchOrder" value="1"><input type="hidden" name="SearchWV" value="TRUE"><input type="hidden" name="SearchMax" value="0"><input type="Text" name="Query" Size="25"><input type=Submit value="Search" class="searchbutton" onClick="return validateForm(this);"></FORM>

 

The above javascript, that I have written, will modify the query string on submit to add an AND condition between each of the search terms. This gives the same results as the Notes v8 client searching.

 

Update: I will test the searching on Xpages to see whether that is also consistent or not.