We help IT Professionals succeed at work.

Lotus Domino X-Pages basic error

nigelboyle
nigelboyle asked
on
Hi All

A school boy error no doubt, but if you dont know you dont know!  Any form I write in regular Domino previews in my browser (Chrome) perfectly, however a first trial X-Page errors with:

Error 404

HTTP Web Server: Item Not Found Exception

What have I done wrong?  Your help would be appreciated
Comment
Watch Question

Sjef BosmanGroupware Consultant
SILVER EXPERT

Commented:
What's your URL? If your page is called "thingum", the URL to open it must be:
      http: //domain/path/database/thingum.xsp

Author

Commented:
@Sjef - thanks for the thoughts Sjef, it is:

http://cote1.pdhook.local/TestX.nsf/Hello_World.xsp

Unfortunately that looks correct :(
Sjef BosmanGroupware Consultant
SILVER EXPERT

Commented:
And the obvious things, did you all check them? Domino R8.5.2 or higher? Spelling correct? Upper/lowercase?

If you want you can send me a test database, with a single XPage for instance, so I can test it here on our server.

Author

Commented:
Hi Sjef   I'm on 8.5.3 Upgrade Pack 1, thanks.    Spelling? well I did a 'preview in browser' from Designer so I can only assume it got the spelling correct! lol

The database is virtually blank with a single page to test, I am starting from basics to get the principle! I would appreciate you checking - please can I have your contact details?

Thanks   Nigel
Sjef BosmanGroupware Consultant
SILVER EXPERT

Commented:
My mail address is in my EE profile, see the About Me tab in http://www.experts-exchange.com/M_1461917.html

Author

Commented:
Thanks, I'll zip it up and send it over Sjef

Commented:
Could this just be security. The xpage needs to be available to the public. Resources also need public access but I do not think you would get this error.

Author

Commented:
@jjphardy.  Thanks, but not security I am simply playing with a test page so have not published it with an A record. It is all inside my firewall
Sjef BosmanGroupware Consultant
SILVER EXPERT

Commented:
jjp probably hit the proverbial nail: do you have an entry Anonymous in the ACL, with at least Reader access? It works here after that change, I didn't do anything else...

Commented:
Wow I feel foolish. I wasn't thinking ACL, just the setting "Available to Public access users."
I was trying to reproduce the error but could not.

Now the ACL makes sense.

Author

Commented:
Well I am now bemused!  I have anonymous set to Person Group with reader access. Attached is apdf print of my ACL.

I still get the same failure :(

I appreciate both of your help but this is driving me crazy!
acl.pdf

Author

Commented:
@jjp Don't feel foolish - look at me   -I cant load a page on my browser!!  :)

Commented:
OK, I have gotten over the foolishness. Especially since it may still be the current issue.

Your xpage may need to be available to public access if you are not logged into the server. Also any datasource(??).

Sometimes changes to the ACL take a while to be recognized. Try again in a few.
Sjef BosmanGroupware Consultant
SILVER EXPERT

Commented:
I never set the user type for Anonymous, and I always use a capital A, although that shouldn't kill the joy.

Is the database on a server? Or on local?

Author

Commented:
Changed to uppercase and I have a local and server - tried both  and the same issue, but a good thought  I will tell ADminP to process All and see what happens

Thanks both
Sjef BosmanGroupware Consultant
SILVER EXPERT

Commented:
It has little to do with AdminP.

Better stop and start the HTTP task.

Do you use a database called weblog.nsf, which stores a complete log of all http actions? That would permit you to find out how exactly the database is called.

Author

Commented:
the only difference now is the error fires up instantly, not pausing.  I will try the obvious - rebooting my client and try again!
Groupware Consultant
SILVER EXPERT
Commented:
Can you confirm that another database on the same server works? Like http://cote1.pdhook.local/otherdb.nsf ? So we know that the connection to the server is operational and to the intended server.

Can you make screenshots (jpg) of:
- the current ACL (just to see Anonymous in all its glory ;-)
- the address bar in the browser (the database isn't in a sub-directory I hope)
- the first tab in the Document Properties for the database (to verify the sub-directory)

As a matter of fact, all I did was that I changed the ACL, I replicated the db to the server and I opened the db from a browser.

Author

Commented:
I really appreciate this Sjef, thanks.   4 files attached and I am really hoping you find a 'silly' that I have done - I can't think of nothing else!
acl.pdf
failing-web-page.pdf
working-web-page.pdf
test-db-properties.pdf

Author

Commented:
I have no idea what did it other that I added a computer field - but it is now working!

I appreciate your time Sjef
Sjef BosmanGroupware Consultant
SILVER EXPERT

Commented:
Nice!! Better get used to the fact that the Designer can move in mysterious ways... ;-)