[CLOSED] The Ext.NET initialization script was not found

  1. #1

    [CLOSED] The Ext.NET initialization script was not found

    Frequently, when my application is running from the development environment (I'm using Visual Studio 2010 and the integrated web server), I take the error "The Ext.NET initialization script was not found." (see the attached image).
    I tried searching the forum but I have not found useful information about it.

    This is the extnet section of web.config:

         <extnet idMode="Explicit"
                  initScriptMode="Linked"
                  scriptMode="Debug"
                  theme="Default"
                  locale="it-IT" />
    and this is the declaration of ResourceManager in all my pages:

        <ext:ResourceManager ID="MainScriptManager" runat="server" DisableViewState="true"/>
    Could you give me some suggestions to solve the problem?

    Thanks,
    Stefano
    Last edited by Daniil; May 19, 2011 at 2:10 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Well, Ext.Net removes init script from the memory after first requesting, init script caches by browser
    But it seems that in some cases the browser requests the init script again

    At this moment I can suggest to use Inline mode instead Linked
  3. #3
    Hi,

    can you tell me if the problem happens only on a development environment or can happen also on a deployed IIS site?

    Bye,
    Stefano
  4. #4
    Hi,

    I don't think that the problem is related with server
    Is it Linked mode critical for your application?
    Just curious, why do you use Linked mode instead Inline?
  5. #5
    Hi,

    maybe because I do not know well the difference .....
    Could you explain me ? What is the recommended method?

    Bye,
    Stefano
  6. #6
    Hi,

    "Inline" renders 'init' script as:
    <script type="text/javascript">
        //<![CDATA[
        Ext.net.ResourceMgr.init({
            id : "ctl03",
            BLANK_IMAGE_URL : "/extjs/resources/images/default/s-gif/ext.axd",
            aspForm : "ctl01",
            theme : "blue"
        }); 
        Ext.onReady(function () { 
            Ext.QuickTips.init(); 
        });
        //]]>
    </script>
    "Linked" renders 'init' script as:
    <script type="text/javascript" src="/extnet/extnet-init-js/ext.axd?054806a1b8b64bdc87cf3a13659086f4"></script>
    You can see this difference in Page Source.

    We recommend to use default Inline if Linked is not really required. To be honest, I can't see any situations where it's required.
  7. #7
    Ok,

    thanks.

    Bye
    Stefano

Similar Threads

  1. Resource Handler / Ext.NET initialization
    By Justin_Wignall in forum 1.x Help
    Replies: 0
    Last Post: Jul 27, 2012, 8:30 AM
  2. [CLOSED] Combo initialization with no selection on window show.
    By FAS in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 22, 2012, 4:53 PM
  3. [CLOSED] Ext.NET initialization script was not found
    By Justin_Wignall in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Mar 23, 2011, 10:10 AM
  4. [CLOSED] [1.0] DisplayField Value initialization
    By smmille1 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 15, 2010, 11:31 PM
  5. [CLOSED] combo boxes initialization
    By alexp in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 04, 2010, 11:11 AM

Tags for this Thread

Posting Permissions