unable to access webinterface

All about the Webinterface.
FAQ, How-to and user questions.

Moderator: Moderator Team

unable to access webinterface

Postby ajanelson » 17. Apr 2008, 11:52

setup
LogInventory version: 4.5.7.0
Installed on Win2003 standard server
AD Network Scanning Windows XP network
Trying to setup web interface trial version

I installed the web interface on the windows 2003, IIS6
I followed the installed doc and gave the permissions as requested.
I get asked for a user/pass when I try and access the webinterface and it is not accepted. I am a domain admin on the network, I have also tried using the domain administrator account but that doesn't work.
I get HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.

I have also tried using AspNetWindowsTokenRoleProvider in the web.config but I get the same result.
I am typing in my username in the form of domain\user and using my network password.

Can anyone tell me what I am doing wrong?
Regards
ajanelson
Newbie
Newbie
 
Posts: 2
Joined: 17. Apr 2008, 11:07

Postby MarcoM » 21. Apr 2008, 09:07

Hello,

Does this error also occur if you call the web interface from a remote machine (not locally).

Does this error also occur if you disable the integrated windows authentication for the virtual directory. To do this, please open the properties dialog of the virtual directory; switch to "Directory Security"; uncheck "Integrated windows authentication". Make sure that the "Basic authentication" is checked; click OK.

Is seems that the authentication already fails in IIS.

You may check the following kb article to ensure that you are not affected by the described problem -> http://support.microsoft.com/?scid=kb%3 ... 1&x=7&y=11

What browser are you using?
User avatar
MarcoM
Moderator
Moderator
 
Posts: 245
Joined: 1. Sep 2003, 00:00

Postby ajanelson » 21. Apr 2008, 14:00

It does it locally and on remote machines using IE7 or firefox.
Unticking Integrated windows authentication made no difference. This is what is reported in the event viewer when I try and view:

Event code: 4007
Event message: URL authorization failed for the request.
Event time: 4/21/2008 10:13:08 AM
Event time (UTC): 4/21/2008 9:13:08 AM
Event ID: 8f49f17015d84f999e3278854ff92af5
Event sequence: 2
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/ROOT/liwi-1-128532427879639866
Trust level: Full
Application Virtual Path: /liwi
Application Path: C:\inetpub\wwwroot\liwi\
Machine name: BACKUP01

Process information:
Process ID: 5656
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Request information:
Request URL: http://localhost/liwi/default.aspx
Request path: /liwi/default.aspx
User host address: 127.0.0.1
User: LDN01\adriann
Is authenticated: True
Authentication Type: Negotiate
Thread account name: LDN01\adriann

I looked at that KB article but I don't think it would work for me as I am unable to get to the page on a remote server.

Something is going wrong somewhere but don't know where. Its a new installation of IIS6 and dotnet 2.

This is what I have in the web config to use the AspNetWindowsTokenRoleProvider. I assume this is correct.

<roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider" />
<authorization>
<allow users="ldn01.local\adriann" />
<deny users="*"/>
</authorization>

Are there any other permissions that need to be set other then the perms listed in the install docs?

Any help would be appriciated
Regards
ajanelson
Newbie
Newbie
 
Posts: 2
Joined: 17. Apr 2008, 11:07

Postby MarcoM » 21. Apr 2008, 16:58

Hello,

1. Are you sure having the necessary rights (also file/folder rights) to the virtual directory folder as well as the LOGINventory folder.

2. What exactly is the URL you type into your browser?

3. Please try:
Create a new virtual directory for testing purposes. Enable integrated windows authentication for the directory and make sure that the correct .net framework version is choosen. Create a file "test.aspx" in the directory. Call the test.aspx with your browser. What happens?
User avatar
MarcoM
Moderator
Moderator
 
Posts: 245
Joined: 1. Sep 2003, 00:00


Return to Webinterface

Who is online

Users browsing this forum: No registered users and 1 guest