The following bug is encountered when running a webservice on a newly installed windows machine with new IIS [7] Bug: [NullReferenceException: Object reference not set to an instance of an object.] System.Web.Security.RoleManagerModule.OnEnter(Object source, EventArgs eventArgs) +313 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +102 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 Solution : Go to Control Panel > Turn on or off windows features > roles > ASP.NET > if not installed, click on the Add Role Features > select ASP.NET > Finish Installation and restart website / webservice.
I have 11+ years of experience in Software development. I am proud to be in the top 5 Multi-Tenancy answerers @ Stackoverflow. I have worked with C#, Java, MySQL, SQL Server, Multi-tenancy, AWS, Azure, Terraforms, Java with Spring boot and Python, groovy, bat scripts