+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 24
Home Access Plus+ Thread, My HAP users have to log in over and over again every time the click on anything! in Projects:; Hi all, First of all, what a brilliant (free) service and blessing HPA+ is. Many thanks nickbro! I have a ...
  1. #1

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

    My HAP users have to log in over and over again every time the click on anything!

    Hi all,

    First of all, what a brilliant (free) service and blessing HPA+ is. Many thanks nickbro!

    I have a wierd and frustrating problem that I hope you all can help me with. All my users are able to log into my HAP 7.9 install fine. No problems. Interactive logon is set correctly all users can see all the mapped drives. My problem is that everytime a user clicks on a mapped drive or the My School Files or the Browse for Files icons OR browse back and forth through the folders in a mapped drive (or my HAP site) they are presented with the HAP LOGON WINDOW and have to LOG IN AGAIN and AGAIN!

    I'd love a solution to this! I'd be extremely grateful for your help. The users initially loved the access but are now getting frustrated with having to log in over and over again!

    Many thanks....

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,539
    Thank Post
    37
    Thanked 504 Times in 435 Posts
    Rep Power
    114
    Odd, it will only go back to the logon page if they have tried getting at a restricted folder (technically it should go to the unauthorized page but sometimes it doesn't). What happens when you use the /myfiles/ version

  3. #3

    Join Date
    Jun 2011
    Location
    United Kingdom
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    If they try to access a mapped drive that they don't have access to, then it says ERROR: UNAUTHORISED ACCESS. But if they click on a mapped drive that they do have access to, then it let's them browse it, but not without having to log in through the tree of folders at some point!

    What do you mean by the /myfiles/ version? We run the basice version only and the user clicks My School Files or the Browse for files, on the right. Both eventually lets the user browse the files. Here is our webconfig files, below:

    <?xml version="1.0"?>
    <!--
    Under IIS7.5, the application pool identity will be IIS APPPOOL\$apppool$, where $apppool$ is the application pool have is running under. You will need to grant permission to the App_Data folder to this user
    -->
    <configuration>
    <appSettings>
    <add key="ChartImageHandler" value="storage=file;timeout=20;Url=~/app_data/temp/;" />
    </appSettings>
    <connectionStrings>
    <add name="SQLConnectionString" connectionString="Server=localhost;Database=hap;Tr usted_Connection=True;"/>
    </connectionStrings>
    <system.web>
    <httpHandlers>
    <add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.Cha rtHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
    </httpHandlers>
    <pages>
    <controls>
    <add assembly="HAP.Web" namespace="HAP.Web.Controls" tagPrefix="hap" />
    </controls>
    </pages>
    <compilation debug="true" targetFramework="4.0">
    <assemblies>
    <add assembly="System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
    <add assembly="System.DirectoryServices.Protocols, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
    <add assembly="System.DirectoryServices.AccountManageme nt, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
    <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    </assemblies>
    </compilation>
    <authentication mode="Forms">
    <forms loginUrl="~/login.aspx" defaultUrl="~/" />
    </authentication>
    <membership defaultProvider="admp">
    <providers>
    <clear />
    <add name="admp" type="HAP.AD.MembershipProvider" />
    </providers>
    </membership>
    <roleManager defaultProvider="adrp" enabled="true">
    <providers>
    <clear />
    <add name="adrp" type="HAP.AD.RoleProvider"/>
    </providers>
    </roleManager>
    <authorization>
    <deny users="?" />
    </authorization>
    <customErrors mode="Off" />
    </system.web>

    <!--
    The system.webServer section is required for running ASP.NET AJAX under Internet
    Information Services 7.0. It is not necessary for previous version of IIS.
    -->
    <system.webServer>
    <modules runAllManagedModulesForAllRequests="true" />
    <validation validateIntegratedModeConfiguration="false" />
    <security>
    <requestFiltering>
    <hiddenSegments>
    <remove segment="App_Data" />
    <remove segment="App_WebReferences" />
    <remove segment="App_LocalResources" />
    <remove segment="App_GlobalResources" />
    <remove segment="App_code" />
    <remove segment="bin" />
    <remove segment="web.config" />
    <remove segment="App_Browsers" />
    </hiddenSegments>
    <fileExtensions>
    <remove fileExtension=".vsdisco" />
    <remove fileExtension=".sdmDocument" />
    <remove fileExtension=".sdm" />
    <remove fileExtension=".sd" />
    <remove fileExtension=".refresh" />
    <remove fileExtension=".msgx" />
    <remove fileExtension=".mdf" />
    <remove fileExtension=".lsaprototype" />
    <remove fileExtension=".ldf" />
    <remove fileExtension=".lddprototype" />
    <remove fileExtension=".ldd" />
    <remove fileExtension=".exclude" />
    <remove fileExtension=".dsprototype" />
    <remove fileExtension=".dd" />
    <remove fileExtension=".compiled" />
    <remove fileExtension=".cd" />
    <remove fileExtension=".adprototype" />
    <remove fileExtension=".ad" />
    <remove fileExtension=".ssmap" />
    <remove fileExtension=".ssdgm" />
    <remove fileExtension=".dsdgm" />
    <remove fileExtension=".ldb" />
    <remove fileExtension=".jsl" />
    <remove fileExtension=".java" />
    <remove fileExtension=".vjsproj" />
    <remove fileExtension=".mdb" />
    <remove fileExtension=".resources" />
    <remove fileExtension=".resx" />
    <remove fileExtension=".licx" />
    <remove fileExtension=".webinfo" />
    <remove fileExtension=".vbproj" />
    <remove fileExtension=".vb" />
    <remove fileExtension=".csproj" />
    <remove fileExtension=".skin" />
    <remove fileExtension=".ascx" />
    <remove fileExtension=".master" />
    <remove fileExtension=".browser" />
    <remove fileExtension=".sitemap" />
    <remove fileExtension=".cs" />
    <remove fileExtension=".lsad" />
    <remove fileExtension=".asax" />
    <remove fileExtension=".config" />
    </fileExtensions>
    </requestFiltering>
    </security>
    <staticContent>
    <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
    <mimeMap fileExtension=".m4v" mimeType="video/m4v" />
    <mimeMap fileExtension=".ogg" mimeType="video/ogg" />
    <mimeMap fileExtension=".ogv" mimeType="video/ogg" />
    <mimeMap fileExtension=".webm" mimeType="video/webm" />
    <mimeMap fileExtension=".oga" mimeType="audio/ogg" />
    <mimeMap fileExtension=".spx" mimeType="audio/ogg" />
    <mimeMap fileExtension=".svg" mimeType="images/svg+xml" />
    <mimeMap fileExtension=".svgz" mimeType="images/svg+xml" />
    <remove fileExtension=".eot" />
    <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
    <mimeMap fileExtension=".otf" mimeType="font/otf" />
    <mimeMap fileExtension=".woff" mimeType="font/x-woff" />
    </staticContent>
    <handlers>
    <remove name="ChartImageHandler" />
    <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.Cha rtHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    </handlers>
    </system.webServer>
    <!--File Upload Limits-->
    <location path="uploadh.aspx">
    <system.web>
    <httpRuntime maxRequestLength="2097151" executionTimeout="7200" />
    <!--2gb upload limit, 2 hours timeout-->
    </system.web>
    </location>
    <location path="api/myfiles-upload">
    <system.web>
    <httpRuntime maxRequestLength="2097151" executionTimeout="7200" />
    </system.web>
    </location>
    <location path="myfiles/default.aspx">
    <system.web>
    <httpRuntime maxRequestLength="2097151" executionTimeout="7200" />
    </system.web>
    </location>
    <!--End of File Upload Limits-->
    <!--Start of Override Permissions-->
    <location path="api.asmx">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="Login.aspx">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="setup.aspx">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="app_data">
    <system.web>
    <authorization>
    <deny users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="bin">
    <system.web>
    <authorization>
    <deny users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="api/test">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="api/js">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="api/setup">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="api/bookingsystem/loadroom">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="favicon.ico">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <!--End of Override Permissions-->
    <system.serviceModel>
    <behaviors>
    <serviceBehaviors>
    <behavior name="">
    <serviceDebug includeExceptionDetailInFaults="true"/>
    <serviceMetadata httpGetEnabled="false" httpsGetEnabled="true" />
    </behavior>
    </serviceBehaviors>
    </behaviors>
    <bindings>
    <webHttpBinding>
    <binding>
    <security mode="Transport" />
    </binding>
    </webHttpBinding>
    </bindings>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
    <standardEndpoints>
    <webHttpEndpoint>
    <standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true" faultExceptionEnabled="true">
    <security mode="Transport"/>
    </standardEndpoint>
    </webHttpEndpoint>
    </standardEndpoints>
    </system.serviceModel>
    </configuration>

  4. #4

    Join Date
    Jun 2011
    Location
    United Kingdom
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Sorry, this is my HAP config file:

    <?xml version="1.0"?>

    <hapConfig version="7.9.105.2130" firstrun="False">

    <AD username="administrator" password="G1iuIxCe688+A7grSh+40Q==" upn="alhijrah.pri" studentsgroup="SecPupils,PriPupils">

    <OUs />
    </AD>

    <Homepage>

    <Links>

    <Group name="Resources" showto="All" subtitle="">

    <Link name="My School Files" showto="Inherit" description="Access your School My Files" url="~/mycomputer.aspx" icon="~/images/icons/net.png" target="" />

    <Link name="Remote Apps" showto="Domain Admins" description="Run School Applications at Home via School" url="/rdweb/" icon="~/images/icons/remotedesktop.png" target="" />

    <Link name="Access My Emails" showto="Domain Admins" description="Access School Emails" url="https://mail.myvle.org/" icon="~/images/icons/email.png" target="" />

    </Group>

    <Group name="Management" showto="Domain Admins" subtitle="">

    <Link name="Help Desk" showto="Domain Admins" description="Log/View a Support Ticket" url="~/helpdesk/" icon="~/images/icons/helpdesk.png" target="" />

    <Link name="Booking System" showto="Domain Admins" description="Book an IT Resource" url="~/bookingsystem/" icon="~/images/icons/bookingsystem.png" target="" />

    <Link name="Logon Tracker" showto="Domain Admins" description="View the Logon History" url="~/tracker/" icon="~/images/icons/tracker.png" target="" />

    <Link name="HAP+ Config" showto="Domain Admins" description="Home Access Plus+ Config" url="~/setup.aspx" icon="~/images/icons/setup.png" target="" />

    </Group>

    </Links>

    <Tabs>

    <tab name="Me" showto="All" type="Me" allowupdateto="Domain Admins" showspace="True" />

    <tab name="Password" showto="Domain Admins" type="Password" />

    <tab name="Bookings" showto="Domain Admins" type="Bookings" />

    <tab name="Tickets" showto="Domain Admins" type="Tickets" />

    </Tabs>

    <AnnouncementBox showto="Domain Admins" enableeditto="Domain Admins" />

    </Homepage>

    <ProxyServer address="eduproxy.bgfl.org" port="80" enabled="True" />

    <SMTP server="smtp.bgfl.org" port="25" enabled="True" ssl="False" from="ICT Support" fromaddress="icthelpdesk@al-hijrah.bham.sch.uk" user="icthelpdesk@al-hijrah.bham.sch.uk" password="" />

    <Tracker maxstudentlogons="1" maxstafflogons="4" overridecode="3600" provider="XML" />

    <School name="Al-Hijrah School" website="http://www.alhijrahschool.co.uk" photohandler="" />

    <bookingsystem maxbookingsperweek="3" maxdays="14" admins="" keepxmlclean="True" twoweektimetable="True">

    <resources />

    <lessons />

    <subjects>

    <subject name="General" />

    </subjects>

    </bookingsystem>

    <mscb hideextensions=".lnk,.ini">
    <mappings>
    <mapping drive="H" name="Teacher's Personal H Files" enablereadto="SecStaff,MIS,PriStaff,Domain Admins" enablewriteto="SecStaff,MIS,PriStaff,Domain Admins" enablemove="True" usagemode="Quota">\\alhijrah-csvr1\users\secstaff\%username%</mapping>
    <mapping drive="R" name="Staff Shared Folder" enablereadto="SecStaff,MIS,PriStaff,Domain Admins" enablewriteto="SecStaff,MIS,PriStaff,Domain Admins" enablemove="True" usagemode="Quota">\\alhijrah-csvr1\staffshared</mapping>
    <mapping drive="V" name="Subjects Folder" enablereadto="SecStaff,MIS,PriStaff,Domain Admins" enablewriteto="SecStaff,MIS,PriStaff,Domain Admins" enablemove="True" usagemode="Quota">\\alhijrah-csvr1\subjects</mapping>
    <mapping drive="X" name="Classes Folder" enablereadto="SecStaff,MIS,PriStaff,SecPupils,PriP upils,Domain Admins" enablewriteto="SecStaff,MIS,PriStaff,SecPupils,Pri Pupils,Domain Admins" enablemove="True" usagemode="Quota">\\alhijrah-csvr1\classes</mapping>
    <mapping drive="P" name="Primary Staff Folder" enablereadto="SecStaff,MIS,PriStaff,Domain Admins" enablewriteto="SecStaff,MIS,PriStaff,Domain Admins" enablemove="True" usagemode="Quota">\\ALHIJRAH-CSVR1\STAFFCOMMON</mapping>
    <mapping drive="Q" name="Primary Admin Folder" enablereadto="SecStaff,MIS,PriStaff,Domain Admins" enablewriteto="SecStaff,MIS,PriStaff,Domain Admins" enablemove="True" usagemode="Quota">\\ALHIJRAH-CSVR1\PRIMARYADMIN</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 />

    </mscb>

    </hapConfig>

  5. #5

    Join Date
    Dec 2011
    Location
    Birmingham
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    We've tried giving the HAP user and administrator as well as network service and authenticated users full access to the HAP folder, without any success.

  6. #6
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,539
    Thank Post
    37
    Thanked 504 Times in 435 Posts
    Rep Power
    114
    It will not be permissions on the HAP Folder. There must be some configuration setting that's a bit screwy.

    How have you put TWO students groups (note plural) into the studentsgroup (note singular) name? The StudentsGroup box only supports 1 group, not 2, that could be causing you issues.

  7. #7

    Join Date
    Jun 2011
    Location
    United Kingdom
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks Nickbro. It's solved the problem! Such as simple solution. I didn't realise we could only put one group in there, as I was editing the hapconfig file directly and not using the wizard. I'm very grateful to you, for sorting this out! Regards...

  8. #8
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,539
    Thank Post
    37
    Thanked 504 Times in 435 Posts
    Rep Power
    114
    Good to hear, sorry about it only supporting 1 group, HAP+ doesn't really do multi schools on the site install.

  9. #9

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

    Nickbro, the error's come back!!! Please help (again!). Well, I'm not sure if it had totally gone. Teachers are free to browse without having to log in too often, but they still have to login more than once!

    Here is my hap config file:

    <?xml version="1.0"?>

    <hapConfig version="7.9.105.2130" firstrun="False">

    <AD username="administrator" password="G1iuIxCe688+A7grSh+40Q==" upn="alhijrah.pri" studentsgroup="AllPupils">

    <OUs />
    </AD>

    <Homepage>

    <Links>

    <Group name="Resources" showto="All" subtitle="">

    <Link name="My School Files" showto="Inherit" description="Access your School My Files" url="~/mycomputer.aspx" icon="~/images/icons/net.png" target="" />

    <Link name="Remote Apps" showto="Domain Admins" description="Run School Applications at Home via School" url="/rdweb/" icon="~/images/icons/remotedesktop.png" target="" />

    <Link name="Access My Emails" showto="Domain Admins" description="Access School Emails" url="https://mail.myvle.org/" icon="~/images/icons/email.png" target="" />

    </Group>

    <Group name="Management" showto="Domain Admins" subtitle="">

    <Link name="Help Desk" showto="Domain Admins" description="Log/View a Support Ticket" url="~/helpdesk/" icon="~/images/icons/helpdesk.png" target="" />

    <Link name="Booking System" showto="Domain Admins" description="Book an IT Resource" url="~/bookingsystem/" icon="~/images/icons/bookingsystem.png" target="" />

    <Link name="Logon Tracker" showto="Domain Admins" description="View the Logon History" url="~/tracker/" icon="~/images/icons/tracker.png" target="" />

    <Link name="HAP+ Config" showto="Domain Admins" description="Home Access Plus+ Config" url="~/setup.aspx" icon="~/images/icons/setup.png" target="" />

    </Group>

    </Links>

    <Tabs>

    <tab name="Me" showto="All" type="Me" allowupdateto="Domain Admins" showspace="True" />

    <tab name="Password" showto="Domain Admins" type="Password" />

    <tab name="Bookings" showto="Domain Admins" type="Bookings" />

    <tab name="Tickets" showto="Domain Admins" type="Tickets" />

    </Tabs>

    <AnnouncementBox showto="Domain Admins" enableeditto="Domain Admins" />

    </Homepage>

    <ProxyServer address="eduproxy.bgfl.org" port="80" enabled="True" />

    <SMTP server="smtp.bgfl.org" port="25" enabled="True" ssl="False" from="ICT Support" fromaddress="icthelpdesk@al-hijrah.bham.sch.uk" user="icthelpdesk@al-hijrah.bham.sch.uk" password="" />

    <Tracker maxstudentlogons="1" maxstafflogons="4" overridecode="3600" provider="XML" />

    <School name="Al-Hijrah School" website="http://www.alhijrahschool.co.uk" photohandler="" />

    <bookingsystem maxbookingsperweek="3" maxdays="14" admins="" keepxmlclean="True" twoweektimetable="True">

    <resources />

    <lessons />

    <subjects>

    <subject name="General" />

    </subjects>

    </bookingsystem>

    <mscb hideextensions=".lnk,.ini">
    <mappings>
    <mapping drive="H" name="Teacher's Personal H Files" enablereadto="SecStaff, MIS,PriStaff, Domain Admins" enablewriteto="SecStaff, MIS,PriStaff, Domain Admins" enablemove="True" usagemode="Quota">\\alhijrah-csvr1\users\secstaff\%username%</mapping>
    <mapping drive="R" name="Staff Shared Folder" enablereadto="SecStaff, MIS, PriStaff, Domain Admins" enablewriteto="SecStaff, MIS, PriStaff, Domain Admins" enablemove="True" usagemode="Quota">\\alhijrah-csvr1\staffshared</mapping>
    <mapping drive="V" name="Subjects Folder" enablereadto="SecStaff, MIS, PriStaff, Domain Admins" enablewriteto="SecStaff, MIS, PriStaff, Domain Admins" enablemove="True" usagemode="Quota">\\alhijrah-csvr1\subjects</mapping>
    <mapping drive="X" name="Classes Folder" enablereadto="SecStaff, MIS, PriStaff, SecPupils, PriPupils, Domain Admins" enablewriteto="SecStaff, MIS, PriStaff, SecPupils, PriPupils, Domain Admins" enablemove="True" usagemode="Quota">\\alhijrah-csvr1\classes</mapping>
    <mapping drive="P" name="Primary Staff Folder" enablereadto="SecStaff, MIS, PriStaff, Domain Admins" enablewriteto="SecStaff, MIS, PriStaff, Domain Admins" enablemove="True" usagemode="Quota">\\ALHIJRAH-CSVR1\STAFFCOMMON</mapping>
    <mapping drive="Q" name="Primary Admin Folder" enablereadto="SecStaff, MIS, PriStaff, Domain Admins" enablewriteto="SecStaff, MIS, PriStaff, Domain Admins" enablemove="True" usagemode="Quota">\\ALHIJRAH-CSVR1\PRIMARYADMIN</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 />

    </mscb>

    </hapConfig>

    Do I still have 'bugs' in my file?

  10. #10
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,539
    Thank Post
    37
    Thanked 504 Times in 435 Posts
    Rep Power
    114
    What settings are in the web.config files in HAP+ this usually does extra stuff.

    Can't see any bugs or omissions in your hapConfig

  11. #11

    Join Date
    Jun 2011
    Location
    United Kingdom
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Here's my config file. I haven't had a look at this yet.

    --------------

    <?xml version="1.0"?>
    <!--
    Under IIS7.5, the application pool identity will be IIS APPPOOL\$apppool$, where $apppool$ is the application pool have is running under. You will need to grant permission to the App_Data folder to this user
    -->
    <configuration>
    <appSettings>
    <add key="ChartImageHandler" value="storage=file;timeout=20;Url=~/app_data/temp/;" />
    </appSettings>
    <connectionStrings>
    <add name="SQLConnectionString" connectionString="Server=localhost;Database=hap;Tr usted_Connection=True;"/>
    </connectionStrings>
    <system.web>
    <httpHandlers>
    <add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.Cha rtHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
    </httpHandlers>
    <pages>
    <controls>
    <add assembly="HAP.Web" namespace="HAP.Web.Controls" tagPrefix="hap" />
    </controls>
    </pages>
    <compilation debug="true" targetFramework="4.0">
    <assemblies>
    <add assembly="System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
    <add assembly="System.DirectoryServices.Protocols, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
    <add assembly="System.DirectoryServices.AccountManageme nt, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
    <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    </assemblies>
    </compilation>
    <authentication mode="Forms">
    <forms loginUrl="~/login.aspx" defaultUrl="~/" />
    </authentication>
    <membership defaultProvider="admp">
    <providers>
    <clear />
    <add name="admp" type="HAP.AD.MembershipProvider" />
    </providers>
    </membership>
    <roleManager defaultProvider="adrp" enabled="true">
    <providers>
    <clear />
    <add name="adrp" type="HAP.AD.RoleProvider"/>
    </providers>
    </roleManager>
    <authorization>
    <deny users="?" />
    </authorization>
    <customErrors mode="Off" />
    </system.web>

    <!--
    The system.webServer section is required for running ASP.NET AJAX under Internet
    Information Services 7.0. It is not necessary for previous version of IIS.
    -->
    <system.webServer>
    <modules runAllManagedModulesForAllRequests="true" />
    <validation validateIntegratedModeConfiguration="false" />
    <security>
    <requestFiltering>
    <hiddenSegments>
    <remove segment="App_Data" />
    <remove segment="App_WebReferences" />
    <remove segment="App_LocalResources" />
    <remove segment="App_GlobalResources" />
    <remove segment="App_code" />
    <remove segment="bin" />
    <remove segment="web.config" />
    <remove segment="App_Browsers" />
    </hiddenSegments>
    <fileExtensions>
    <remove fileExtension=".vsdisco" />
    <remove fileExtension=".sdmDocument" />
    <remove fileExtension=".sdm" />
    <remove fileExtension=".sd" />
    <remove fileExtension=".refresh" />
    <remove fileExtension=".msgx" />
    <remove fileExtension=".mdf" />
    <remove fileExtension=".lsaprototype" />
    <remove fileExtension=".ldf" />
    <remove fileExtension=".lddprototype" />
    <remove fileExtension=".ldd" />
    <remove fileExtension=".exclude" />
    <remove fileExtension=".dsprototype" />
    <remove fileExtension=".dd" />
    <remove fileExtension=".compiled" />
    <remove fileExtension=".cd" />
    <remove fileExtension=".adprototype" />
    <remove fileExtension=".ad" />
    <remove fileExtension=".ssmap" />
    <remove fileExtension=".ssdgm" />
    <remove fileExtension=".dsdgm" />
    <remove fileExtension=".ldb" />
    <remove fileExtension=".jsl" />
    <remove fileExtension=".java" />
    <remove fileExtension=".vjsproj" />
    <remove fileExtension=".mdb" />
    <remove fileExtension=".resources" />
    <remove fileExtension=".resx" />
    <remove fileExtension=".licx" />
    <remove fileExtension=".webinfo" />
    <remove fileExtension=".vbproj" />
    <remove fileExtension=".vb" />
    <remove fileExtension=".csproj" />
    <remove fileExtension=".skin" />
    <remove fileExtension=".ascx" />
    <remove fileExtension=".master" />
    <remove fileExtension=".browser" />
    <remove fileExtension=".sitemap" />
    <remove fileExtension=".cs" />
    <remove fileExtension=".lsad" />
    <remove fileExtension=".asax" />
    <remove fileExtension=".config" />
    </fileExtensions>
    </requestFiltering>
    </security>
    <staticContent>
    <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
    <mimeMap fileExtension=".m4v" mimeType="video/m4v" />
    <mimeMap fileExtension=".ogg" mimeType="video/ogg" />
    <mimeMap fileExtension=".ogv" mimeType="video/ogg" />
    <mimeMap fileExtension=".webm" mimeType="video/webm" />
    <mimeMap fileExtension=".oga" mimeType="audio/ogg" />
    <mimeMap fileExtension=".spx" mimeType="audio/ogg" />
    <mimeMap fileExtension=".svg" mimeType="images/svg+xml" />
    <mimeMap fileExtension=".svgz" mimeType="images/svg+xml" />
    <remove fileExtension=".eot" />
    <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
    <mimeMap fileExtension=".otf" mimeType="font/otf" />
    <mimeMap fileExtension=".woff" mimeType="font/x-woff" />
    </staticContent>
    <handlers>
    <remove name="ChartImageHandler" />
    <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.Cha rtHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    </handlers>
    </system.webServer>
    <!--File Upload Limits-->
    <location path="uploadh.aspx">
    <system.web>
    <httpRuntime maxRequestLength="2097151" executionTimeout="7200" />
    <!--2gb upload limit, 2 hours timeout-->
    </system.web>
    </location>
    <location path="api/myfiles-upload">
    <system.web>
    <httpRuntime maxRequestLength="2097151" executionTimeout="7200" />
    </system.web>
    </location>
    <location path="myfiles/default.aspx">
    <system.web>
    <httpRuntime maxRequestLength="2097151" executionTimeout="7200" />
    </system.web>
    </location>
    <!--End of File Upload Limits-->
    <!--Start of Override Permissions-->
    <location path="api.asmx">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="Login.aspx">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="setup.aspx">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="app_data">
    <system.web>
    <authorization>
    <deny users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="bin">
    <system.web>
    <authorization>
    <deny users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="api/test">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="api/js">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="api/setup">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="api/bookingsystem/loadroom">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <location path="favicon.ico">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    <!--End of Override Permissions-->
    <system.serviceModel>
    <behaviors>
    <serviceBehaviors>
    <behavior name="">
    <serviceDebug includeExceptionDetailInFaults="true"/>
    <serviceMetadata httpGetEnabled="false" httpsGetEnabled="true" />
    </behavior>
    </serviceBehaviors>
    </behaviors>
    <bindings>
    <webHttpBinding>
    <binding>
    <security mode="Transport" />
    </binding>
    </webHttpBinding>
    </bindings>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
    <standardEndpoints>
    <webHttpEndpoint>
    <standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true" faultExceptionEnabled="true">
    <security mode="Transport"/>
    </standardEndpoint>
    </webHttpEndpoint>
    </standardEndpoints>
    </system.serviceModel>
    </configuration>

    ----------------

    I'm glad the hapconfig file looks right...

  12. #12
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,539
    Thank Post
    37
    Thanked 504 Times in 435 Posts
    Rep Power
    114
    Hmm, that all looks right, really odd. There is a timeout when using HAP+, but that's usually a session timeout

  13. #13

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

    It actually does feel like a timeout. You can browse backwards and still get to files and folders, but when you click to download, it'll go straight to the login page. Then when you put your login details in, you are presented with the download prompt and then you can download. But them youo're stuck in a loop of logging in and downloading the same file! You have to close the files or click back a few times before resuming to normal access.

  14. #14
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,539
    Thank Post
    37
    Thanked 504 Times in 435 Posts
    Rep Power
    114
    Ok, I'll see if I can add a check to see if the session has expired that is running while using HAP+ so you don't try to download something when your session has timed out

  15. #15

    Join Date
    Jun 2011
    Location
    United Kingdom
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    OK. Thanks Nickbro? Would you like a username and password to log into our HAP? Or are you going to send me an edited config file?

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

Similar Threads

  1. Scheduled Task - user must be logged in to run
    By enjay in forum Windows Server 2008 R2
    Replies: 12
    Last Post: 17th January 2012, 04:29 PM
  2. Replies: 0
    Last Post: 10th October 2011, 05:36 PM
  3. Black Screen - Users have to wait to get in
    By Psymon in forum Windows Vista
    Replies: 1
    Last Post: 13th November 2008, 05:08 PM
  4. New users can't log in to Outlook Web Access
    By WithoutMotive in forum Windows
    Replies: 5
    Last Post: 7th September 2007, 11:17 AM
  5. Replies: 7
    Last Post: 3rd March 2007, 08:44 AM

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
  •