I keep getting this error when i open my client and try to connect to my server. I even tried restarting my project but no hope. Any info on this will help me out. Please comment below.
Code:
[21:42:40] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at System.Collections.ObjectModel.ReadOnlyDictionary`2.System.Collections.Generic.IDictionary<TKey,TValue>.get_Item(TKey key)
at db.Database.GetNews(XmlData data, Account acc) in C:\Users\Daniel\Desktop\fabiano-swagger-of-doom-master\db\Database.cs:line 139
at server.char.list.HandleRequest() in C:\Users\Daniel\Desktop\fabiano-swagger-of-doom-master\server\char\list.cs:line 79
at server.RequestHandler.HandleRequest(HttpListenerContext context) in C:\Users\Daniel\Desktop\fabiano-swagger-of-doom-master\server\RequestHandlers.cs:line 38
at server.Program.ProcessRequest(HttpListenerContext context) in C:\Users\Daniel\Desktop\fabiano-swagger-of-doom-master\server\Program.cs:line 156