[CLOSED] MVC - Many Partial View Issue (Stack Empty and Value does not fall within the expected range.)

  1. #1

    [CLOSED] MVC - Many Partial View Issue (Stack Empty and Value does not fall within the expected range.)

    I did the Load Test using VS 2010

    Load Test Condition is Constant User Count : 250, Duration : 5min.
    Test Result : Success 2000, Failed : 11

    Failed Error : Internal Server Error - 500 (Error Kind are' Stack Empty' and 'Value does not fall within the expected range.')

    My Sample code is like this.

    Index.cshtml
    @{
    
        @(Html.X().ResourceManager())
        var X = Html.X();
    }
    
    @(X.Toolbar().ID("invTopActionButtonToolbar").MarginSpec("4 0 10 0").ItemsFromPartial("_ItemActionButton") )
    @( X.Toolbar().MarginSpec("4 0 10 0").ItemsFromPartial("_ItemActionButton") )
    @( X.Toolbar().MarginSpec("4 0 10 0").ItemsFromPartial("_ItemActionButton") )
    @(X.Toolbar().MarginSpec("4 0 10 0").ItemsFromPartial("_ItemActionButton"))
    @(X.Toolbar().MarginSpec("4 0 10 0").ItemsFromPartial("_ItemActionButton"))
    @(X.Toolbar().MarginSpec("4 0 10 0").ItemsFromPartial("_ItemActionButton"))
    @(X.Toolbar().MarginSpec("4 0 10 0").ItemsFromPartial("_ItemActionButton"))

    _ItemActionButton.cshtml
    @{
        var X = Html.X();
    
                @(X.SplitButton().Text("SAVE").Menu(X.Menu().Items(
                    X.MenuItem().Text("SAVE & VIEW").ItemID("saveAndViewButton"),
                    X.MenuItem().Text("SAVE & NEW").ItemID("saveAndNewButton"),
                    X.MenuItem().Text("SAVE & COPY").ItemID("saveAndCopyButton")
                )).ItemID("saveButton"))
            @(X.Button().Text("CANCEL").ItemID("cancelButton"))        
            @(X.Button().Text("RESET").ItemID("resetButton"))
            @(X.Button().Text("EDIT").ItemID("editButton"))
            @(X.Button().Text("DELETE").ItemID("deleteButton")) 
    }
    Controller.cs
        public class PartialController : Controller
        {
            public ActionResult Index()
            {
                return View();
            }
        }

    If do not use the Ext.Net Component then Load Test works well. also If I do not use the Partial View work well.
    So, I don't know. What's the problem when ext.net compoent working with Partial View?

    Can Help me ?

    Thank you.
    Attached Thumbnails Click image for larger version. 

Name:	Value does not fall within the expected range.png 
Views:	32 
Size:	88.9 KB 
ID:	8601   Click image for larger version. 

Name:	Stack Empty.png 
Views:	32 
Size:	82.8 KB 
ID:	8611  
    Last edited by Daniil; Mar 25, 2014 at 4:59 PM. Reason: [CLOSED]
  2. #2
    Hi @duskfall,

    We are investigating.
  3. #3
    We have reproduced the problem and are investigating a fix.
    Geoffrey McGill
    Founder
  4. #4
    Please update from SVN and retest
    The errors should not be raised again

Similar Threads

  1. Replies: 2
    Last Post: Jan 28, 2014, 9:34 AM
  2. [CLOSED] Partial view load issue on first click of submit button
    By PriceRightHTML5team in forum 2.x Legacy Premium Help
    Replies: 7
    Last Post: Sep 04, 2013, 6:07 AM
  3. [CLOSED] Combo box Empty Text issue In ASP.net MVC
    By PriceRightHTML5team in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 27, 2013, 6:46 AM
  4. Empty form issue
    By errno in forum 2.x Help
    Replies: 1
    Last Post: May 17, 2013, 7:27 AM
  5. Replies: 2
    Last Post: Nov 01, 2011, 2:10 PM

Posting Permissions