Skip to main content

Posts

Showing posts with the label webservice

WebService Bug & Resolution

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.