+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
Home Access Plus+ Thread, HAP+ Setup Issue in Projects:; Background: Server 2003 R2 Domain controler: fileserver.tavistock-pri.devon.sch.uk (10.130.37.1) HAP IIS server: ASVR.tavistock-pri.devon.sch.uk (10.130.37.2) In AD=tavistock-pri.devon.sch.uk OU students=pupils OU Staff=Staff Well, ...
  1. #1

    Join Date
    Jan 2009
    Location
    Tavistock
    Posts
    277
    Thank Post
    55
    Thanked 117 Times in 49 Posts
    Rep Power
    33

    HAP+ Setup Issue

    Background:
    Server 2003 R2
    Domain controler: fileserver.tavistock-pri.devon.sch.uk (10.130.37.1)
    HAP IIS server: ASVR.tavistock-pri.devon.sch.uk (10.130.37.2)
    In AD=tavistock-pri.devon.sch.uk
    OU students=pupils
    OU Staff=Staff

    Well, I have had another go to get HAP+ working, with no luck......

    I can go to the first page and login, but then after that its not going well.....

    When I click on 'Browse my computer', I am taken to a page with all the links to different drives but if I click on 'Admin Documents' (http://10.130.37.2/extranet/MyComputer/H) I get the error ....
    'HTTP Error 404 - File or directory not found.
    Internet Information Services (IIS)'

    I can access the folder from both the IIS server and the PC I am using but not via HAP, I am thinking its got to be something to do with my edit of the web.config lines....
    <add drive="H" name="Admin Documents" unc="\\10.130.37.1\shared" enablereadto="All" enablewriteto="Domain Admins" enablemove="True" />
    This folder has permissions set to Everyone-full access

    I have attached my web.config file with the passwords changed to XXXXX

    I hope someone can spot where I am going wrong, and let me know if you need more information
    Attached Files Attached Files

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,358
    Thank Post
    36
    Thanked 466 Times in 398 Posts
    Rep Power
    105
    1st off, sorry to hear your having problems
    2nd HAP+ needs to run under HTTPS for best results
    3rd For some reason IIS doesn't look like it's passing that request to asp.net. Can you check that you have all of the files (Global.asax mainly)
    4th Browse to the site on the IIS server, it may give you more detailed information of the errors
    5th Is HAP installed into a sub directory, it doesn't work in the root.

  3. #3

    Join Date
    Jan 2009
    Location
    Tavistock
    Posts
    277
    Thank Post
    55
    Thanked 117 Times in 49 Posts
    Rep Power
    33
    wow thanks for your fast reply Nick.
    1st, thanks for your time and help
    2nd, I have not messed with https yet as its hard enough just trying what im doing at the moment, not sure about ssl etc
    3rd, I am using 6.5 and all the files are in the main 'Extranet', Gobal.asax is definutly there
    4th, If I try going to http://10.130.37.2/extranet using IE on ASVR (hosting extranet), then I get the logon prompt but then goes to a COMException error but if I use another PC with the same username and password as used on ASVR it takes me to the front page of HAP

    5th, on ASVR the extranet folder is....C:\Inetpub\wwwroot\extranet

    thanks for your time

  4. #4

    Join Date
    Jan 2009
    Location
    Tavistock
    Posts
    277
    Thank Post
    55
    Thanked 117 Times in 49 Posts
    Rep Power
    33
    I have also tried to access extranet from the fileserver (DC) and it gives the same resault like I did when I tried it on the IIS server, an COMException, but if I use a workstation then it allows me to logon, bringing me to the front page but still no access to drives...
    any idea's would be great to hear?

  5. #5
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,358
    Thank Post
    36
    Thanked 466 Times in 398 Posts
    Rep Power
    105
    What comes up when you go to http://10.130.37.2/extranet/MyComputer/H on the ASVR?

  6. #6

    Join Date
    Jan 2009
    Location
    Tavistock
    Posts
    277
    Thank Post
    55
    Thanked 117 Times in 49 Posts
    Rep Power
    33
    I get the same message as if I were using the workstation to access extranet, I get an 'HTTP Error 404 - File or directory not found.
    Internet Information Services (IIS)'
    Does my web.config file look ok?

  7. #7

    Join Date
    Jan 2009
    Location
    Tavistock
    Posts
    277
    Thank Post
    55
    Thanked 117 Times in 49 Posts
    Rep Power
    33
    I have since reinstalled .net 4, but I am still getting no where with this. Could someone please have a look at my web.config file and see if I have done anything wrong? any suggestions would be great

    Why would there be a -1% quota mark showing when I log on as a teacher but then nothing if I log on as an admin?

  8. #8

    Join Date
    Jan 2009
    Location
    Tavistock
    Posts
    277
    Thank Post
    55
    Thanked 117 Times in 49 Posts
    Rep Power
    33
    I have just checked and re-installed dotNetFx40_Full_x86_x64.exe on ASVR, but still not allowing drive access. I have gone back though the instructions and checked all is as it should be (as far as I know) but still nothing. I feel if I have done this the same as the instrutions then otherpeople might of had the same trouble as me but they had more experience and cured the trouble without even thinking about it. its just not obvious to me yet, lol I will keep staring at the web.config file till I find something (hopefully).

    Anyone had a chance to look at my web.config file yet?

    P.S if I look in add/remove programs of ASVR it lists...
    Microsoft .NET Framework 2.0 SP2 - 186.00MB
    Microsoft .NET Framework 3.0 SP2 - 222.00MB
    Microsoft .NET Framework 3.5 SP1 - 28.05MB
    Microsoft .NET Framework 4 Client Profile - 182.00MB
    Microsoft .NET Framework 4 Extended - 46.04MB

    is this right?

    is this correct
    Last edited by JAB1a; 8th July 2011 at 11:29 AM.

  9. #9
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,358
    Thank Post
    36
    Thanked 466 Times in 398 Posts
    Rep Power
    105
    That is correct. It's odd that it isn't working correctly though. It's all .net/iis related at this point.

  10. #10
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,358
    Thank Post
    36
    Thanked 466 Times in 398 Posts
    Rep Power
    105

  11. #11

    Join Date
    Jan 2009
    Location
    Tavistock
    Posts
    277
    Thank Post
    55
    Thanked 117 Times in 49 Posts
    Rep Power
    33
    That artical does look interesting but the 'runallmanagedmodulesforallrequests="true" is already set to true. In the web.config it says 'It is not necessary for previous version of IIS', I am using IIS V6 on SBS SP2.

    Still no further I hope you can help

    Here is my web.config file again just incase you have not looked at it yet
    Attached Files Attached Files

  12. #12

    Join Date
    Jan 2009
    Location
    Tavistock
    Posts
    277
    Thank Post
    55
    Thanked 117 Times in 49 Posts
    Rep Power
    33
    ok I'm clutching at straws now...

    bit more info....
    I am not using https.......no idea how to implement this on the site and cant find simple instructions, but I have not attempted this yet so it might be easy.

    going to http://localhost/extranet/default.aspx on the ASVR IIS server and logging on at tavistock-pri\administrator, I get details in the 'Me' section and it shows I have used 20.16% quota (no idea where it gets that number from)
    BUT......
    when I access the page http://10.130.37.2/extranet from a workstation on the domain the 'Me' section is blank

    On both the ASVR and workstation I can get to http://localhost/extranet/mycomputer.aspx but then I get the http error 404 file or directory can not be found.

    the users I am using all have a UNC path to their 'home' directory setup in AD.

    I have completley removed .net 4 and re-installed but still no affect

    If no one has any more ideas I might try and install this on a fresh install of server2008 with IIS 7 but after that then I will have to throw the towel in on this project

  13. #13
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,358
    Thank Post
    36
    Thanked 466 Times in 398 Posts
    Rep Power
    105
    Are you using IIS6? If yes, have you added the wildcard '*' asp.net mapping?

    HTTPs needs to be implemented for some of the more advanced features, there are lots of articles on how to do this online.

  14. #14

    Join Date
    Jan 2009
    Location
    Tavistock
    Posts
    277
    Thank Post
    55
    Thanked 117 Times in 49 Posts
    Rep Power
    33
    Hi Nick,
    I dont see that bit in the instructions (if it is in the instructions then yes I have), otherwise where do I add the wildcard to asp.net mapping? is that right click on 'extranet' in IIS manager?

    EDIT...
    Only information I can find for IIS6 is adding this to the web.config file under the heading of

    <httphandlers>
    <add path="*" verb="GET,HEAD,POST" type="System.Web.StaticFileHandler" validate="True" />

    but if I do this then the whole site does not work

    got from this source...
    http://support.microsoft.com/?kbid=909641
    Last edited by JAB1a; 12th July 2011 at 03:15 PM.

  15. #15
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,358
    Thank Post
    36
    Thanked 466 Times in 398 Posts
    Rep Power
    105
    It's part of the IIS Installation Videos and

    29. Right Click on Extranet and click properties
    30. Click the create button next to Application name:
    31. Select “extranet” (App Pool from 13) as the application pool
    32. Click the ASP.net Tab
    33. Change ASP.net Version to v4.x.x
    34. Click Apply
    35. Click Yes on the Confirm Box
    Version 6+ Documentation Updated 16/04/2011 4:39:00 PM
    36. Wait…
    37. Click on Directory
    38. Click the Configuration Button
    39. Double Click on the .ascx Application Extension
    40. Copy the Executable path
    41. Click OK
    42. Click Insert… under wildcard application maps
    43. Paste the Path from 41
    44. Deselect Verify that file exists
    45. Click OK
    46. Click OK
    47. Under Documents
    48. Remove all from the default documents
    49. Add “Default.aspx”

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. [V7] HAP+ Setup
    By nickbro in forum Home Access Plus+
    Replies: 12
    Last Post: 29th August 2011, 04:22 PM
  2. [V7] HAP+ My Computer Basic
    By nickbro in forum Home Access Plus+
    Replies: 2
    Last Post: 29th June 2011, 10:38 AM
  3. Securing HAP+
    By InspireICT in forum Home Access Plus+
    Replies: 3
    Last Post: 9th June 2011, 08:26 AM
  4. Updating HAP+
    By linkazoid in forum Home Access Plus+
    Replies: 4
    Last Post: 15th May 2011, 02:19 PM
  5. HAP+ and Authentication
    By nickbro in forum Home Access Plus+
    Replies: 0
    Last Post: 8th May 2011, 08:41 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •