+ Post New Thread
Results 1 to 6 of 6
Home Access Plus+ Thread, A WCF Error has occurred in Projects:; While creating mappings using %homedir% I get the above error. Can you advise please?...
  1. #1

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,503
    Thank Post
    1,581
    Thanked 485 Times in 303 Posts
    Rep Power
    217

    A WCF Error has occurred

    While creating mappings using %homedir% I get the above error.

    Can you advise please?

  2. #2

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,503
    Thank Post
    1,581
    Thanked 485 Times in 303 Posts
    Rep Power
    217
    Also - when I go back into the setup page I get the following error

    Server Error in '/HAP' Application.

    An item with the same key has already been added.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentException: An item with the same key has already been added.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

  3. #3
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,520
    Thank Post
    37
    Thanked 501 Times in 432 Posts
    Rep Power
    113
    You cannot add 2+ mappings with the same drive letter currently. You'll want to edit the hapconfig.xml file directly and remove the extra entry.

    Drive letters need to be unique

  4. Thanks to nickbro from:

    CHR1S (5th December 2012)

  5. #4

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,503
    Thank Post
    1,581
    Thanked 485 Times in 303 Posts
    Rep Power
    217
    I should have been more specific, I have added the drive once, it then gives the "A WCF Error has occurred" it then gives the next error when I go back into the setup page. I dont even try to add another drive, the first add fails.

    Thanks

    Edit -

    <mscb hideextensions=".lnk,.ini" writechecks="True" LiveAppId="">
    <mappings>
    <mapping drive="N" name="%username% " enablereadto="" enablewriteto="" enablemove="False" usagemode="Quota">%homedir%</mapping>
    <mapping drive="N" name="Home Directory" enablereadto="All" enablewriteto="All" enablemove="False" usagemode="Quota">%homedir%</mapping>
    </mappings>
    I did not add the first mapping, only the second.
    Last edited by CHR1S; 5th December 2012 at 04:26 PM.

  6. #5
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,520
    Thank Post
    37
    Thanked 501 Times in 432 Posts
    Rep Power
    113
    Hmm odd. Are you double clicking on the add button?

    Can you try clicking save, not adding the drive, and see what's saved in to the hapconfig.xml file?

  7. Thanks to nickbro from:

    CHR1S (5th December 2012)

  8. #6

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,503
    Thank Post
    1,581
    Thanked 485 Times in 303 Posts
    Rep Power
    217
    Weird, deleted both entries, and re added and its working perfectly.

    Thanks for your help

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 1
    Last Post: 1st April 2014, 01:15 PM
  2. HAP V8 Install A WCF Error occured
    By TechieWils in forum Home Access Plus+
    Replies: 1
    Last Post: 30th August 2012, 01:27 PM
  3. AB Tutor Control: A product type change has occured
    By AngryTechnician in forum Network and Classroom Management
    Replies: 2
    Last Post: 22nd February 2012, 04:28 PM
  4. Adding Server to Domain: An Error With no Description Has Occurred
    By Gongalong in forum Windows Server 2008
    Replies: 3
    Last Post: 5th December 2011, 02:22 PM
  5. Moodle Course Restore - An Error has ocurred
    By FN-GM in forum Virtual Learning Platforms
    Replies: 4
    Last Post: 17th August 2009, 11:20 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
  •