Solved[FSOD] Server Error

Posts 1–3 of 3 · Page 1 of 1
[FSOD] Server Error
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
It is probably an XML missing in one of your behaviors.
Quote Originally Posted by LOGM View Post
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
An item xml or something is missing in client, try to remember what xml you added and add it to the client.
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us