Dwain Wuerfel
Dwain Wuerfel

Reputation: 373

Setting up localhost

System Specs: Windows 7; Notes/Desinger: 9.0; ExtLib: most current version

Trying to test my XPages on my localhost, but everything I have found and tried has failed. I updated the local security to allow both localhost and 127.0.0.1. I updated the host file so the localhost line wasn't commented out. I changed some registry setting. The only thing I have yet to do is create local server machines and install domino server because I don't have the server license to do that.

Anyone have other suggestions?

Upvotes: 1

Views: 1214

Answers (2)

stwissel
stwissel

Reputation: 20384

Tim is right: you want to use a local server if you do serious development, but you need to sort out the licensing. The biggest headache for local preview is, that you only access your database as anonymous (there might be in future a LocalPreviewUseNotesid=1 notes.ini parameter, but that hasn't been confirmed on any roadmap).

The caveats on a Windows Vista/7/8/81 install to watch out for:

  • Don't have your data directory in Program Files (as the default install suggests). If there: uninstall Designer and reinstall. Pick a location in your userprofile (like the shared install of a Notes client only)
  • A lot of AV products, as well as Skype like to block Port 80. Either hunt them down or use the Designer preferences to use a different port
  • Designer loads all plug-ins from [programdir]\framework\eclipse and [datadir]workspace\eclipse while the local preview uses [datadir]\domino\workspace\eclipse. You might need to copy missing features/plug-ins there. The install instructions of the Extlib from OpenNTF go into details about that
  • As Kevin mentioned, the UAC might be an issue

Good luck and let us know how it goes!

Upvotes: 2

Kevin
Kevin

Reputation: 11

I don't know for sure but when you executed your program did you pick "Run as Administrator"? It's possible UAC is not allowing it to do it's thing because it's not running in priviledge mode.

I may be totally off with this but thought I would try to help. Good Luck.

Upvotes: 1

Related Questions