locked
Invalid configuration for key ZentityUser in config file. RRS feed

  • Question

  • I found the reason of this error. But it's not these commented 3 lines.
    Exception information: 
        Exception type: HttpException 
        Exception message: Invalid configuration for key ZentityUser in config file.
       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)
    Invalid configuration for key ZentityUser in config file.
       at Zentity.Security.AuthenticationProvider.AuthenticationFactory.CreateInstance[T](String name)
       at Zentity.Security.AuthenticationProvider.ZentityAuthenticationProvider.Authenticate(SecurityToken credentialToken)
       at Zentity.Web.UI.ResourceDataAccess.Authenticate(String userName, String password)
       at Zentity.Web.UI.Global.Application_Start(Object sender, EventArgs e)
    Value cannot be null.
    Parameter name: typeName
       at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
       at System.Type.GetType(String typeName, Boolean throwOnError)
       at Zentity.Security.AuthenticationProvider.AuthenticationFactory.CreateInstance[T](String name)



    • Edited by ItSurfer Friday, October 28, 2011 1:07 PM
    Friday, October 28, 2011 1:05 PM

Answers

  • If you have Zentity client installed, run the WebUI from All Programs -> Zentity -> Zentity WebUI.

    If your installation is correct this should work. Please let me know if you are getting error in this.

    -Thanks

    • Marked as answer by ItSurfer Tuesday, November 1, 2011 9:42 AM
    Monday, October 31, 2011 11:33 AM
  • There was an mistake during my installation.

    Thank you, Kalmeni, for the shain of answers it really helped me.

    • Marked as answer by ItSurfer Tuesday, November 1, 2011 8:17 AM
    Tuesday, November 1, 2011 8:17 AM

All replies

  • Which error?
    Monday, October 31, 2011 7:45 AM
  • Server error in webUI application.

    Value cannot be null.

    Parameter name: typeName

    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.ArgumentNullException: Value cannot be null.
    Parameter name: typeName

    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.
    Monday, October 31, 2011 11:14 AM
  • There are two solutions on my PC.

    1st) Which is written to Program Files.

    2nd) Source code. For debugging. 

    When I run WebUI from ProgFiles I see the error.

    When I run WebUI from Source code there are no errors.

    Monday, October 31, 2011 11:24 AM
  • If you have Zentity client installed, run the WebUI from All Programs -> Zentity -> Zentity WebUI.

    If your installation is correct this should work. Please let me know if you are getting error in this.

    -Thanks

    • Marked as answer by ItSurfer Tuesday, November 1, 2011 9:42 AM
    Monday, October 31, 2011 11:33 AM
  • There was an mistake during my installation.

    Thank you, Kalmeni, for the shain of answers it really helped me.

    • Marked as answer by ItSurfer Tuesday, November 1, 2011 8:17 AM
    Tuesday, November 1, 2011 8:17 AM