This project has moved and is read-only. For the latest updates, please go here.

community ver. Error after install


I installed the community version and modified the web.config to allow for the sub directory install...

Once I get to the site, it throws the following error... (I've attached all relevant screenshots)

Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.

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.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
SenseNet.Portal.Virtualization.PortalContext.GetCurrentAuthenticationMode() in c:\Builds\10\SenseNet\communitywebpi\Sources\Source\SenseNet\Portal\Virtualization\PortalContext.cs:654
SenseNet.Portal.Virtualization.PortalContext.Initialize(HttpContext context, PortalContextInitInfo initInfo) in c:\Builds\10\SenseNet\communitywebpi\Sources\Source\SenseNet\Portal\Virtualization\PortalContext.cs:1485
SenseNet.Portal.Virtualization.PortalContext.Create(HttpContext context, PortalContextInitInfo initInfo) in c:\Builds\10\SenseNet\communitywebpi\Sources\Source\SenseNet\Portal\Virtualization\PortalContext.cs:405
SenseNet.Portal.Virtualization.PortalContextModule.OnEnter(Object sender, EventArgs e) in c:\Builds\10\SenseNet\communitywebpi\Sources\Source\SenseNet\Portal\Virtualization\PortalContextModule.cs:136
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +79

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +164

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929

file attachments


tusmester wrote Sep 30, 2013 at 4:17 PM

Hi, unfortunately Sense/Net does not work in a subdirectory, it needs to be in the root of an IIS site. It is not just the web.config, it is about the whole virtualization mechanism we created.