Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IIS Deployment, exception when loading homepage #4

Open
circlespainter opened this issue May 7, 2017 · 0 comments
Open

IIS Deployment, exception when loading homepage #4

circlespainter opened this issue May 7, 2017 · 0 comments

Comments

@circlespainter
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant