1) HTTP Web Server: Item not found exception
错误解释:通过HTML操作某个域时(如document.all.input_name.value),这个input_name必须有对应的域名。也就是,域名必须有对应的html名字,也就是域属性里的Html标志符。
原解释:<input> element added to the form as Pass-thru HTML with no corresponding Notes field of the same name. All text input elements must have the equivalent Notes field!
我:通过填写HTML标记里的标志符,或在“其它”里面加上id=input_name或name=input_name就行了,不过name=input_name有时生效,有时不生效,没总结过``
2)Lotus Notes Exception - Note item not found
错误解释:如果你的表单有一个已计算的子表单,并且这个子表单与主表单有同名域时,会有这个报错。
原解释:If your form has a Computed Subform and this Subform contains a field with the same name as one on the main form you will e this error.
我:字母意思,应该是没找到Note项,MS偶没看懂原文意思,这种情况下,客户端打开时会提示两个表单有同名域,但并不会报错啊。
3)Lotus Notes Exception - A view of that name cannot be found in the specified databa
错误解释:@dblookup/column公式中制定的视图不存在,不可达或拼写错误。
原解释:The view specified in your @DBLookup/Column formula doesn't exist, is inaccessible or is spelt incorrectly
4)Lotus Notes Exception - Incorrect data type for operator or @Function: Text Expected
解释:很有可能是因为计算文本或公式,应该用字符串类型的地方使用了日期或数字类型。
或者当代理名为空时,即运行@Command([ToolsRunMacro];"")时,也有这个报错。
原解释:Most probably one of your Computed Text areas or @Formulas is trying to conc
atenate a date or a number with a string. For example "The total amount is " + aNumberField or "The date is " + @Now would cau this error. U @Text to convert dates and number to a string. They can be tricky to find in a complex form. Usually best to remove formulas one by one until you find the offending party.
Can also happen if you blank out the name of a query save/open agent so that it reads @Command([ToolsRunMacro]; "") instead of @Command([ToolsRunMacro]; "<Your agent goes here>"). To rectify this, either remove the whole line and save the form or enter the name of the agent that you require. Note that you cannot simply type in "<Your agent goes here>" to return it to the default.
5)HTTP Web Server: Invalid POST Request Exception
解释:很可能是因为试图提交的文档超过了服务器配置文档中定义的最大“Maximum POST data”(Internet Protocols->Domino Web Engine页面中)
原解释:Most probably that you are trying to post a document that is larger than the "Max
imum POST data" tting in the Domino Web Engine ction of the rver document.
6)Lotus Notes Exception - Incorrect data type for operator or @Function: Number expected
解释:解释你的公式中是不是有两个“++”连用的情况。
原解释:Check for things like double ++ in your @Formulas. For example, I sometimes have "<style>" + @NewLine + on one line and then + "tr {" + @NewLine + on the next line of my $$HTMLHead field. Becau the cond line starts with a + and the first one ends in one we get ++. Remove one of them.
我:没懂原文的意思,这个报错字面意思似乎是:本应该用数字类型的地方,用了不正确的数据类型。
7)Lotus Notes Exception - File does not exist
解释:@DBLookup/Column中指定的数据库不存在。搜索时,使用了“view_name?SerarchView&Query=”中指定的视图不存在
原解释:The databa filename you specified in an @DBLookup/Column formula doesn't exist.
The name of the view that precedes a "?SearchView&Query=" URL does not exist or is spelt wrongly.
8)Lotus Notes Exception - Unsupported trigger and arch type for agent being run in the background
解释:检查表单WebQueryOpen和WebQuerySave这两个地方的代理的“运行时间”设置。
原解释:Make sure your Web Query Open/Save agents have the option "Run Once (@Commands may be ud)" lected in "Which documents should it act on" and "Manually from the Agent list" lected in "When should this agent run?". (Thanks to Patrick Correya)
9)Lotus Notes Exception - Error validating ur's agent execution access
解释:一般是因为试图运行代理的用户不在Domino Directory中(names.nsf),或这个用户不被允许运行代理
原解释:Usually occurs becau the ID that is being ud to run the Agent is not listed in the Domino Direcotry (NAB) and being allowed to run Agents.
10)Lotus Notes Exception - Invalid document identifier
解释:情况一:表单WebQueryOpen和WebQuerySave这两个地方的代理名字错误或不存在
情况二:表单中使用的共享域,已经在其它地方被删除或改名了
情况三:使用"?DeleteDocument"删除文档时,URL中的视图名不存在。而当使用"?OpenDocument"或 "?EditDocument"时,URL中的视图名可任意。
原解释:If your Web Query Save/Open agent is named wrongly or doesn't exist.
Could also be that a Shared Field on the form has been removed from the databa or h
as been renamed.
URLs that end in "?DeleteDocument" will throw this error if the view that is specified does not exist. It is okay when using "?OpenDocument" or "?EditDocument" to u any string in place of the view name, yet not when deleting. Try using a view you know exists or using "/$DefaultView/".
我:运行的代理不存在时,似乎不报这个错,而是报“Entry Not Found in Index”
11)Lotus Notes Exception - Entry Not Found in Index
解释:@dblookup参数中的key不是第一排序列,导致@dblookup返回报错。可以用@irror判断是否返回报错。