cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Port
Engaged Sweeper
First off, I'd like to say that Lansweeper is an awesome looking product and thank you for producing it.

I believe I have followed the installation directions exactly but I am having a problem when I attempt to access the newly created website. As soon as I attempt 127.0.0.1 a username/password authentication box pops up. The install directions do not show that any password should be required so I can only assume I have something configured wrong.

127.0.0.1:9524 works correctly, if I run the GUI Lansweeper Console I can see that clients have reported in.

If I turn off Integrated Windows Authentication in IIS the Unauthorized to view this page message is returned immediately.

I would really appreciate help with this problem. The issue appears to be with the configuration of the website so I am unsure what other information I can supply. I will be happy to supply additional information to anyone who can try to help me.
18 REPLIES 18
Hemoco
Lansweeper Alumni
Ok, now we are sure that http://svr-test/default.aspx is the correct url.

Could you locate the folder where your website is installed and make sure that "everyone" has full control over the folder (just as a test)
Afterwards restart the IIS services and try again.
acastro
Engaged Sweeper
Lansweeper wrote:
Ok, now we are sure that http://svr-test/default.aspx is the correct url.

Could you locate the folder where your website is installed and make sure that "everyone" has full control over the folder (just as a test)
Afterwards restart the IIS services and try again.


IT WORKS!!!!!

Thank you very much for your help!

Hemoco
Lansweeper Alumni
Surfing to http://svr-test/default.aspx should work.
acastro
Engaged Sweeper
Lansweeper wrote:
Surfing to http://svr-test/default.aspx should work.


Same result as the screen above.

Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

-----------------------------------------------

In the error log I got this:

Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1088
Date: 4/3/2008
Time: 10:10:02 AM
User: N/A
Computer: SVR-TEST
Description:
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

---------------

And this:

Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1334
Date: 4/3/2008
Time: 10:10:02 AM
User: N/A
Computer: SVR-TEST
Description:
Failed to initialize the AppDomain:/LM/W3SVC/1699190916/Root

Exception: System.IO.FileLoadException

Message: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Access is denied.

StackTrace: at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

-------------------

I forgot to tell you that this is a virtual machine. It has it's own IP address and everything, but maybe that's the problem?
Hemoco
Lansweeper Alumni
Your service runs on port 9524 (we don't need to use this for the website)

But your website runs on another port

Right click lansweeper website in IIS admin/properties/TCP port
acastro
Engaged Sweeper
Lansweeper wrote:
Your service runs on port 9524 (we don't need to use this for the website)

But your website runs on another port

Right click lansweeper website in IIS admin/properties/TCP port


Port 80
Hemoco
Lansweeper Alumni
Your lansweeper service does not seems to be running as a virtual directory.
Could you check on what port it's running.
Also try to add "default.aspx" at the end

result :
http://servername:port/default.aspx
acastro
Engaged Sweeper
Lansweeper wrote:
Your lansweeper service does not seems to be running as a virtual directory.
Could you check on what port it's running.
Also try to add "default.aspx" at the end

result :
http://servername:port/default.aspx


Please check the results I attached above.
Thanks,
Hemoco
Lansweeper Alumni
I was able to reproduce the problem.
Surfing to http://127.0.0.1/lansweeper asks password
Surfing to http://computername/lansweeper works.