问题
I am facing a strange error in xpages. Whenever i preview any xpage in internet explorer I get error 500. I've tried this with new nsf, I created only one blank xpage with no elements and tried to preview, I got the same error. I've also checked the "Display Xpages runtime error page" in xpages tab in Application Properties section but got the same 500 error. (I am working on my local machine)
Url of my xpage:
http://localhost/test/testdb.nsf/testxpage.xsp
For every preview attempt log.nsf has below entry
04/17/2012 03:24:10 PM HTTP Web Server: Command Not Handled Exception [/test/testdb.nsf/testxpage.xsp] Anonymous
Below is the error on ie.
Error 500
HTTP Web Server: Command Not Handled Exception
回答1:
- Step 1: Go to the application properties and tick "Show standard error page"
- Step 2: Make sure that your application is build (default autobuild in project is ON, but you never know)
- Step 3: Try project clean
- Step 4: Check the errorlog in data/domino/workspace/log
- Step 5: Post your code here to have a look
回答2:
Based on your description most probable reason is security: you have no right to run XPages on the server. Either sign with proper ID or manage to be in "Sign agents or XPages to run on behalf of the invoker:" field of server document (in Security tab).
Anyway, you should always look for the log mentioned by @Simon McLoughlin.
回答3:
Try looking at the stack trace in C:/domino-Data-Directory/IBM_TECHNICAL_SUPPORT and the most recent xpages_...log file, generally a lot more helpful than the one line errors you get in other places
回答4:
If you are working on Windows Vista/7 then for starting your Lotus Notes, right click on Lotus Notes icon and click on "Run as administrator". It works this way on my local machine. I guess this is due to UAC (User Account Control).
回答5:
I guess that it is your Notes client. Then you need to check with your admin.
Some of the time, We do not have a sufficient privilege for data folder. I am also faced this issue.
回答6:
Check your server port, probably it may 80. So some your application takes port 80 like face book, skype... So quit that process and try :)
回答7:
Are you using Extension library in the application ? Then you need to do a double installation, both the designer and the Client installation to be able to preview.
回答8:
I'm experiencing the same issue with my server, I only did what @stwissel suggested and then restarted my server and it all worked, but in your case your running it locally try restarting you PC and hope it works. Are you running Quicker? I found this article and thought it might help, http://www.zarazaga.net/web/z.nsf/dx/getting-error-500-on-opening-an-xpage
来源:https://stackoverflow.com/questions/10190080/error-500-in-each-xpage