temna-net / navbot

Automatically exported from code.google.com/p/navbot
0 stars 0 forks source link

Sometimes can't start web server #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
From Anton Bairloch:

2007.09.14 03:57
I sometimes get a message when i try to start NavBot asking me if i have 
another instance open.  i don't, of course, i just started the computer.  
here's the info it copied for you.

System.Net.HttpListenerException: Access is denied
   at System.Net.HttpListener.AddAll()
   at System.Net.HttpListener.Start()
   at EveMarketTool.PageServer..ctor()
   at NavBot.InitialForm.TryToStartNavBot()

Original issue reported on code.google.com by mark.oco...@gmail.com on 14 Oct 2007 at 9:14

GoogleCodeExporter commented 9 years ago
A few people have reported sporadic problems starting the web server, all 
coming 
back down to this "Access Denied". I can't reproduce it and find it most odd. 
Any 
ideas?

Original comment by mark.oco...@gmail.com on 14 Oct 2007 at 9:15

GoogleCodeExporter commented 9 years ago
this is a vista issue with it not running as administrator by default.  Since it
doesn't run as a .exe file vista doesn't know to elevate the privileges to 
admin.
(for me I have the dialog suppressed by default so I don't know if it prompts 
you
otherwise)

I got around it by making a runnavbot.cmd file and putting in:

 "C:\Users\[INSERT_YOUR_USERNAME_HERE]\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\NavBot\NavBot.appref-ms"

now I can set the cmd file to run as admin and it works fine.  Hope this helps.

Original comment by refa...@gmail.com on 21 Dec 2007 at 2:22