DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Cache error on install

Sort:
You are not authorized to post a reply.
Page 1 of 212 > >>





New Around Here





    I get the following error after the install was re-installed due to a new module uploaded to the system which blew up DNN. I have deleted all files in dnndev.me and re-installed, have reloaded SQL, Visual studio and no change. Is there another config file somewhere that needs to be changed? Do I need to remove IIS and reinstall?

    Thanks in advance.

    [NullReferenceException: Object reference not set to an instance of an object.]
       DotNetNuke.HttpModules.OutputCaching.OutputCacheModule.OnResolveRequestCache(Object sender, EventArgs e) +679
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
       System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +171
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92


     






    Advanced Member





      Are you trying to perform a fresh install of DNN or an upgrade? Which version(s) of DNN? Is this on a server or in a local development environment? If local, are you using any tools (e.g., nvQuickSite) to assist with the installation? If this is on a server, can you explain a bit more about your procedure for the install/upgrade?

      David Poindexter


      Creator:







      New Around Here





        This was a clean working install following the DNN9 Series Video on a local Win 11 SSD C: drive using DNNDEV.ME site in folders websites\dnndev.me. Using SQL Studio 19, Visual studio 22, and suggested IIS elements from the Video, this is DNN 9.13.3. All was working well until I used the create a new module from the series. Upon loading the module the site was damaged and had to be rebuilt. I deleted the files in dnndev.me folder and reinstalled and have had this error ever since. I have been using DNN for the last 10 years with the last build 3 years ago on WinHost. I am trying to develop a new site to sell my photos from my photography business. I have a masters in computer science if that helps.






        Advanced Member





          For local installs these days I use https://www.nvquicksite.com/ which makes it quick.

          When you say "create a new module" are you talking about Module Creator? I thought that was removed in recent versions. So was DNN working until the point of creating a new module, if so was a template used or what? Can you link to the series you are talking about... Many videos are for older versions or refer to some older templates that may potentially have not been maintained much.





          New Around Here





            This was Video 10 installing a new extension in the series by Chris Hammond. I followed all steps as suggested. Got new templates for VS for DNN and installed, build went without error. Series DNN9 Series Video 1 - Installing IIS, Visual Studio 2017 and SQL Server 2016 Express (youtube.com). What is this error trying to tell me, I could not find a refference in any config file? I am now in the process of deleting IIS, the folders and starting over to see if that will clear the error condition. DNN has always been a breath holder on install, but this is a new one for me. I would be nice if the install were a bit more bullet proof. I like the manual install, but I will try your suggestion on using the link. Windows 11 won't allow the .msi file in the down load even though I say I trust it.






            Veteran Member





              I've seen this error in the past when I've messed up something about the domain name.  I missed putting it somewhere, but I don't recall which place.  🤔

              I'm guessing in DNN though... 

              The DNS and IIS were fine, but DNN was expecting a different domain name and it didn't like the one it was being given (per the configuration I had in DNN).  






              New Around Here





                OK, I hate to admit this, but I had changed the system name to shorten it without thinking. I have uninstalled IIS, emptied the recycle bin, optimized the C: drive and restarted the system. I reinstalled and setup IIS, created the folders to dnndev.me, loaded the files from DNN 9.13.3 into the folder and ran the install and all is back to normal. Thank you Will, for the hint on the domain name issue. Here is a case where the error message was misleading and if possible, could be improved. Be careful what you change when using DNN, it all makes sense now, but would have not gotten here without the help from Will. Thanks again.






                Advanced Member





                  Awesome - glad you figured it out! 🎉

                  David Poindexter


                  Creator:







                  Veteran Member





                    I agree about the error message, but when I finally tracked down the issue and cause back then, the error was "technically" correct. However, the root cause was a much more deeply rooted (and suppressed) error related to the domain name. I had to do some serious debugging and stepping through the code to track it down back then. 

                    Now, I'm just SUPER paranoid about getting things like that correct.  So much so, that I don't manually type any of that stuff.  It's all automation and copy/paste wherever possible.  😉 






                    New Around Here





                      David, I can't get your https://www.nvquicksite.com/ to download correctly in Win 11 even though I say it is safe. Any ideas here?

                      You are not authorized to post a reply.
                      Page 1 of 212 > >>

                      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:

                      1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
                      2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
                      3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
                      4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
                      5. No Flaming or Trolling.
                      6. No Profanity, Racism, or Prejudice.
                      7. Site Moderators have the final word on approving / removing a thread or post or comment.
                      8. English language posting only, please.

                      Would you like to help us?

                      Awesome! Simply post in the forums using the link below and we'll get you started.

                      Get Involved