Jump to content

Recommended Posts

Posted

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....

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

web.config.TXT

Posted

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.

Posted

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

Posted

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?

Posted

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?

Posted

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?

Posted (edited)

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

Edited by JAB1a
Posted

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

web.config.txt

Posted

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

Posted

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.

Posted (edited)

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

 

 

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

 

got from this source...

http://support.microsoft.com/?kbid=909641

Edited by JAB1a
Posted

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”

Posted

Thanks Nick,

 

Yes as that is part of the instructions I have done this and checked it at least twice when I have re-done every step thinking it was just a silly error made by me (still not discounting that option, lol).

 

Right I have taken up enough of your time Nick, I will call it quits on this attempt and re-install when I get a version of Server 2008, hopefully by then your version 7 might be out which could make things easier.

 

Thank you very much for all your help and time

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...