XPages HTTP Web Server: Command Not Handled Exception Error - xpages

I have installed IBM Notes and Domino Designer 9.0.1 locally for testing purposes. Attemping to open any XPage in a database created from the Teamroom template gives HTTP Web Server: Command Not Handled Exception. This also occurs with a simple XPage containing just the word TEST and nothing else. Previously I had IBM NOtes 8.5.3 installed and opening XPages worked fine. Could this problem be related to the installation?

Make sure that the code is signed by an id with access to run XPages code. Also, install XPages Log File Reader in order to see the detailed error message (which is also available in the XPages log files in the IBM_TECHNICAL_SUPPORT folder on the Domino server)

Related

"Communication with the SharePoint server is Cancelled" error when building SharePoint hosted addin

Last month, I had a Sharepoint addin installed into a clients Project Web Access (pwa) server working quite well.
This month, when I try to compile and run a new version of that same project in Visual Studio, I'm getting a popup asking "Do you want to switch the project to Offline mode?" and if I say 'No', I get a "Communication with the SharePoint server is Cancelled" error when uploading my project.
There have been no configuration changes. The only code changes were to a .JS file (and we reverted those changes, just in case).
There may have been updates to Visual Studio during that time.
I have...
Ensured that the server name is correct and unchanged.
Ensured that the 'Server Connection' property for the project is 'Online'
I can't find any useful diagnostic information anywhere.
Does anyone have any suggestions about how to resolve this, or at least how to get some diagnostic information about why it's happening?
It appears that Office365/SharePoint Online has new defaults that prevent access from external applications ( I was also unable to connect via PowerShell scripting using my Sharepoint Online credentials).
I updated the settings under Policies|Access Control in the Sharepoint Online admin console to allow connection, and now I can connect from PowerShell, and I've got a different issue in Visual Studio.
While I still don't have diagnostic information about communication problems, I've managed to get a little further.

Error:500 unexpected Condition at Xpage application

Currently working at 9.0.1 FP6.
When I Make some changes and run Xpage application at lotus notes it gives me Error 500 : unexpected error condition. To resolve it I sign the application from IBM domino administrator and clean it from designer then I again execute the application it works fine until I make some other changes .
please some one guide me how to resolve this issue permanently.
Firstly, do you have the xpage error page checked?
In Designer >> Application Properties >>Errors and Timeouts >> [Check] Display XPage runtime error page.
Checking that option may give you some more information - Also, is anything extra written to the server log?
Are you making changes to the design of the application or to a document within the database?
If it is with designer, are you building the project? You should do this really after each change before using the application.
Where you say you sign the database from the admin client, are you doing so with an admin id which is different to the id you are normally using, as if it is a different id, it may be the id you are using does not have the correct rights?
Also, is the database is located in a folder within the Notes data directory? If so try putting the database in the Notes data directory and not in any
subdirectories.
Just a couple of quick things:
Your code MUST be signed with the same ID. Just re-check by looking at the design elements in Domino Designer!
What does the logs on the server tell you? You could use the Log File Reader project on OpenNTF to get easy access to these logs and stack traces.
/John
Open the Domino\data\domino\workspace\logs\error-log-0.xml file. It contains full stack trace of the error.

Changes to XPages application not shown

Server: Domino 8.5.3 / Window 2003 5.2
We have a strange Problem. Since a few days, we cannot apply changes to our XPage application. Even, if we make some few text changes and open the application, the changes are not displayed. We looked into the generated XPage-Java-classes, here we can see, that the changes were applied to these classes.
Also, we tried to create a new Test-XPage, but if we open this xpage, the error "404 item not found" is displayed.
We also tried this http://www-01.ibm.com/support/docview.wss?uid=swg21327454 but it doesn't help....
We have already restarted the http task and the server.
It looks very much like your XPages don't compile anymore. You can check that by opening the Navigator view in the Domino Designer and check webContent/web-inf/classes. Every XPage translates into a Java class and it seems that has stopped. You can try the Project menu option "clean" and you want to right click on the nsf and check the project properties if a builder has been disabled or is missing.
Next stop: reinstall Designer. Since the compilation happens in Designer, that's where you need to look

Report viewer problem with II7

I am unable to load reports in a web application deployed on IIS 7 .
You need to add handler in IIS7 manager for report viewer.
see this link (solution with snapshots)
http://www.techipost.com/how-solve-report-viewer-issue-in-iis-7-and-higher-versions/
Have you added a report viewer control? Make sure that the report server url and report path are right. The report server url usually has the word ReportServer on it. I personally did not have to change or add a handler.
http://msdn.microsoft.com/en-us/library/ms252104.aspx

Extracting Metadata of Lotus Notes Applications Using Notes Java API?

I am looking for extracting metadata about Notes Applications on a Domino server using Java Notes API. I tried reading the list of applications/databases from catalog.nsf file.
But catalog.nsf does not have new Applications that are created based on a existing template.
So From where can I get the list of applications that are existing on a Domino Server? Will the new Applications be added to catalog? If not how to make them to be added in the catalog?
Any help or Ideas will be much appreciated.
Thanks,
Srinivas
So if you want to do this in Java If the catalog.nsf is not upto date, then you can also try the dbdirectory class, look ==>here.
This should have an example to give you an idea how to read through all database on the server. If the Domino server is not registering new applications then catalog process is not running. You can load it by simply type "load catalog" at the console. More details ==>here.
There can still be other issues, but will wait for your response.
This is more of a "Server Fault" answer, but in the Domino Directory, you can turn on the Domain Catalog server task for a server in your domain, and that server will populate (and keep updated) the catalog.nsf file, which will then replicate across your domain.
So just enable that task within the server document, or go to the domino console and type load catalog

Resources