+ Post New Thread
Results 1 to 13 of 13
Home Access Plus+ Thread, Can't remove bookings in Projects:; Hi all, Having done some major server upgrades over the summer we've moved HAP+ and now got 2 instances working ...
  1. #1
    beneal's Avatar
    Join Date
    Mar 2010
    Location
    Ormskirk
    Posts
    46
    Thank Post
    8
    Thanked 8 Times in 8 Posts
    Rep Power
    19

    Can't remove bookings

    Hi all,

    Having done some major server upgrades over the summer we've moved HAP+ and now got 2 instances working so we can have seperate booking systems.
    Everything is great except bookings can't be removed in the interface on either system.
    The message pops up asking 'Are you sure' then when you click ok we get a dialogue box which just says 'Unathourized'.
    This happens for Admins and Teaching Staff.

    I'm thinking it looks like we've missed some permissions somewhere but we can't see what, and everything else is working as it should.

    Any ideas?

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,351
    Thank Post
    36
    Thanked 465 Times in 397 Posts
    Rep Power
    105
    Check you have write permission to the whole app_data directory.

    Also try doing some HAP+ JSON Debugging

  3. #3
    beneal's Avatar
    Join Date
    Mar 2010
    Location
    Ormskirk
    Posts
    46
    Thank Post
    8
    Thanked 8 Times in 8 Posts
    Rep Power
    19
    As far as I can tell HAP has write permission to app_data.

    Json debugging gives me:
    URL Method Result Type Received Taken Initiator Wait‎‎ Start‎‎ Request‎‎ Response‎‎ Cache read‎‎ Gap‎‎
    /hap/api/BookingSystem/Booking/14-9-2012?"2012-09-14T07:56:53.124Z" DELETE 401 text/html 196 B 78 ms JS Library XMLHttpRequest 8658 15 0 63 0 0

  4. #4
    beneal's Avatar
    Join Date
    Mar 2010
    Location
    Ormskirk
    Posts
    46
    Thank Post
    8
    Thanked 8 Times in 8 Posts
    Rep Power
    19
    I've been through the installation video again and check all the settings match, which they do. The only difference is we had to give HAP permissions using the icacls method as we couldn't find it using the way shown in the video - I don't know if that might be an indicator that something is wrong somewhere else?

  5. #5
    beneal's Avatar
    Join Date
    Mar 2010
    Location
    Ormskirk
    Posts
    46
    Thank Post
    8
    Thanked 8 Times in 8 Posts
    Rep Power
    19
    Anyone got any ideas on this? We've upgraded to V8 and everything else is great but we still have this issue. It's having problems carrying out the DELETE command, but we've no idea where to begin to sort it (not that it's stopped us trying). Obviously the 401 error suggests an authentication issue but everything else, adding bookings etc. works so we're really confused.

    We've tried various permutations of authentication on the application and higher up with no joy, and even adding the DELETE verb in the Handler Mappings - but we're pretty clueless in that area and nothing has worked. I've been through the V8 installation video and everything matches, so I wonder if it's something we have set differently from default somewhere else, rather than something we've missed. Any help would be much appreciated!

  6. #6
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,351
    Thank Post
    36
    Thanked 465 Times in 397 Posts
    Rep Power
    105
    Which version of IIS are you using?

  7. #7
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,351
    Thank Post
    36
    Thanked 465 Times in 397 Posts
    Rep Power
    105
    You may need to do this: Enable DELETE, PUT, MERGE verbs in IIS5 / IIS6 for the .svc extention in when using a ADO.NET REST service - wiibart.com, which you will need to do on the wildcard *.* isapi filter.

    Also make sure HAP+ isn't running on a server with WebDav. If it is you will need to use IIS Manager to disable the webdav module

  8. #8
    beneal's Avatar
    Join Date
    Mar 2010
    Location
    Ormskirk
    Posts
    46
    Thank Post
    8
    Thanked 8 Times in 8 Posts
    Rep Power
    19
    Thanks Nick, we're on IIS7.
    I couldn't really work out how to follow what was being done in the link you've posted, mainly due to the version difference (also my German isn't great )
    I've tried fiddling about with adding the DELETE verb to some handler mappings but the best I can do is change the error message we get to 'Not found'. JSON debugging tells me it is a 404 error.
    I've also removed WebDav from handler mappings and Modules - does that need to be removed better?
    Any ideas? or a way to do the above link in IIS7? (sorry if I'm being thick)

  9. #9
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,351
    Thank Post
    36
    Thanked 465 Times in 397 Posts
    Rep Power
    105
    For IIS7
    Quote Originally Posted by nickbro View Post
    make sure HAP+ isn't running on a server with WebDav. If it is you will need to use IIS Manager to disable the webdav module for the HAP+ application

  10. #10
    beneal's Avatar
    Join Date
    Mar 2010
    Location
    Ormskirk
    Posts
    46
    Thank Post
    8
    Thanked 8 Times in 8 Posts
    Rep Power
    19
    Thanks again Nick,
    I've tried removing the WebDav Module from the HAP application. It must be doing something as the error I get changed to 'Internal Server Error'
    So I also removed WebDav from the handler mappings, this changes the error to 'Not Found'

    I feel like I'm close... but no idea what else to try

  11. #11
    beneal's Avatar
    Join Date
    Mar 2010
    Location
    Ormskirk
    Posts
    46
    Thank Post
    8
    Thanked 8 Times in 8 Posts
    Rep Power
    19
    We fixed this by uninstalling webdav, as advised. Unfortunatley we're now in the posisiton that we need webdav for something we want to do with our iPads and could really do with it on this server. As I've mentioned we've tried disabling the module in the HAP application but that doesn't do it. Does anyone know if there's anything else we could try?

  12. #12
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,351
    Thank Post
    36
    Thanked 465 Times in 397 Posts
    Rep Power
    105
    Can you try this in the web.config file
    Code:
    <modules runAllManagedModulesForAllRequests="true">       <remove name="WebDAVModule" />     </modules>

  13. Thanks to nickbro from:

    beneal (5th February 2013)

  14. #13
    beneal's Avatar
    Join Date
    Mar 2010
    Location
    Ormskirk
    Posts
    46
    Thank Post
    8
    Thanked 8 Times in 8 Posts
    Rep Power
    19
    Thanks Nick, NM has decided we'll just live without webdav on that server now, but thanks for all your advice!

SHARE:
+ Post New Thread

Similar Threads

  1. Removing booking
    By Cools in forum Home Access Plus+
    Replies: 6
    Last Post: 21st February 2012, 04:32 PM
  2. Can't delte bookings from Booking System
    By dezt in forum Home Access Plus+
    Replies: 5
    Last Post: 28th November 2011, 03:40 PM
  3. How can I remove "Setting up Personalized Settings" on login
    By ninjabeaver in forum How do you do....it?
    Replies: 14
    Last Post: 15th October 2011, 02:40 AM
  4. DFS - can't remove or recreate an old root
    By OverWorked in forum Windows
    Replies: 1
    Last Post: 25th September 2007, 01:09 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
  •