Question

emjaymaine on Thu, 30 Jan 2020 17:46:51


The following comes up when we browse to https://servername.domainname.com/MDS/

Server Error in '/MDS' Application.

Input string was not in a correct format.

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.FormatException: Input string was not in a correct format.

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:
[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +14286718
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +174
   Microsoft.MasterDataServices.Core.Logging.FileTraceListener.<CreateFile>b__b(FileInfo f) +140
   System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count) +107
   System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count) +151
   System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count) +29
   System.Linq.<GetEnumerator>d__1.MoveNext() +273
   Microsoft.MasterDataServices.Core.Logging.FileTraceListener.CreateFile() +594
   Microsoft.MasterDataServices.Core.Logging.FileTraceListener.Write(TraceEventType eventType, IEnumerable`1 messages) +484
   Microsoft.MasterDataServices.Core.Logging.FileTraceListener.Write(TraceEventType eventType, String message) +214
   System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message) +327
   Microsoft.MasterDataServices.WebUI.MDSApplication.Application_Start(Object sender, EventArgs e) +923

[HttpException (0x80004005): Input string was not in a correct format.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +546
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +171
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +173
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +255
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +347

[HttpException (0x80004005): Input string was not in a correct format.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +552
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +122
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +737


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

The following comes from the Event log:

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 1/30/2020 10:17:57 AM 
Event time (UTC): 1/30/2020 3:17:57 PM 
Event ID: 1802ea4138264ae4afed921a4103a578 
Event sequence: 2 
Event occurrence: 1 
Event detail code: 0 

Application information: 
    Application domain: /LM/W3SVC/1/ROOT/MDS-5-132248710769135931 
    Trust level: Full 
    Application Virtual Path: /MDS 
    Application Path: C:\Program Files\Microsoft SQL Server\130\Master Data Services\WebApplication\ 
    Machine name: LLB-SQLQSMDS01 

Process information: 
    Process ID: 6656 
    Process name: w3wp.exe 
    Account name: LLBEAN\svc-sqlsmdswebq 

Exception information: 
    Exception type: HttpException 
    Exception message: Input string was not in a correct format.
   at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
   at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
   at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
   at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
   at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)

Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at Microsoft.MasterDataServices.Core.Logging.FileTraceListener.<CreateFile>b__b(FileInfo f)
   at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
   at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
   at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
   at Microsoft.MasterDataServices.Core.Logging.FileTraceListener.CreateFile()
   at Microsoft.MasterDataServices.Core.Logging.FileTraceListener.Write(TraceEventType eventType, IEnumerable`1 messages)
   at Microsoft.MasterDataServices.Core.Logging.FileTraceListener.Write(TraceEventType eventType, String message)
   at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
   at Microsoft.MasterDataServices.WebUI.MDSApplication.Application_Start(Object sender, EventArgs e)



Request information: 
    Request URL: https://llb-sqlqsmds01.llbean.com:443/MDS/ 
    Request path: /MDS/ 
    User host address: ::1 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: LLBEAN\svc-sqlsmdswebq 

Thread information: 
    Thread ID: 26 
    Thread account name: LLBEAN\svc-sqlsmdswebq 
    Is impersonating: False 
    Stack trace:    at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
   at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
   at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
   at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
   at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)

      Any Ideas?