NotesArt
NotesArt

Reputation: 383

Error 500 in each xpage

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 

Upvotes: 1

Views: 6589

Answers (8)

Jayson Rondina
Jayson Rondina

Reputation: 149

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

Upvotes: 0

Fredrik Norling
Fredrik Norling

Reputation: 3484

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.

Upvotes: 0

Ramkumar
Ramkumar

Reputation: 842

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 :)

Upvotes: 0

Frantisek Kossuth
Frantisek Kossuth

Reputation: 3524

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.

Upvotes: 2

Naveen
Naveen

Reputation: 6936

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).

Upvotes: 1

Simon McLoughlin
Simon McLoughlin

Reputation: 8465

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

Upvotes: 1

stwissel
stwissel

Reputation: 20384

  • 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

Upvotes: 6

Ramkumar
Ramkumar

Reputation: 842

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.

Upvotes: 0

Related Questions