We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Error when trying to preview page in a browser -

TheRookie32
TheRookie32 asked
on
Medium Priority
339 Views
Last Modified: 2013-12-18
I get a "page not found" error when i try to display a page in IE that i am developing in Domino Designer.  This is the url that IE it is trying to open:

'http://localhost/Proposed.nsf/Title?OpenForm'
now that just doesnt look right...


sometimes i get this error when trying to preview a page in IE:  (different app)

'The database is not in your directory and cannot be previewed.'

Whats the deal with these errors?
Comment
Watch Question

Commented:
Where does the web browser reside that you're trying to use?  If you're trying to look at it with a browser on your PC and the server is on a different machine, this won't work.

You're referencing "localhost," which is the local machine.  Try http://yourserversinternetnamehere/Proposed.nsf/Title?OpenForm to make it work.

Author

Commented:
the form i am trying to look at is on my local machine so localhost is correct...  the browser resides on my machine as well.
CERTIFIED EXPERT
Top Expert 2007

Commented:
I would put in a proper directory for the file, since the way it is now, I do njot think it can be resolved.

Is the file in your Notes directory, in c:\ ?
localhost does not resolve to a directory, you need more info in the URL.

I hope this helps !

Author

Commented:
its in notes\data on the h drive which is on a network that i was told to put my stuff on... i have tried to open it with the path to it but that doesnt work either

Commented:
have you tried opening other databases in the same directory on the server?  is the problem unique to this db?

thanks

Author

Commented:
not unique to this database... i cant seem to open any of them in a browser without getting one of the errors i listed in my first post.
Commented:
Do you have any other server running, i mean sometimes if IIS is running then localhost will not work with lotus notes

partha

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Top Expert 2005

Commented:
Have you tried changing your Notes data directory to be on your c: drive instead of the network drive?

Author

Commented:
I have created databases on the c drive and attempted to open pages or forms etc in IE and they havent worked...
Commented:
Hi TheRookie32,
The reference is correct, if you have iis or personal web browser running, you need to stop it.  (Adminstration tools>>Internet Information Services)
If you have spaces in names, then these are usually filled with %20.  

I run view/preview in browser from mail file, open documents and from designer all the time.  Default ACL access for testing in browser needs to be anonymous = author or better, and there needs to be one default view, one default form with no access restrictions.

Now, I think the only way that "Localhost" resolves is if iis is installed, or (try, and this is a real old solution) open your location document, click on Proxy, leave everything pointing to 8080, but add "localhost" in the "No proxy for these domains".

If you're working on a network computer and you have "proxy" set in your internet connection configuration, then add "localhost" to that, too.

Can't hurt to try!

Regards!
Sjef BosmanGroupware Consultant
CERTIFIED EXPERT
Commented:
1) Indeed, you'd have to stop IIS, depending on your O/S...
2) Verify that NHTTP is running as one of your processes
3) Your firewall might block the use of NHTTP (very unlikely)
4) There might be some other process on your system that has attached to port 80; you could try "telnet localhost 80" to see who's there

The name "localhost" is normally pre-defined in c:\windows\system32\drivers\etc\hosts and is therefore always resolved.

Author

Commented:
NHTTP is not running as one of my processes...

it is working again for some reason and the only thing i can point to is that i stopped IIS...  :$

Commented:
YOu can try changing the port of IIS server . I think it's in the website properties. Try changing the port and access it like

http://localhost:<portnumber>/pathofyouraspapplication


Partha
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.