Error: 'There is no source code available for the current location'

Last post 09-19-2007 7:25 AM by rodiniz. 4 replies.

Sort Posts:

  • Error: 'There is no source code available for the current location'

    03-23-2007, 3:54 AM
    • Loading...
    • SHarale
    • Joined on 01-10-2007, 5:10 PM
    • Posts 4
    Hi all,
     
    I'm using iFrame on parent form (not master page) where I'm opening my other forms (child forms). I'hv used ScriptManager and UpdatePanels on both the forms i.e. on parent and on child. When I clicked on the child form (inside iFrame) an error occurred - 'There is no source code available for the current location.' and nothing went further. If I remove ScriptManager from child form it won't give any error, of course I can't use UpdatePanel and AJAX's any control on the child form.
     
    The error is not consistent i.e. if I design another parent and child forms with the same structure error may not occur and if I continue with it then after few pastbacks error will occur. I tried to debug it where I went to one function in Resource.axd:
    ------- 
    Sys.UI.Point = function Sys$UI$Point(x, y) {

        /// <param name="x" type="Number" integer="true"></param>

        /// <param name="y" type="Number" integer="true"></param>

        /// <field name="x" type="Number" integer="true"></field>

        /// <field name="y" type="Number" integer="true"></field>

        var e = Function._validateParams(arguments, [

            {name: "x", type: Number, integer: true},

            {name: "y", type: Number, integer: true}

        ]);

        if (e) throw e;

        this.x = x;

        this.y = y;

    --------------
    where  e.message = "Sys.ArgumentOutOfRangeException: Value must be an integer. Parameter name: x Actual value was NaN."
     
    If anybody had faced the same prob and has the solution please reply.
     
    Thanx.
  • Re: Error: 'There is no source code available for the current location'

    04-16-2007, 10:37 PM
    • Loading...
    • troy_a
    • Joined on 04-11-2006, 1:31 AM
    • Posts 3

    i also have the exact same problem but only with in a frame,

    but my page is inside a normal frame, when my page is opened directly without the frame it works fine.
     

    this error must be new to 1.0 cause i just upgraded and am now getting it.
     

    does anybody have a solution? its important am waiting to upgrade live system to ajax 1.0 but this the only new error that i cant find a solution to.

     

    Thanks

     

     

  • Re: Error: 'There is no source code available for the current location'

    04-23-2007, 7:00 AM
    • Loading...
    • hjf1223
    • Joined on 10-25-2005, 8:26 AM
    • Posts 20

    But when no set the frame's border to 'no' ,it works fine!

    //frameBorder = "none";
     

  • Re: Error: 'There is no source code available for the current location'

    04-26-2007, 6:33 AM
    • Loading...
    • SHarale
    • Joined on 01-10-2007, 5:10 PM
    • Posts 4
    I have tried evrything but the problem is still there therefore I'm not using iFrame now. I'm using frameset where I'm not getting this error but if  there is anything wrong in my java script functions like syntax error then only it gives the same error 'There is no source code available for the current location'. But after rectifying function it works fine. So there is no headache of the error for me.
  • Re: Error: 'There is no source code available for the current location'

    09-19-2007, 7:25 AM
    • Loading...
    • rodiniz
    • Joined on 06-18-2002, 7:44 AM
    • Posts 30

    I get the same error only in Internet Explorer and only when using an iframe. This is a bug in the Asp.net Ajax client script !!!

    You can see the bug here

     


     

    Pack of control for .net
    http://www.extendersamples.qsh.eu
Page 1 of 1 (5 items)
Microsoft Communities
Page view counter