daily pastebin goal
24%
SHARE
TWEET

Untitled

a guest Apr 30th, 2015 223 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2.  
  3. <html>
  4.  
  5.     <head>
  6.  
  7.         <title>Index was outside the bounds of the array.</title>
  8.  
  9.         <meta name="viewport" content="width=device-width" />
  10.  
  11.         <style>
  12.  
  13.          body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
  14.  
  15.          p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
  16.  
  17.          b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
  18.  
  19.          H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
  20.  
  21.          H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
  22.  
  23.          pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
  24.  
  25.          .marker {font-weight: bold; color: black;text-decoration: none;}
  26.  
  27.          .version {color: gray;}
  28.  
  29.          .error {margin-bottom: 10px;}
  30.  
  31.          .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
  32.  
  33.          @media screen and (max-width: 639px) {
  34.  
  35.           pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
  36.  
  37.          }
  38.  
  39.          @media screen and (max-width: 479px) {
  40.  
  41.           pre { width: 280px; }
  42.  
  43.          }
  44.  
  45.         </style>
  46.  
  47.     </head>
  48.  
  49.  
  50.  
  51.     <body bgcolor="white">
  52.  
  53.  
  54.  
  55.             <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>
  56.  
  57.  
  58.  
  59.             <h2> <i>Index was outside the bounds of the array.</i> </h2></span>
  60.  
  61.  
  62.  
  63.             <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
  64.  
  65.  
  66.  
  67.             <b> Description: </b>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.
  68.  
  69.  
  70.  
  71.             <br><br>
  72.  
  73.  
  74.  
  75.             <b> Exception Details: </b>System.IndexOutOfRangeException: Index was outside the bounds of the array.<br><br>
  76.  
  77.  
  78.  
  79.             <b>Source Error:</b> <br><br>
  80.  
  81.  
  82.  
  83.             <table width=100% bgcolor="#ffffcc">
  84.  
  85.                <tr>
  86.  
  87.                   <td>
  88.  
  89.                       <code><pre>
  90.  
  91.  
  92.  
  93. Line 3:      ViewBag.Page = &quot;home&quot;;
  94.  
  95. Line 4:      ViewBag.Title = &quot;Home - Visual Studio Code&quot;;
  96.  
  97. <font color=red>Line 5:      ViewBag.OSType = PortalHelpers.GetOSType(Context.Request.Headers[&quot;User-Agent&quot;]);
  98.  
  99. </font>Line 6:      Layout = &quot;~/Views/Shared/_Layout.cshtml&quot;;
  100.  
  101. Line 7:  }</pre></code>
  102.  
  103.  
  104.  
  105.                   </td>
  106.  
  107.                </tr>
  108.  
  109.             </table>
  110.  
  111.  
  112.  
  113.             <br>
  114.  
  115.  
  116.  
  117.             <b> Source File: </b> d:\home\site\wwwroot\Views\Home\Index.cshtml<b> &nbsp;&nbsp; Line: </b> 5
  118.  
  119.             <br><br>
  120.  
  121.  
  122.  
  123.             <b>Stack Trace:</b> <br><br>
  124.  
  125.  
  126.  
  127.             <table width=100% bgcolor="#ffffcc">
  128.  
  129.                <tr>
  130.  
  131.                   <td>
  132.  
  133.                       <code><pre>
  134.  
  135.  
  136.  
  137. [IndexOutOfRangeException: Index was outside the bounds of the array.]
  138.  
  139.    TicinoPortal.Common.PortalHelpers.GetOSType(String userAgent) +231
  140.  
  141.    ASP._Page_Views_Home_Index_cshtml.Execute() in d:\home\site\wwwroot\Views\Home\Index.cshtml:5
  142.  
  143.    System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198
  144.  
  145.    System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +105
  146.  
  147.    System.Web.WebPages.StartPage.RunPage() +17
  148.  
  149.    System.Web.WebPages.StartPage.ExecutePageHierarchy() +64
  150.  
  151.    System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +78
  152.  
  153.    System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +256
  154.  
  155.    System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +107
  156.  
  157.    System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +293
  158.  
  159.    System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) +13
  160.  
  161.    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +56
  162.  
  163.    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +422
  164.  
  165.    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +52
  166.  
  167.    System.Web.Mvc.Async.&lt;&gt;c__DisplayClass2b.&lt;BeginInvokeAction&gt;b__1c() +173
  168.  
  169.    System.Web.Mvc.Async.&lt;&gt;c__DisplayClass21.&lt;BeginInvokeAction&gt;b__1e(IAsyncResult asyncResult) +100
  170.  
  171.    System.Web.Mvc.Async.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) +10
  172.  
  173.    System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
  174.  
  175.    System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +44
  176.  
  177.    System.Web.Mvc.Controller.&lt;BeginExecuteCore&gt;b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +13
  178.  
  179.    System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +36
  180.  
  181.    System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +54
  182.  
  183.    System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +58
  184.  
  185.    System.Web.Mvc.Controller.&lt;BeginExecute&gt;b__15(IAsyncResult asyncResult, Controller controller) +12
  186.  
  187.    System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +28
  188.  
  189.    System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +54
  190.  
  191.    System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +48
  192.  
  193.    System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
  194.  
  195.    System.Web.Mvc.MvcHandler.&lt;BeginProcessRequest&gt;b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +21
  196.  
  197.    System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +36
  198.  
  199.    System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +54
  200.  
  201.    System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +48
  202.  
  203.    System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
  204.  
  205.    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9651188
  206.  
  207.    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +155
  208.  
  209. </pre></code>
  210.  
  211.  
  212.  
  213.                   </td>
  214.  
  215.                </tr>
  216.  
  217.             </table>
  218.  
  219.  
  220.  
  221.             <br>
  222.  
  223.  
  224.  
  225.             <hr width=100% size=1 color=silver>
  226.  
  227.  
  228.  
  229.             <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36215
  230.  
  231.  
  232.  
  233.             </font>
  234.  
  235.  
  236.  
  237.     </body>
  238.  
  239. </html>
  240.  
  241. <!--
  242.  
  243. [IndexOutOfRangeException]: Index was outside the bounds of the array.
  244.  
  245.    at TicinoPortal.Common.PortalHelpers.GetOSType(String userAgent)
  246.  
  247.    at ASP._Page_Views_Home_Index_cshtml.Execute() in d:\home\site\wwwroot\Views\Home\Index.cshtml:line 5
  248.  
  249.    at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
  250.  
  251.    at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
  252.  
  253.    at System.Web.WebPages.StartPage.RunPage()
  254.  
  255.    at System.Web.WebPages.StartPage.ExecutePageHierarchy()
  256.  
  257.    at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
  258.  
  259.    at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
  260.  
  261.    at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
  262.  
  263.    at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
  264.  
  265.    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)
  266.  
  267.    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
  268.  
  269.    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
  270.  
  271.    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
  272.  
  273.    at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
  274.  
  275.    at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
  276.  
  277.    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
  278.  
  279.    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
  280.  
  281.    at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
  282.  
  283.    at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)
  284.  
  285.    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
  286.  
  287.    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
  288.  
  289.    at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
  290.  
  291.    at System.Web.Mvc.Controller.<BeginExecute>b__15(IAsyncResult asyncResult, Controller controller)
  292.  
  293.    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
  294.  
  295.    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
  296.  
  297.    at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
  298.  
  299.    at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)
  300.  
  301.    at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState)
  302.  
  303.    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
  304.  
  305.    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
  306.  
  307.    at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
  308.  
  309.    at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
  310.  
  311.    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
  312.  
  313.    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
  314.  
  315. --><!--
  316.  
  317. This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->
RAW Paste Data
Top