YAFLogo

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

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: 3.0.3
12 years ago
Quote:

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
12 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.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button