+ Post New Thread
Page 4 of 5 FirstFirst 12345 LastLast
Results 46 to 60 of 74
Home Access Plus+ Thread, Access to the path 'c:\inetpub\wwwroot\hap\app_data\hapconfig.xml' is denied in 7 in Projects:; Now I get this error: Did anyone manage to get it working on IIS6? Server Error in '/hap' Application. -------------------------------------------------------------------------------- ...
  1. #46

    Join Date
    Dec 2007
    Location
    Surrey, UK
    Posts
    55
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    14
    Now I get this error:
    Did anyone manage to get it working on IIS6?

    Server Error in '/hap' Application.
    --------------------------------------------------------------------------------

    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: The 'location' start tag on line 143 position 3 does not match the end tag of 'configuration'. Line 196, position 3.

    Source Error:


    Line 194: </standardEndpoints>
    Line 195: </system.serviceModel>
    Line 196:</configuration>



    Source File: c:\inetpub\wwwroot\hap\web.config Line: 196

  2. #47

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    It looks like you have an extra or missing <location path="????"> or </location> at the end of one of them.

  3. #48
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    On that line, used
    HTML Code:
    <location path="setup.aspx">
         <system.web>
             <authorization>
                 <allow roles="Domain Admins" />
                 <deny users="*" />
             </authorization>
         </system.web>
     </location>
    This will allow domain admins, and deny any other users.

    HTML Code:
     <system.web>
       <authorization>
          <deny roles="Stop HAP Access" />
          <allow roles="Domain Users" />
          <deny users="?" />
       </authorization> 
    </system.web>
    That code will stop HAP Users from Accessing as well as unauthenticated users, but allow everyone else

  4. #49

    Join Date
    Dec 2007
    Location
    Surrey, UK
    Posts
    55
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    14
    Now I get the same message again:

    If you have not already done so, please edit ~/web.config with notepad, etc..., changing:
    <location path="setup.aspx">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    to
    <location path="setup.aspx">
    <system.web>
    <authorization>
    <allow roles="Domain Admins" />
    <deny users="*" />
    </authorization>
    </system.web>
    </location>


    This is the entry already in my file:
    <location path="setup.aspx">
    <system.web>
    <authorization>
    <allow roles="Domain Admins" />
    <deny users="students" />
    </authorization>
    </system.web>
    </location>

  5. #50
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    I will say that regardless of it being in the web.config file or not, it's just there to make sure that you have checked

  6. #51

    Join Date
    Dec 2007
    Location
    Surrey, UK
    Posts
    55
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    14
    But I can't go any further, it just says internal server error, and bring this message.

  7. #52
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    Can you paste your web.config file here please

  8. #53

    Join Date
    Dec 2007
    Location
    Surrey, UK
    Posts
    55
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    14
    Copy of Web.config.txt

    Here is a copy.

  9. #54
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    Attachment 12217

    Try the attached web.config file

  10. #55

    Join Date
    Dec 2007
    Location
    Surrey, UK
    Posts
    55
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    14
    Doesn't make any difference

  11. #56
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    What's the error you are getting? Can you copy and paste it

  12. #57

    Join Date
    Dec 2007
    Location
    Surrey, UK
    Posts
    55
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    14
    The same as before you edited the web.config file.
    If you have not already done so, please edit ~/web.config with notepad, etc..., changing:
    <location path="setup.aspx">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    to
    <location path="setup.aspx">
    <system.web>
    <authorization>
    <allow roles="Domain Admins" />
    <deny users="*" />
    </authorization>
    </system.web>
    </location>

    Then it says server error and doesn't go any further.

  13. #58
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    I need the server error after that. That message is a generic message I tell the system to say when you save the config

  14. #59

    Join Date
    Dec 2007
    Location
    Surrey, UK
    Posts
    55
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    14
    There is no error message, you just can't do anything or browse AD.
    I am sorry but it looks as this is not getting anywhere.
    Would it be possible for you to try to get it working on IIS6, and see all the problems, then post the installation instructions?

    Thanks

  15. #60

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    He has installation instructions for IIS v6 in Documentation.pdf from his CodePlex site.

SHARE:
+ Post New Thread
Page 4 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. Disabling student access to the "Choose a wireless network" window in CC3
    By reggiep in forum Network and Classroom Management
    Replies: 3
    Last Post: 2nd July 2008, 03:37 PM
  2. Replies: 16
    Last Post: 29th February 2008, 11:15 PM
  3. [CLOSED] Bug/Error: Could someone with access to the wiki...
    By j17sparky in forum EduGeek.net Site Problems
    Replies: 1
    Last Post: 23rd February 2008, 12:42 PM
  4. Staff laptops and access to the C Drive.
    By Jake in forum How do you do....it?
    Replies: 21
    Last Post: 20th March 2007, 02:44 PM
  5. How do you do remote authenticated access to the intranet
    By daverage in forum Wireless Networks
    Replies: 9
    Last Post: 2nd February 2006, 01:34 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
  •