Error 500 in IBM Notes Client 9.0.1 - xpages

I am facing issue (Error:500 Unexpected run time error ) in some cases when xpages based application is opened in Note 9.0.1 client. This issue is not reproduce because when you restart your client it automatically resolve the problem and its not come very often.
Initially we were using Server 8.5.3 but we have upgraded server to 9.0.1 FP4HF71. We have not observed this issue on 8.5.X clients.
Can anybody tell why this issue sometime occur on some machine and automatically issue is fixed when machine re-starts .
Anybody else facing same issue or not? Possible solution?
It works well other than xpages apps.
Thanks,
Qaiser

Is this while you're developing? If you make a change in Domino Designer and want to see the change in XPiNC, you need to close Notes and re-open. It's to do with how the applications are loaded and how the XPages runtime differs in XPiNC vs server. (My guess is that the XPiNC XPages runtime uses the .class files for the application loaded in memory, but building the application recreates those - it has to - so the files are no longer available for the XPiNC runtime.)
There's no way round it and my recommendation (and what I've used for XPiNC development on other projects) is develop and test in Firefox, then do a final review in XPiNC when complete. Troubleshooting in Firefox is significantly easier than XPiNC, even with Firebug Lite plugin, so it will be an easier development experience.
The biggest single different with XPiNC look and feel / processing is if #DbLookup and #DbColumn are coded with "" as the first parameter, which works on browser but is bad practice. Following best practice of using #DbName() as the first parameter will yield consistent results on XPiNC and browser.
It won't occur for non-XPages applications, because they are the only applications using the XPages runtime built into the Notes Client for XPiNC.

Try changing the port under Preferences -> Domino Designer -> Web Preview Port to 8080 or something along those lines. Maybe port 80 is already in use.

Related

After updating Notes client / designer help navigator is broken

Last week I tried to update my Notes client installation from 9.0.1 FP9 to FP10 IF 3. For technical reasons I had to roll back which proved to be quite difficult, and I ended up completely uninstalling Notes and doing a fresh installation of 9.0.1 (standard) then FP9 IF 2.
Everything's fine (and much more responsive than before, too) with one serious exception:
Within the client help popup window for Notes client and Domino Designer help is hardly usable now; obviously there's no CSS style or whatever applied to the nav page / frame:
As you can see in the screenshot styling of the main window part (green frame) is fine. But everything that is releated to navigation (red frames) appears to be raw html. Javascript calls are apparently working but it's really hard to navigate the "chapters". Same applies to Designer help, of course.
Here's what I tried to solve that riddle:
uninstalled and re-installed full client 3 times; sometimes I ran the
installation as local Admin other times I didn't (no difference)
just installed plain Notes 9.0.1 from scratch then tested Client help before updating to FP9IF2 (no difference)
restored the entire [Notes-Programm]\framework directory from a
backup I took when Notes help still was working as expected (no difference)
copied over the entire \Notes\ folder from a different PC where popup help is still working fine (no difference)
Problem with that is: being a Developer I need to have a functioning help window in my Domino Designer. The navigator as it is right now however is plain useless. And designer_help.nsf isn't of help at all when it comes to Java, LotusScript etc. objects and classes.
One of my co-workers has the same phenomenon while another one hasn't.
Question: did anyone else experience something like that? Where you able to solve it? How?
This seems to be related to an issue with the embedded browser windows that Domino Designer uses to open the Help website.
Try to open following link in a modern browser (such as Chrome or Firefox) and the navigation should be fine.
http://localhost:50970/help/index.jsp?topic=%2Fcom.ibm.notes.help.doc%2Ffram_getting_started_c.html
Bookmark it and use it when you need it.
Try using the IBM Nice tool to see if it can fix your issue
https://www-01.ibm.com/support/docview.wss?uid=swg21459714
Meanwhile I restored my entire Windows system partition from a backup created just before all that began (lucky me that I have both regular local backups plus a separate system partition). And that finally helped resolve the problem.
Meanwhile I'm 99% sure that this is due to a rather new registry and/or firewall setting not yet known to IBM's NICE tool.

Xpage in Client require extension library?

I use a link like notes://DOMINO/ELITE/contacts.nsf/persons.xsp?OpenXPage in Notes Client in classic Outline. It works on client that has extension library installed, but not on the client that it has not.
XPage is on server that has library installed and its working properly.
On the client without extension lib installed i get Error 404.
Resources need to be available within the XPages container, which is the Notes Client. So they need to be pushed round to all Notes Clients, either manually to the relevant folder or via a Widget Catalog and policy. For best practices, see XPages Extension Library book chapter 2, pages 40 onwards. It's also covered in a whitepaper I wrote, with a section specifically aimed at admins (the PDF is here).
XPage is on server
Unless the database has "Run server-based XPages apps directly on the server" ticked, remember that the database may be located on the server, but it's processed as if it were a local replica. Which is why #DbLookup with "" to look to current server is bad practice for XPiNC.

Opening document in client preview pane crashes Lotus Notes. Anyone seen this?

The problem I am about to describe has been going on since we upgraded from 8.5.2 to 8.5.3.
We have a simple required reading program that routes documents to be read and has a button that allows folks to indicate that they read it. On occasion, these readings are connect to our training records database to record that someone read some training material. That training database is an Oracle system and is updated by an Oracle procedure that is called (using LotusScript) when they press the button that they have read the document.
I have a development computer as well as a test computer. The test computer is usually loaded with our company standard load that has been tested on all of the various types of computers we purchase. Anyway, last year I upgraded my development computer to 8.5.3 while leaving my test computer on 8.5.2 (have since upgrade it as well).
After I upgraded my dev computer to 8.5.3, I noticed that whenever I received an error from the Notes application that there was an issue with the Oracle Procedure call, my Notes session would crash when I tried to open that email or preview it in the preview pane. I tried opening it in the web client and had no problems. I tried opening it with my test computer (running 8.5.2) and experienced no problems. We have been short handed here for some time, so the priority was not very high on solving this problem. However, now the problem has spread. Presently, whenever a new document is created and routed, it may or may not cause the person's Notes Session to crash when they try to open the document.
I don't profess to know the inner workings of Notes and what the differences between 8.5.2 and 8.5.3 could be that might cause this. Has anyone seen this?
Thanks,
MJ
Software crashes (and other software defects) with Lotus Notes should be reported to IBM by opening a PMR on this site:
http://www.ibm.com/software/lotus/support
Well, I don't know, if it is the same problem as happend in out application BUT:
We figured out, that using PNG images will crach the notes client (and the domino server). This bug happend in some versions of domino (and notes).
http://www-01.ibm.com/support/docview.wss?uid=swg1LO48673

Default Silverlight splash screen missing (but only in CRM 2011)?

Something weird is happening.
My Silverlight applications for CRM 2011 are missing their default loading splash-screens.
I can create a simple Silverlight app without setting the RooVisual element...
//this.RootVisual = new MainPage();
which will create an "endlessly loading" effect. Normally, if I run it via the debugger or host it in an IIS, it's as you'd expect: I get the typical SL loading indicator. However, if I place it in CRM 2011 web resource (doesn't seem to matter if it's a local CRM installation or online) and use that as part of a form, I just get a white rectangle.
Now, so far, all my SL controls are used in local installations, so loading times are non-existent. However, I'm creating a solution which might end up being used on-line, and leaving it as it is, a client could think the application has hung-up or crashed while in fact it is still downloading.
I've also tried using a custom splash-screen, with the same results.
What could possibly be wrong? Is this some documented (or undocumented :P) CRM feature that I missed?
Well in our CRM 2011 environments they always show the Silverlight loading screen, so I'm not sure why they aren't displaying for you.
Have you tried just a generic 3rd party silverlight application?
One thing you could do is have an HTML web resource that has a loading screen on it and then using your silverlight application hide the loading screen (which it will do only after it's loaded).
I've solved it!
The issue, as it turns out, is naming the CRM resources with a .xap on the end, for example new_mySL.xap.
I could swear that we didn't do it in our older projects and that the splash screens worked correctly... as such, I don't know if there was some CRM update that changed this or perhaps my mind is simply playing tricks on my (quite possibly the latter).

Sharepoint Services 3.0 CSS not working

Sometimes the style sheet disappears when naviguating on our WSS 3.0 sites (white background on the site, no colors, no formatting, etc.). This has mainly happened with IE6 (corporate browser for the majority of our computers). The fixes were :
clean up temporary internet files
if it still doesn't work, upgrade to IE 7
However, this time, the upgrade to IE 7 hasn't worked, the style sheet isn't applied. When we clean up temporary internet files, things go back to normal, but after a while the css disappears again.
Here are a few ideas on what you could try:
Fiddler should be able to tell you if there is a network problem.
Check the HTML for anything unusual. Is it malformed in any way? Can you save a copy and run it through an online validator (although this is limited in use as SharePoint's default markup isn't compliant).
If some users are having the issues but others aren't, check their permissions on the server.
You could also try using the SharePoint "Log in as another user" feature to see if the problem can be reproduced on your machine when logged in as them. You may also want to try running Internet Explorer as that user.
Check the Event Viewer on both client and server for anything unusual.
Check the IIS logs on the server for any errors.
Check the SharePoint ULS logs on the server in the "12 Hive" for errors that might be related to this problem.
Try running Process Monitor on the client and reproduce the problem. Search for keywords such as FAIL or ERROR to see if anything appears. Make a note of the time the problem occurs and see if the Process Monitor logs give any additional information.
Is there some javascript that's involved as well? Could it be a virus scanner that is set way to strict? As you pointed out in one of the comments, the CSS isn't even being requested (at IIS log level, which is as basic as you get, not even in SHarePoint yet), so it HAS to be something on the client PC.

Resources