+ Post New Thread
Results 1 to 6 of 6
Home Access Plus+ Thread, WCF error in Projects:; I think ive just broken my HAP... Ive tried to add 2 instances of a drive mapping with the same ...
  1. #1
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,017
    Thank Post
    304
    Thanked 288 Times in 200 Posts
    Rep Power
    120

    WCF error

    I think ive just broken my HAP...

    Ive tried to add 2 instances of a drive mapping with the same drive letter and now it throws the following up:

    Code:
    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.  
    
    Stack Trace: 
    
    
    [ArgumentException: An item with the same key has already been added.]
       System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +4255040
       HAP.Web.Configuration.DriveMappings..ctor(XmlDocument& doc) +389
       HAP.Web.Configuration.MySchoolComputerBrowser.get_Mappings() +39
       HAP.Web.Setup.Page_Load(Object sender, EventArgs e) +2243
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
       System.Web.UI.Control.LoadRecursive() +71
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064
    We have departmental shares on our network which means that english share and design tech share have the same drive letter as it is done per user so i thought HAP would be cleaver enough to do the same, so that if a user was a member of english they would see the relevant drives, not the case.

    Can someone help me please.

    Thanks

  2. #2
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,548
    Thank Post
    517
    Thanked 56 Times in 50 Posts
    Rep Power
    29
    I know this one! Its an xml file. Give me a second and I'll let you know which one!

  3. #3
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,548
    Thank Post
    517
    Thanked 56 Times in 50 Posts
    Rep Power
    29
    it's a problem with your hapconfig.xml which is located in app_data. Take a look for duplicate drive letters in mappings

  4. 2 Thanks to reggiep:

    nickbro (17th November 2012), timbo343 (19th November 2012)

  5. #4
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,017
    Thank Post
    304
    Thanked 288 Times in 200 Posts
    Rep Power
    120
    Cheers, will take a look on monday

  6. #5
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,017
    Thank Post
    304
    Thanked 288 Times in 200 Posts
    Rep Power
    120
    Working like a trooper again, thanks

  7. #6
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,548
    Thank Post
    517
    Thanked 56 Times in 50 Posts
    Rep Power
    29
    Excellent news!

SHARE:
+ Post New Thread

Similar Threads

  1. HAP V8 Install A WCF Error occured
    By TechieWils in forum Home Access Plus+
    Replies: 1
    Last Post: 30th August 2012, 01:27 PM
  2. Google Spyware error
    By ChrisH in forum Windows
    Replies: 10
    Last Post: 14th December 2005, 08:35 PM
  3. liberum and asp error message
    By russdev in forum Windows
    Replies: 2
    Last Post: 25th November 2005, 01:46 PM
  4. Adduser.conf parse errors
    By ChrisH in forum *nix
    Replies: 4
    Last Post: 18th November 2005, 11:10 AM
  5. Kerberos error - All policies disappeared
    By ajbritton in forum Windows
    Replies: 13
    Last Post: 2nd November 2005, 02:13 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
  •