I just installed the DNN, i could able to build solution successfully, while running , iam facing "Object Reference error " in class OutputCacheModule.cs in the method OnResolveRequestCache Line 87
var portalSettings = (PortalSettings) (HttpContext.Current.Items["PortalSettings"]); int tabId = portalSettings.ActiveTab.TabID;
Not sure anything missing while installing , tables got created in the selected database. HttpContext.Current.Items["PortalSettings"] didnt has any data. So that is the reason it is throwing out error.
Please suggest what to do in this scenario
To Joe's point... You rarely should locally install and run the source of DNN. I've been building DNN solutions and extensions since the beginning, and I only run the source of it when I'm actually preparing to submit a pull request to it. The rest of the time, the source is simply in another folder, just in case I want to dig into the source code to research something.
Instead, you should be building your own DNN extensions against and tested against an "install" version of DNN. You can get a guided tour of the DNN environment and the development environment from DNNDocs.com.
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.