Big error - Something to do with server/map display name *2.4* *win 2008 server standard*

Issue #2 resolved
marek w created an issue

Created a server with a long name, i think it had "&" in either server or map display name. After clicking save, i was shown an error. When trying to get back to the server and config, im met with the below error. meaning theres no way to delete, or edit this one server. Unless i go into the database=.


Server Error in '/' Application.

' ' is an unexpected token. The expected token is ';'. Line 47, position 22.

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.Xml.XmlException: ' ' is an unexpected token. The expected token is ';'. Line 47, position 22.

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:

[XmlException: ' ' is an unexpected token. The expected token is ';'. Line 47, position 22.] System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) +163 System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos) +438 System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) +1042 System.Xml.XmlTextReaderImpl.FinishPartialValue() +79 System.Xml.XmlTextReaderImpl.get_Value() +72 System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r) +225 System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o) +75 System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options) +345 System.Xml.Linq.XDocument.Load(String uri, LoadOptions options) +143 SESM.Tools.Helpers.ServerConfigHelper.LoadFromServConf(String path) +90 SESM.Controllers.ServerController.Status(Int32 id) +190 lambda_method(Closure , ControllerBase , Object[] ) +112 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) +242 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) +39 System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +12 System.Web.Mvc.Async.WrappedAsyncResult2.CallEndDelegate(IAsyncResult asyncResult) +139 System.Web.Mvc.Async.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() +112 System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +452 System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +452 System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +452 System.Web.Mvc.Async.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult) +15 System.Web.Mvc.Async.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() +37 System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +241 System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29 System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +111 System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53 System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +19 System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +51 System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +111 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18446

Comments (2)

  1. remygrandin NA repo owner

    It would be no uste to edit the database, but try looking into the config File of the wrong server and remove manualy the "&" which should be in the serverName or worldName field. Save it and it should be available again in SESM (at least for suppression)

  2. Log in to comment