+ Post New Thread
Results 1 to 4 of 4
Home Access Plus+ Thread, I want to edit hapconifg via notepad. What should the end file look like? in Projects:; Hi All, Because I always get 'Internal Server Error' whenever I try to make a config change via https://IP Address/HAP/setup.aspx, ...
  1. #1

    Join Date
    Jun 2011
    Location
    United Kingdom
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    I want to edit hapconifg via notepad. What should the end file look like?

    Hi All,

    Because I always get 'Internal Server Error' whenever I try to make a config change via https://IP Address/HAP/setup.aspx, I found that just manually editing the hapconfig file in the App_Data folder does exactly the same job!

    So my question is, what should a final hapconfig file look like? I'd be grateful for a look at a working one. In particular:

    1) How should the mapping line that you would otherwise edit in 'My Files' look like AND

    2) How should the Active Directory User List look like that you would otherwise edit in 'Active Directory' look like?

    I know that I should really try and resolve the 'Internal Server Error' message, but I'd like to do this after getting it generally working, if you know what I mean. I have green ticks everywhere and yet I get the above error messages.

    Many thanks...

  2. #2
    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
    Sample hapconfig.xml

    HTML Code:
    <?xml version="1.0"?>
    <hapConfig version="7.9.109.1010" firstrun="False" local="en-gb">
      <AD upn="crickhowell.internal" studentsgroup="CHS Students">
        <OUs>
          <OU name="Students" path="LDAP://OU=Students,OU=CHS,OU=Establishments,DC=crickhowell,DC=internal" visibility="None" />
          <OU name="Teachers" path="LDAP://OU=Teaching Staff,OU=CHS,OU=Establishments,DC=crickhowell,DC=internal" visibility="Both" />
          <OU name="Administrators" path="LDAP://OU=System Administrators,OU=CHS,OU=Establishments,DC=crickhowell,DC=internal" visibility="Both" />
          <OU name="Non-Teachers" path="LDAP://OU=Non-Teaching Staff,OU=CHS,OU=Establishments,DC=crickhowell,DC=internal" visibility="HelpDesk" />
        </OUs>
      </AD>
      <Homepage>
        <Links>
          <Group name="Resources and Remote Apps" showto="All" subtitle="Username for remote apps needs to start with &quot;crickhowell\&quot;">
            <Link name="My School Files" showto="Inherit" description="Access your School My Documents" url="~/mycomputer.aspx" icon="~/images/icons/white/net.png" target="" />
            <Link name="Access My Webmail" showto="CHS Students" description="Access Student Mail" url="https://schoolmail.crickhowell-hs.powys.sch.uk/webmail/" icon="~/images/icons/white/email.png" target="" />
            <Link name="Access My Emails" showto="Domain Admins, CHS Teaching Staff, CHS Non-Teach Staff" description="Access Outlook Web App" url="https://schoolmail.crickhowell-hs.powys.sch.uk/owa/" icon="~/images/icons/white/email.png" target="" />
            <Link name="My Timetable" showto="CHS Students" description="View/Print My Timetable" url="~/timetable.aspx" icon="~/images/icons/bookingsystem.png" target="" />
            <Link name="SIMS" showto="Domain Admins, CHS Teaching Staff, CHS Non-Teach Staff" description="Open SIMS.net" url="~/rdp/chs03.crickhowell.internal-SIMS Remote.rdp" icon="~/images/icons/white/SIMS-app.png" target="" />
            <Link name="Targeter" showto="Domain Admins, CHS Teaching Staff, CHS Non-Teach Staff" description="Open Targeter" url="~/rdp/chs03.crickhowell.internal-targeter launcher.rdp" icon="~/images/icons/white/targeter-app.png" target="" />
            <Link name="Libre Office Math" showto="Inherit" description="Open a Free Maths App" url="~/rdp/chs03.crickhowell.internal-smath.rdp" icon="~/images/icons/white/smath-app.png" target="" />
            <Link name="Libre Office Base" showto="Inherit" description="Open a Free Access Alternative" url="~/rdp/chs03.crickhowell.internal-sbase.rdp" icon="~/images/icons/white/sbase-app.png" target="" />
            <Link name="Libre Office Calc" showto="Inherit" description="Open a Free Excel Alternative" url="~/rdp/chs03.crickhowell.internal-scalc.rdp" icon="~/images/icons/white/scalc-app.png" target="" />
            <Link name="Libre Office Draw" showto="Inherit" description="Open a Free Paint Alternative" url="~/rdp/chs03.crickhowell.internal-sdraw.rdp" icon="~/images/icons/white/sdraw-app.png" target="" />
            <Link name="Libre Office Impress" showto="Inherit" description="Open a Free Publisher Alternative" url="~/rdp/chs03.crickhowell.internal-simpress.rdp" icon="~/images/icons/white/simpress-app.png" target="" />
            <Link name="Libre Office Writer" showto="Inherit" description="Open a Free Word Alternative" url="~/rdp/chs03.crickhowell.internal-swriter.rdp" icon="~/images/icons/white/swriter-app.png" target="" />
            <Link name="Access" showto="Domain Admins, CHS Teaching Staff, CHS Non-Teach Staff" description="Open Microsoft Office Access 2007" url="~/rdp/chs03.crickhowell.internal-msaccess.rdp" icon="~/images/icons/white/MSAccess.png" target="" />
            <Link name="Excel" showto="Domain Admins, CHS Teaching Staff, CHS Non-Teach Staff" description="Open Microsoft Office Excel 2007" url="~/rdp/chs03.crickhowell.internal-excel.rdp" icon="~/images/icons/white/excel-app.png" target="" />
            <Link name="Powerpoint" showto="Domain Admins, CHS Teaching Staff, CHS Non-Teach Staff" description="Open Microsoft Office Excel 2007" url="~/rdp/chs03.crickhowell.internal-POWERPNT.rdp" icon="~/images/icons/white/powerpnt-app.png" target="" />
            <Link name="Publisher" showto="Domain Admins, CHS Teaching Staff, CHS Non-Teach Staff" description="Open Microsoft Office Publisher 2007" url="~/rdp/chs03.crickhowell.internal-MSPUB.rdp" icon="~/images/icons/white/mspub-app.png" target="" />
            <Link name="Word" showto="Domain Admins, CHS Teaching Staff, CHS Non-Teach Staff" description="Open Microsoft Office Word 2007" url="~/rdp/chs03.crickhowell.internal-winword.rdp" icon="~/images/icons/white/winword-app.png" target="" />
          </Group>
          <Group name="Management" showto="CHS Teaching Staff, CHS Non-Teach Staff, Domain Admins" subtitle="">
            <Link name="Help Desk" showto="Inherit" description="Log/View a Support Ticket" url="~/helpdesk/" icon="~/images/icons/white/helpdesk.png" target="" />
            <Link name="Booking System" showto="Inherit" description="Book an IT Resource" url="~/bookingsystem/" icon="~/images/icons/white/bookingsystem.png" target="" />
            <Link name="RM Console" showto="Domain Admins" description="RM Management Console" url="/authorise/" icon="~/images/icons/white/rm.png" target="" />
            <Link name="Logon Tracker" showto="Domain Admins" description="View the Logon History" url="~/tracker/" icon="~/images/icons/white/tracker.png" target="" />
            <Link name="HAP+ Config" showto="Domain Admins" description="Home Access Plus+ Config" url="~/setup.aspx" icon="~/images/icons/white/setup.png" target="" />
          </Group>
        </Links>
        <Tabs>
          <tab name="Me" showto="All" type="Me" allowupdateto="Domain Admins" showspace="True" />
          <tab name="Password" showto="All" type="Password" />
          <tab name="Bookings" showto="CHS Teaching Staff, CHS Non-Teach Staff, Domain Admins" type="Bookings" />
          <tab name="Tickets" showto="CHS Teaching Staff, CHS Non-Teach Staff, Domain Admins" type="Tickets" />
        </Tabs>
        <AnnouncementBox showto="All" enableeditto="Domain Admins" />
      </Homepage>
      <ProxyServer address="adsl.local" port="3128" enabled="True" />
      <SMTP server="chs02.crickhowell.internal" port="25" enabled="True" ssl="False" from="IT Department" fromaddress="it@crickhs.org" user="" password="" />
      <Tracker maxstudentlogons="1" maxstafflogons="4" overridecode="3600" provider="SQLConnectionString" />
      <School name="Crickhowell High School" website="http://www.crickhs.org" photohandler="~/p.ashx" />
      <bookingsystem maxbookingsperweek="3" maxdays="14" admins="" keepxmlclean="True" twoweektimetable="True">
        <resources>
          <resource name="ICT1" type="Room" admins="Inherit" enabled="True" emailadmins="False" enablecharging="False" showto="All" />
          <resource name="ICT2" type="Room" admins="Inherit" enabled="True" emailadmins="False" enablecharging="False" showto="All" />
          <resource name="E3" type="Room" admins="Inherit" enabled="True" emailadmins="False" enablecharging="False" showto="All" />
          <resource name="A6" type="Room" admins="Inherit" enabled="True" emailadmins="False" enablecharging="False" showto="All" />
          <resource name="Laptops" type="Laptops" admins="Nick" enabled="True" emailadmins="True" enablecharging="True" showto="All" />
        </resources>
        <lessons>
          <lesson name="Lesson 1" type="Lesson" starttime="09:00" endtime="10:00" />
          <lesson name="Lesson 2" type="Lesson" starttime="10:00" endtime="11:00" />
          <lesson name="Lesson 3" type="Lesson" starttime="11:25" endtime="12:25" />
          <lesson name="Lesson 4" type="Lesson" starttime="12:25" endtime="13:25" />
          <lesson name="Lesson 5" type="Lesson" starttime="14:30" endtime="15:30" />
        </lessons>
        <subjects>
          <subject name="Biology" />
          <subject name="Chemistry" />
          <subject name="Physics" />
          <subject name="Science" />
          <subject name="Art" />
          <subject name="DT" />
          <subject name="Health + Social" />
          <subject name="Home Economics" />
          <subject name="Textiles" />
          <subject name="ICT" />
          <subject name="PE" />
          <subject name="PSE" />
          <subject name="L2L" />
          <subject name="Vocational" />
          <subject name="Media Studies" />
          <subject name="History" />
          <subject name="Geography" />
          <subject name="RS" />
          <subject name="English" />
          <subject name="Welsh" />
          <subject name="German" />
          <subject name="French" />
          <subject name="Spanish" />
          <subject name="SEN" />
          <subject name="Maths" />
          <subject name="WBQ" />
        </subjects>
      </bookingsystem>
      <mscb hideextensions=".lnk,.ini">
        <mappings>
          <mapping drive="N" name="Home Directory" enablereadto="All" enablewriteto="All" enablemove="True" usagemode="Quota">%homedir%</mapping>
          <mapping drive="R" name="Shared Area" enablereadto="All" enablewriteto="Domain Admins, CHS Teaching Staff, CHS Non-Teach Staff" enablemove="True" usagemode="DriveSpace">\\chs01.crickhowell.internal\Shared Area</mapping>
          <mapping drive="H" name="Admin My Documents" enablereadto="Admin Domain Users, Domain Admins" enablewriteto="Admin Domain Users, Domain Admins" enablemove="True" usagemode="DriveSpace">\\chsadmin.crickadmin.internal\homes\%username%</mapping>
        </mappings>
        <filters>
          <filter name="Access Database" expression="*.mdb;*.accdb" enablefor="All" />
          <filter name="Excel Documents" expression="*.xls;*.xlsx;*.xlt;*.xltx" enablefor="All" />
          <filter name="HTML Files" expression="*.html;*.htm" enablefor="All" />
          <filter name="Images" expression="*.jpg;*.gif;*.png;*.bmp;*.jpeg" enablefor="All" />
          <filter name="Word Documents" expression="*.doc;*.docx;*.dotx;*.dot;*.txt;*.rft;*.pdf" enablefor="All" />
          <filter name="ZIP Files" expression="*.zip" enablefor="All" />
          <filter name="All Files" expression="*.*" enablefor="Domain Admins" />
        </filters>
        <quotaservers>
          <quotaserver server="CHS01" drive="H">\\chs01\%username%$</quotaserver>
          <quotaserver server="chs01" drive="H">\\chs01.crickhowell.internal\%username%$</quotaserver>
          <quotaserver server="chs01" drive="H">\\chs01.crickhowell.internal\%username%.$</quotaserver>
          <quotaserver server="CHS01" drive="H">\\chs01\%username%.$</quotaserver>
        </quotaservers>
      </mscb>
    </hapConfig>

  3. #3

    Join Date
    Jun 2011
    Location
    United Kingdom
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks Nick,

    And I've made all the changes and it works!!!!

    My teachers can browse their shared folders and home directory now. So we're all happy with that. However, we're getting this one asnnoying error that we have to clcik OK to, to browse the files. The error says:

    Unhandled error in Silverlight Application
    code: 2108
    Category: InitializeError
    Message: 2108 an error has occured

    Any ideas, Nick? I have added the silverlight line in during the install...

    Once again, many thanks, Nick.

  4. #4
    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
    The silverlight app was a bit buggy. It will soon be replaced with the new JSON MyFiles

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 2
    Last Post: 10th June 2011, 07:36 AM
  2. Need to move from RM CC3 - what should I move to?
    By Raja in forum Network and Classroom Management
    Replies: 34
    Last Post: 14th March 2011, 06:35 PM
  3. Replies: 51
    Last Post: 10th November 2009, 05:23 AM
  4. [Video] Dear Mr Lucas, THIS is what we wanted to see happen in Star Wars 1-3
    By mattx in forum Jokes/Interweb Things
    Replies: 0
    Last Post: 11th June 2009, 03:40 PM
  5. Replies: 2
    Last Post: 23rd February 2008, 05:17 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
  •