360 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Forum | Blogs | Search | myPL | About 
 
Latest 7 Posts
IBM Adds 200 Partners to LotusLive Cloud Services
Fri, Mar 19th 2010 30
How To Construct An Informative Presentation
Mon, Mar 15th 2010 70
A Dumb Thing That Gets Me Emotional - Marine Corps Advertising
Mon, Mar 15th 2010 102
Selecting the Right Smartphone - Flowchart
Mon, Mar 15th 2010 98
ITWire: Big Lego Blackberry built
Sun, Mar 14th 2010 150
IdeaJam: Replace Passport Advantage with something simple
Fri, Mar 12th 2010 78
IBM Whitepaper: Administering IBM Lotus Domino 8.5 servers for beginners
Thu, Mar 11th 2010 97
Top 10
William Lin: Install Lotus Domino Server 8.5.1 on IBM Cloud
Thu, Feb 4th 2010 372
Reference Card: Using IBM Lotus Notes 8.5.1 Reference Card
Fri, Feb 5th 2010 275
PCQuest: Preview: Lotus Notes/Domino vs MS Exchange/Outlook 2010
Mon, Mar 8th 2010 275
Channel Register: Microsoft and IBM cloud collab claims deflated
Mon, Feb 1st 2010 253
University of Dayton: One Students Opinion of University E-Mail (Lotus)
Wed, Jan 27th 2010 233
IBM Lotus Notes and Domino 8.5.1: The Upgraders Guide by Tim Speed (and 5 others)
Wed, Jan 27th 2010 224
SnTT: SMTP TLS on Domino
Thu, Feb 25th 2010 213
University of Dayton: Moving Students from Lotus Notes to Gmail?
Mon, Mar 1st 2010 191
The Quickest Way to Divorce
Wed, Dec 16th 2009 175
Redbook: Best Practices for Building Web Applications for Domino 8.5.1
Tue, Mar 9th 2010 173


LotusScript Error Codes Revealed
Gregg Eldred    

My Lotus developer friends are probably going to laugh at me now.

 

Did you know that all of the LotusScript error codes are in the Domino Designer Help? They are also in four *.lss files in your Domino directory on the server, lsxbeerr.lss, lsxuierr.lss, lsconst.lss, and lserr.lss. 

 

Example contents of lsxbeerr.lss:
Public Const lsERR_NOTES_ERROR =  4000
Public Const lsERR_SYS_OUT_OF_MEMORY =  4001
Public Const lsERR_SYS_LOAD_OUT_OF_MEM =  4002
Public Const lsERR_SYS_FILE_NOT_FOUND =  4003
Public Const lsERR_SYS_DICT_NOT_ON_PATH =  4004
Public Const lsERR_NOTES_ERROR2 =  4005

 

Example contents of lsxuierr.lss:
Public Const lsERR_LSXUI_UNKNOWN_PROP =  4400
Public Const lsERR_LSXUI_INVALID_ARGS =  4401
Public Const lsERR_LSXUI_NO_WORKSPACE_WND =  4402
Public Const lsERR_LSXUI_NO_DATABASE_WND =  4403
Public Const lsERR_LSXUI_LSBE_DB_CREATE =  4404
Public Const lsERR_LSXUI_NO_DOCUMENT_WND =  4405

 

In Designer Help, I opened LotusScript/COM/OLE Classes - LotusScript Classes Coding Guidelines - Handling run-time errors. The option "File contents" shows you the contents of those four *.lss files.

 

What do those files define?

 

File Name/Description
LSERR.LSS - Error constants
LSXBEERR.LSS - Back-end object error constants
LSXUIERR.LSS - Front-end object error constants
LSCONST.LSS - Non-error constants

 

Link: Lotus Education On Demand: Notes Error Trapping in LotusScript



---------------------
http://www.ns-tech.com/blog/geldred.nsf/plinks/DOMO-7EKNZX
May 12, 2008
54 hits



Recent Blog Posts
30


IBM Adds 200 Partners to LotusLive Cloud Services
Fri, Mar 19th 2010 6:10p   Gregg Eldred
It appears that IBM Lotus may be striking at Microsoft and its end-of-life for Essential Business Server with a recent press release announcing 200 partners who "plan to sell LotusLive." IBM today announced more than 200 partners are planning to sell to their customers LotusLive cloud services. The news comes in just two months since the introduction of the LotusLive partner program as evidence of increasing migration to the cloud for collaboration capabilities. . . . As part of today's ne [read] Keywords: collaboration foundations ibm lotus database db2 microsoft server
70


How To Construct An Informative Presentation
Mon, Mar 15th 2010 5:20p   Gregg Eldred
[read] Keywords:
102


A Dumb Thing That Gets Me Emotional - Marine Corps Advertising
Mon, Mar 15th 2010 4:00p   Gregg Eldred
For the most part, a lot of advertising just flows over me without eliciting a response. However, when I see an ad for the Marine Corps, there is a response, usually a very emotional one. Sitting in a semi-darkened movie theatre this weekend with family, Number One Son sitting next to me, this ad appeared on the screen: Green Zone isn't supposed to be a tear jerker, but it started out that way. *sigh* [read] Keywords: application
98


Selecting the Right Smartphone - Flowchart
Mon, Mar 15th 2010 11:50a   Gregg Eldred
After reading Guy Wakely's post concerning the selection of a new smartphone, I found this flowchart that may provide some assistance. Funny, but Palm is not represented. [read] Keywords:
150


ITWire: Big Lego Blackberry built
Sun, Mar 14th 2010 11:50a   Gregg Eldred
Lego artist/sculpter/genius Nathan Sawaya has created the ultimate in geek toys, a giant Lego RIM Blackberry Tour 9360 complete with working LCD screen. The 'artwork' stands at about 1.5 metres high and follows one of his previous projects, a similarly giant Lego iPhone. Clearly Sawaya has no particular loyalty to either. More > The photo accompanying the article: [read] Keywords: blackberry iphone rim
78


IdeaJam: Replace Passport Advantage with something simple
Fri, Mar 12th 2010 5:10p   Gregg Eldred
IMHO, an excellent idea. [read] Keywords: ideajam ideajam.net javascript
97


IBM Whitepaper: Administering IBM Lotus Domino 8.5 servers for beginners
Thu, Mar 11th 2010 10:40p   Gregg Eldred
IBM Lotus has published a whitepaper on administering Domino 8.5. From the abstract: This white paper provides a comprehensive overview of how to administer IBM Lotus® Domino®, explaining the fundamental components and terminology so that new administrators can feel familiar with the product. Specifically, we explain key features and functionalities such as the Notes.ini file, the Data Directory, IDs, server commands and documents, and server activities. Also included are discussions of [read] Keywords: admin administration domino ibm lotus notes server
123


PCQuest: IBM Lotus Domino vs Microsoft Exchange-Part II
Wed, Mar 10th 2010 5:10p   Gregg Eldred
In the first installment of the series, PCQuest looked at licensing and provided a high level view of features in Lotus Notes and Domino 8.5 and Microsoft Exchange and Outrlook 2010. In this, the second article in the series, they focus on the new features in each messaging platform. Domino has incorporate several new technologies to save storage space like techniques to manage attachments, use of compression techniques, etc. There are techniques to reduce I/O, routing optimization methods to [read] Keywords: administration domino ibm lotus notes policies traveler archiving archive email exchange exchange microsoft mobile




173


Redbook: Best Practices for Building Web Applications for Domino 8.5.1
Tue, Mar 9th 2010 11:00p   Gregg Eldred
This IBM Redbooks wiki has the following objectives: Provide guidance on Best Practices for Domino Web Development, with emphasis on the new XPages design element. This wiki introduces the key new features of XPages and discusses how and why these features are meaningful within the context of Domino Web Development. Provide hands-on tutorials and sample code, which give you the opportunity to work with XPages and to understand the improvements in Domino 8.5 Web application development. As a fou [read] Keywords: domino ibm ldd lotus notes xpages application applications development wiki
133


The Husband Store
Tue, Mar 9th 2010 10:10p   Gregg Eldred
A store that sells new husbands has opened in New York City , where a woman may go to choose a husband. Among the instructions at the entrance is a description of how the store operates: You may visit this store ONLY ONCE! There are six floors and the value of the products increase as the shopper ascends the flights. The shopper may choose any item from a particular floor, or may choose to go up to the next floor, but you cannot go back down except to exit the building! So, a woman goes to t [read] Keywords:




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - FAQ - Mobile Edition