Jump to content

Recommended Posts

Posted

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:

 

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

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...