Skip to content

IIS Deployment, exception when loading homepage #4

@circlespainter

Description

@circlespainter

Hi, I tried cloning the repository and deploying the application on IIS but I get the following exception when I try loading the homepage:

Server Error in '/Web_CSharp_REPL' Application.

Value cannot be null.
Parameter name: path1

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: path1

Source Error: 


Line 14: 		protected void Application_Error(object sender, EventArgs e)
Line 15: 		{
Line 16: 			"[Application_Error]".info();
Line 17: 		}
Line 18: 

Source File: c:\inetpub\wwwroot\Web_CSharp_REPL\App_Code\Global.asax.cs    Line: 16 

Stack Trace: 


[ArgumentNullException: Value cannot be null.
Parameter name: path1]
   System.IO.Path.Combine(String path1, String path2) +137
   O2.Kernel.InterfacesBaseImpl.KO2Config..ctor() +264
   O2.Kernel.CodeUtils.O2ConfigLoader.getKO2Config() +69
   O2.Kernel.PublicDI..cctor() +122

[TypeInitializationException: The type initializer for 'O2.Kernel.PublicDI' threw an exception.]
   O2.Kernel.PublicDI.get_log() +36
   O2.DotNetWrappers.ExtensionMethods.Logging_ExtensionMethods.info(String formatString, Object[] parameters) +90
   O2.WebREPL.Global.Application_Error(Object sender, EventArgs e) in c:\inetpub\wwwroot\Web_CSharp_REPL\App_Code\Global.asax.cs:16
   System.Web.HttpApplication.RaiseOnError() +206

[HttpException (0x80004005): The type initializer for 'O2.Kernel.PublicDI' threw an exception.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +534
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +186
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +175
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +424
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +360

[HttpException (0x80004005): The type initializer for 'O2.Kernel.PublicDI' threw an exception.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +449
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +118
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +780

Why is that and is it at all possible to deploy it on IIS? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions