HAP+ Setup Issue
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)
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
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.
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
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?
What comes up when you go to http://10.130.37.2/extranet/MyComputer/H on the ASVR?
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?
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?
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
That is correct. It's odd that it isn't working correctly though. It's all .net/iis related at this point.
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
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)
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
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.
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?
Only information I can find for IIS6 is adding this to the web.config file under the heading of
<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...
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
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”