timbo343 Posted November 16, 2012 Posted November 16, 2012 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
reggiep Posted November 16, 2012 Posted November 16, 2012 I know this one! Its an xml file. Give me a second and I'll let you know which one!
reggiep Posted November 16, 2012 Posted November 16, 2012 it's a problem with your hapconfig.xml which is located in app_data. Take a look for duplicate drive letters in mappings 2
timbo343 Posted November 19, 2012 Author Posted November 19, 2012 Working like a trooper again, thanks
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now