YAFLogo

visendo
  • visendo
  • 54.2% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
Hi,

i just try to update some settings on an 1.9.5 rtw version and doesn't matter what i change, any ideeas ?
i got :

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidCastException: Null object cannot be converted to a value type.]
System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) +10246539
YAF.Classes.Pattern.RegistryDictionaryOverride.SetValue(String name, T value, Boolean setOverrideOnly) +225
YAF.Classes.Pattern.RegistryDictionaryOverride.SetValue(String name, T value) +66
YAF.Classes.YafBoardSettings.set_EmailVerification(Boolean value) +67

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +1255
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +38
System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture) +144
System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index) +42
YAF.Pages.Admin.hostsettings.Save_Click(Object sender, EventArgs e) +578
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981
Sponsor

JP
  • JP
  • 100% (Exalted)
  • YAF Leader
12 years ago
If you mean updating Host settings, I also had problems...


Not directly related to you problem , maybe....

I had to add in the System.Web section in web.config.

That's what some MS article told me to do...

I also had to allow the .Net 4.0 application pool to do ISAPI/CGI functions...
He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Old Chinese Proverb]
visendo
  • visendo
  • 54.2% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
Hi,

thanks for info, the app pool was 2.0, i set it to 4.0 and after setting that , is the same error.

what kind of isapi/cgi settings have you use.

thx
JP
  • JP
  • 100% (Exalted)
  • YAF Leader
12 years ago
I run IIS7, and I had to go to the IIS Server properties, click the ISAPI/CGI permissions and allow the .Net4 application pool (was disallowed on my server).

But I don't think it is related to your problems, since I got rather clear err msgs to search for...
He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Old Chinese Proverb]
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