Proticaret Object reference not set to an instance of an object

MaestroPanel’in Proticaret modülü ile kurulum yaptığımda herşey başarlı bir şekilde gerçekleşmesine rağmen siteye girdiğimde Proticaret aşağıdaki hatayı veriyor.

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: 
[No relevant source lines]
  
 Source File:  App_global.asax.-rv12bwj.0.vb    Line:  37 

Stack Trace: 

[NullReferenceException: Object reference not set to an instance of an object.]
   ASPNetPortal.Global1..cctor() +99

[TypeInitializationException: The type initializer for 'ASPNetPortal.Global1' threw an exception.]
   ASPNetPortal.Global1..ctor() +0
   ASP.global_asax..ctor() in App_global.asax.-rv12bwj.0.vb:37

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +113
   System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +232
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +83
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +1138
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +124
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +18
   System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +60
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +260
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296

[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9882460
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254

Çözüm

Çözüm için MaestroPanel üzerinden domain’e Full Trust vermeniz yeterlidir.

Bu makale yardımcı oldu mu?

İlişkili Makaleler

Bir Yorum Yazın