Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 28: 
Line 29:         CultureInfo ci = this.ResolveCulture();
Line 30:         _strUserLocale = ci.TwoLetterISOLanguageName;
Line 31: 	}
Line 32: 

Source File: d:\inetpub\webs\codygarageorg\App_Code\Extensions\TranslatePost.cs    Line: 30

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   TranslatePost..ctor() in d:\inetpub\webs\codygarageorg\App_Code\Extensions\TranslatePost.cs:30

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +86
   System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +230
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +67
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1051
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +111
   System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +61
   System.Reflection.Assembly.CreateInstance(String typeName) +16
   ASP.global_asax.Application_Start(Object sender, EventArgs e) in d:\inetpub\webs\codygarageorg\Global.asax:42


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175