Insufficient stack to continue executing the program safely

0

Asp.Net MVC uygulamasında Layout içinde çağrılan Html.RenderAction aşağıdaki hataya sebep oluyor:

Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.

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.InsufficientExecutionStackException: Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.

asp.net mvc Insufficient stack to continue executing the program safely hatasının çözümü nedir?

alattin alattin (17014)
7 yıl önce sordu

    Toplam 1 Cevap


    0

    Asp.Net MVC Insufficient stack to continue executing the program safely  hatasının çözümü nedir?

    Asp.net MVC'de Programı güvenli bir şekilde yürütmek için yığın yetersiz hatası alıyorsanız  Html.RenderAction ile çağırdığınız metodun döndürdüğü PartialView içinde Layout tanımlı kalmış olabilir. 

    Genelde dalgınlıkla veya başka sayfalardan kopyalama ile PartialView içinde kalan Layout tanımlaması bu soruna yol açar. Sayfadan silindiğinde Layout içine yerleştirilmiş RenderAction metodu hata vermeden çalışacaktır.

    alattin alattin (17014)
    7 yıl önce cevaplandı

      üyelik gerektirir

      Cevap yazabilmek için üye girişi yapmalısınız.

      Eğer uzmanim.net üyesiyseniz giriş yapabilirsiniz: üye girişi yap
      uzmanim.net'e üye olmak çok kolaydır: hemen kayıt ol