Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

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.

 

Posted

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

  • Thanks 1
Posted (edited)

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 -

 

%homedir%

%homedir%

 

I did not add the first mapping, only the second.

Edited by CHR1S
Posted

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?

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...