YAFLogo

Xeevis
  • Xeevis
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
13 years ago
I just spent good hour investigating why YAF_DNN5_1.95.0-4140 keeps throwing error and failing installation

Failure Exception - Object reference not set to an instance of an object.

Failure Installation Failed - Config

Then I found that in web.config there isn't child under , so I added it manually and then installation went flawlessly. I wonder whats causing this as I take it installs for everyone else? Anyway I just wanted to leave hint for anyone encountering same problem.

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
13 years ago

Then I found that in web.config there isn't child under , so I added it manually and then installation went flawlessly. I wonder whats causing this as I take it installs for everyone else?

In the default web.config there is a child

<controls>
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      </controls>

I thinks that why no one else gets that error

Xeevis
  • Xeevis
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
13 years ago
Ah I see, then it must be related to upgrading to .NET 4.0 I did use Microsoft way using Visual Studio to upgrade to fully compatible web.config. Guess these controls are implicit now thus he deleted entire tag.