358 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Forum | Blogs | Search | myPL | About 
 
Latest 7 Posts
Users cannot mentally handle local replicas?
Thu, Sep 2nd 2010 8
Star Island by Carl Hiaasen
Wed, Sep 1st 2010 45
Do You Know This Person?
Mon, Aug 30th 2010 207
You should always listen to your Mother
Mon, Aug 30th 2010 75
A kid, a Pontiac, 100MPH, and a bridge
Sat, Aug 28th 2010 125
Backroads of Ohio: Your Guide to Ohios Most Scenic Backroad Adventures by Miriam Carey and Ian Adams
Wed, Aug 18th 2010 61
eWeek: Why Sharepoint 2010 Has Developers Excited
Wed, Aug 18th 2010 267
Top 10
SnTT: Running Notes 8.5.1 on Microsoft Terminal Server 2008 64-bit
Tue, Nov 10th 2009 678
PCQuest: Preview: Lotus Notes/Domino vs MS Exchange/Outlook 2010
Mon, Mar 8th 2010 604
SnTT: SMTP TLS on Domino
Thu, Feb 25th 2010 551
William Lin: Install Lotus Domino Server 8.5.1 on IBM Cloud
Thu, Feb 4th 2010 537
SnTT - Domino HTTP Task Cannot Bind to Port 80
Thu, Dec 10th 2009 389
Log.NSF - Database is Corrupt
Tue, May 27th 2008 382
I Have No Secrets
Mon, Aug 16th 2010 381
Reference Card: Using IBM Lotus Notes 8.5.1 Reference Card
Fri, Feb 5th 2010 359
University of Dayton: One Students Opinion of University E-Mail (Lotus)
Wed, Jan 27th 2010 342
Helpful Sites for Tips and Tricks with Lotus Notes 8.5
Wed, Sep 30th 2009 333


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
156 hits



Recent Blog Posts
8


Users cannot mentally handle local replicas?
Thu, Sep 2nd 2010 6:20p   Gregg Eldred
This is from the "What's New in Domino 8.5, 8.5.1, 8.5.2" document (emphasis mine): If you've ever wished using Mail were free of delays, but don't have the mind space for creating and maintaining a local replica, the new managed replica feature might be for you. When you create or convert an existing local replica to a managed replica in Notes, or your Domino administrator sets it for you via a policy, Notes creates a local mail replica and marks it as a managed replica. The next time you ope [read] Keywords: domino ibm notes server
45


Star Island by Carl Hiaasen
Wed, Sep 1st 2010 11:50p   Gregg Eldred
The emergency medical technicians have been called to a hotel in South Beach, responding to call concerning a twenty-two year old female who has swallowed a "mix of vodka, Red Bull, hydrocodone, birdseed, and stool softener." A rather typical call for South Beach with the exception of the appearance of Bang Abbott, an overweight, intrusive paparazzo. He wants to have exclusive right to the pictures of the woman on the stretcher. However, when the EMT's wheel out the woman, he realizes that this [read] Keywords:
207


Do You Know This Person?
Mon, Aug 30th 2010 8:20p   Gregg Eldred
Sorry, this is just too good not to share, and I actually received permission to post it. :-) [read] Keywords:
75


You should always listen to your Mother
Mon, Aug 30th 2010 12:10p   Gregg Eldred
[read] Keywords:
125


A kid, a Pontiac, 100MPH, and a bridge
Sat, Aug 28th 2010 10:40a   Gregg Eldred
The 19-year old driver survived. Link: Dayton Daily News: Mom of I-675 crash victim says his survival is a ‘miracle’ More Google News articles on the crash [read] Keywords: application google
61


Backroads of Ohio: Your Guide to Ohios Most Scenic Backroad Adventures by Miriam Carey and Ian Adams
Wed, Aug 18th 2010 12:00p   Gregg Eldred
After reading several Backroads books on other states, I decided that it was time to discover what the series had to say and show about my home state of Ohio. Much like the other books in the series, Backroads of Ohio: Your Guide to Ohio's Most Scenic Backroad Adventures, by Miriam Carey and Ian Adams, will appeal to residents of the state of Ohio or those vacationing within its borders. For residents, this book will provide you with short, interesting trips that would appeal to every family mem [read] Keywords:
267


eWeek: Why Sharepoint 2010 Has Developers Excited
Wed, Aug 18th 2010 10:10a   Gregg Eldred
Microsoft's SharePoint 2010 may be one of the industry's most under-rated products, largely because it means so many different things to different people so no one group or demographic claims it over another. However, Microsoft has been adding more and more features to enable developers to better leverage SharePoint 2010. And as such, developers have responded, prompting SharePoint's popularity to rise among developers, according to Microsoft. SharePoint Server is one of the fastest-growing prod [read] Keywords: application development microsoft office server sharepoint workspace
113


MWLUG Logo in LEGO
Tue, Aug 17th 2010 11:51p   Gregg Eldred
Number Two Son's creation, 2 foot square. It's "sad" to report that he needed to purchase no new bricks. [read] Keywords:




381


I Have No Secrets
Mon, Aug 16th 2010 11:50p   Gregg Eldred
Thanks, Laurie. [read] Keywords: application
66


American Craft Brewery Hops Across The Pond
Mon, Aug 16th 2010 11:50p   Gregg Eldred
This past weekend, I enjoyed a Stone Levitation, an excellent beer but one that seemed higher in IBUs than the quoted 45 (I'm certainly not complaining, a beer with high IBUs is perfect on a hot day, and Sunday, it was hot and humid). Now, from National Public Radio's Marketplace, I heard this today. One of the big guys in craft brewing, Stone Brewing out of Escondido, Calif., is looking to expand up and out of the U.S. market, into Europe -- a place known for a fiercely, shall we say, traditio [read] Keywords: wiki




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