Runtime Error

  • hi

    i am using centos 7

    Server version: Apache/2.4.6 (CentOS)

    [root@clonedeploy clonedeploy]# mono --version
    Mono JIT compiler version (tarball Sat Aug 4 08:32:47 UTC 2018)
    Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
    TLS: __thread
    SIGSEGV: altstack
    Notifications: epoll
    Architecture: amd64
    Disabled: none
    Misc: softdebug
    Interpreter: yes
    LLVM: yes(3.6.0svn-mono-/)
    GC: sgen (concurrent by default)

    Application Exception
    Runtime Error
    A runtime error has occurred

    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed (for security reasons).

    Details: To enable the details of this specific error message to be viewable, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

    <!-- Web.Config Configuration File -->

    <customErrors mode="Off"/>

    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

    <!-- Web.Config Configuration File -->

    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>

  • at System.Web.Compilation.AppCodeCompiler.Compile () [0x00018] in /builddir/build/BUILD/mono-
    at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext context) [0x0020f] in /builddir/build/BUILD/mono-
    at System.Web.HttpApplicationFactory.GetApplication (System.Web.HttpContext context) [0x00018] in /builddir/build/BUILD/mono-
    at System.Web.HttpRuntime.Process (System.Web.HttpWorkerRequest req) [0x00052] in /builddir/build/BUILD/mono-

  • i have restore file /var/www/html/clonedeploy/api/Web.config

    now i get this error

    Unable to validate data.

    Description: HTTP 500.Error processing request.

    Details: Error processing request.
    Exception stack trace:
    at System.Web.UI.ObjectStateFormatter.Deserialize (System.String inputString) [0x000a6] in /builddir/build/BUILD/mono-
    at System.Web.UI.ClientScriptManager.RestoreEventValidationState (System.String fieldValue) [0x00022] in /builddir/build/BUILD/mono-
    at System.Web.UI.Page.RestorePageState () [0x00018] in /builddir/build/BUILD/mono-
    at System.Web.UI.Page.InternalProcessRequest () [0x0019b] in /builddir/build/BUILD/mono-
    at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x0005f] in /builddir/build/BUILD/mono-

  • the probleem is solved by by entering the right user in Web.config in / var / www / html / clonedeploy / api