Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 519
  • Last Modified:

"Invalid or nonexistant document" when recompilng a blank template with jst a a script library, R 6.5.5

This appears to happen to me in any template or DB that as a script library. It stops after pass1, says compilation is OK, and then show the message
"Invalid or nonexistant document"
and never gets to pass 2. If I remove the script library, it works fine.

Any suggestions, on how to get it to complete pass 2 ?

tested on a blank DB,
The script library only has
Option Public
Option Explicit
in the Options and nothing else. No actual code.


Thanks !
0
SysExpert
Asked:
SysExpert
  • 11
  • 8
  • 7
2 Solutions
 
Sjef BosmanGroupware ConsultantCommented:
You already tried to close down Notes and restart? Or a complete reboot? And a Recompile all LotusScript?
0
 
Sjef BosmanGroupware ConsultantCommented:
Maybe the compiler doesn't consider an empty library to be a real thing. Add one statement to the Initialize-event, like just
    Dim i As Integer
0
 
SysExpertAuthor Commented:
Tried all of the above. No difference so far. Still the same message.
Tried on a second machine. Same thing.

Try it yourself and see if this also happens to you.
Create an NSF from the blank template.


Run recompile. - No errors.
Add a library in the shared code with just a line or two of code ad recompile again.

0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Sjef BosmanGroupware ConsultantCommented:
No forms, just the one library?? It compiles correctly. R6.0.3 here.
0
 
marilyngCommented:
Hi SysExpert,
Tested 6.5.4, no problems with either option Explicit or Option Declare

Regards!
0
 
SysExpertAuthor Commented:
Strange. I tested again today with a fresh instal lof R 6.5.5  on a test machine. Still happens.

I'll test with 6.5.4 soon.

Thanks !
0
 
marilyngCommented:
Are you sure your blank.nsf is really empty?  Or maybe the icon is missing. :)
0
 
SysExpertAuthor Commented:
I tested after a fresh R 6.5.5 install that had r 6.5.4 previosuly, that was uninstalled, and removed NOes directory  , Notes.ini and all references in the registry.

So the Blank DB was based on the Blank template that is installed by default.

Again. Recompile works on the blank DB Before I add anything to the script library.

As soon as I add
option explcit
It stops working, finisj=hed only pass 1, and gives the message. Even though it says it sucessfuly compiled all scripts.

0
 
Sjef BosmanGroupware ConsultantCommented:
Fascinating... You tested this on other PC's as well? Can you send us the zipped database?
0
 
SysExpertAuthor Commented:
I have sent the DB's to both of you zipped.
please test and let me know.

0
 
SysExpertAuthor Commented:
I am going to have to resend since the ACL was not set for designer.

0
 
marilyngCommented:
Mike,
Both recompiled with no errors.  Must be your designer cache.  :)

Maybe another db in Designer that is throwing a flag.. like a notes mail file template (that will throw errors)
0
 
Sjef BosmanGroupware ConsultantCommented:
Ditto here. I noticed that the Option Explicit isn't there, so I added it in your 2nd example: compiles without errors.

You're not in the State of Denmark, are you?? ;)
0
 
SysExpertAuthor Commented:
Very Strange.

DId any of you use R 6.5.5 ?

I am going to install a clean  R 6.5.4 to test.

On 3 different machines with R 6.5.5 ( one a clean  install ) this happened.

Thanks for your feedback !
0
 
marilyngCommented:
No, I'm running 6.5.3.  But have had odd errors in designer after an upgrade... usually meant that I renamed bookmarks, desktop and delete cache to have Notes rebuild.   So a fresh install might do the trick.
0
 
SysExpertAuthor Commented:
OK.

R 6.5.5 was a clean - fresh install on my third machine. Still happens.

I uninstalled it and put in R 6.5.4 and the problem disappeared. so it seems to be an R 6.5.5 designer bug
I will open a ticket with IBM.

Thanks for all of your help.

0
 
Sjef BosmanGroupware ConsultantCommented:
Don't you think it's a waste of time/money? Signalling IBM that the error is there is a good thing, but check R7 first before putting too much into this. I think it's more of an academical nature...
0
 
SysExpertAuthor Commented:
SInce we are not ready to upgrade to R 7 yet ( as I am sure there a lots of people who are also waiting ), then I think it is best to report it and get it resolved.

The majority of my users are still R5.

0
 
SysExpertAuthor Commented:
OK, this issues was already reported

The issue you report is associated with SPR# MMAY6K9RFQ, and it is fixed in:
6.5.6
7.0.1

And it is available in a CCH (Cumulative Client Hotfix) for 6.5.5 Notes client on w32 platform

So since I solved it myself. This Q, can be closed.

0
 
Sjef BosmanGroupware ConsultantCommented:
So don't install R7.0.0 ;)
0
 
marilyngCommented:
It's a touch disappointing to take time to assist a fellow EE, only to have them say, "oh, I solved it myself.."   ;(
0
 
Sjef BosmanGroupware ConsultantCommented:
It makes you think: why respond in this question, there is nothing to be gained. I think you're right, it was my first thought too.
0
 
SysExpertAuthor Commented:
Well I searched IBM site for recompile and nothing relevant came up. As you all know, the IBM site still has it's own issues.

I Think that the fact that there is a Hot fix out there that I and others were not aware of, speaks for itself.

Sorry for wasting your time ( and Mine ) I spent lots of hours trying to resolve this also !

0
 
marilyngCommented:
I'm sorry, too. Didn't mean to be short with you, I am glad you found the answer, boy that must have been annoying!
0
 
marilyngCommented:
sjef.. just read your comments..

Now, what we did prove in this discussion is that the problem you were experiencing was/is unique to 6.5.5, and that it doesn't occur on any of the other platforms.  Both of us took time to test your database and narrow down the problem for you.  I do believe a "thank you" is in order, if nothing else.

The question now, is this valuable information for anyone else?  And should the question be kept?
0
 
SysExpertAuthor Commented:
I did thank everyone

 Comment from SysExpert
Date: 04/03/2006 10:56AM EST
      Your Comment       

OK.

R 6.5.5 was a clean - fresh install on my third machine. Still happens.

I uninstalled it and put in R 6.5.4 and the problem disappeared. so it seems to be an R 6.5.5 designer bug
I will open a ticket with IBM.

Thanks for all of your help.

-------------

But I certainly am willing to do so again, and I really do appreciate your efforts in narrowing down the issue for me.

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 11
  • 8
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now