jquery.min.map 404 errors showing in chrome console

14 posts, 0 answers
  1. Peter
    Peter avatar
    71 posts
    Member since:
    Mar 2012

    Posted 24 Aug 2013 Link to this post

    I have noticed some Jquery.min.map 404 errors in the chrome console.   When I try to go to one of the lines that has the problem, it refers to a ScriptReserouce that contains a "Telerik.Web"UI" reference.

    Is there something that should be turned on or off to prevent these errors.  I am using Q1 2013.
  2. moegal
    moegal avatar
    273 posts
    Member since:
    Jul 2007

    Posted 25 Aug 2013 Link to this post

    i am seeing some of these now, never noticed them before
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Vikram
    Vikram avatar
    1 posts
    Member since:
    Dec 2012

    Posted 26 Aug 2013 Link to this post

    This is a pretty recent issue.
    You might want to check out the solution provided here:
    http://stackoverflow.com/questions/18365315/jquerys-jquery-1-10-2-min-map-is-triggering-a-404-not-found
  5. Dr.YSG
    Dr.YSG avatar
    210 posts
    Member since:
    Dec 2009

    Posted 28 Aug 2013 Link to this post

    I am also seeing this errors, but the stack overflow article talks about jquery 10.1, and I have been using the kendo supplied 1.9.1.

    Will I get into issues, by increasing the jquery version?
  6. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 30 Aug 2013 Link to this post

    Hi guys,

    The problem is related with the Chrome devtools, which have an option named "Enable source maps". When turned to on it will search for map files for the common JS libraries. You can take a look at the intro video for more information at the topic. In general, you can either disable the source maps or place source map files in your projects.

    Regards,
    Genady Sergeev
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  7. Dr.YSG
    Dr.YSG avatar
    210 posts
    Member since:
    Dec 2009

    Posted 30 Aug 2013 Link to this post

    I see the source maps for 10.1.2, http://jquery.com/download/


    Kendo is shipping with 1.9  is it safe to upgrade JQUERY and use the newer source maps?

  8. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 03 Sep 2013 Link to this post

    Hi,

    In general it is best to use the jQuery version that comes with the current version of the controls because it is the one that is tested and stable.

    Regards,
    Genady Sergeev
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  9. Agsar
    Agsar avatar
    1 posts
    Member since:
    Oct 2013

    Posted 01 Oct 2013 Link to this post

    Hi,

    I am getting the jery.min.map 404 error on root folder which I found in chrome dev tools and which is pointing to Telerik Script Resource.

    I am using telerik version of v2013. Please help me in giving the solution for this issue.

  10. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 03 Oct 2013 Link to this post

    Hi Asar,

    Please disable the "Enable source maps" feature from the chrome dev toolbar. More information on how to do that can be found in the following StackOverflow thread -> http://stackoverflow.com/questions/18365315/jquerys-jquery-1-10-2-min-map-is-triggering-a-404-not-found


    Regards,
    Genady Sergeev
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  11. Chris
    Chris avatar
    58 posts
    Member since:
    Feb 2012

    Posted 31 Oct 2013 Link to this post

    I recently started to get those message as well. I get them on both Chrome and Firefox dev toolbar :

    SyntaxError: Using //@ to indicate source map URL pragmas is deprecated. Use //# instead @ http://localhost:49573/Telerik.Web.UI.WebResource.axd

    I set up my web site to shoot me an email as well each time it throws an error and here's what I get :

    An Error Has Occurred!

    URL: /jquery.min.map
    User: melmmt
    Exception Type: System.Web.HttpException
    Message: File does not exist.
    Stack Trace: at System.Web.StaticFileHandler.GetFileInfo(String virtualPathWithPathInfo, String physicalPath, HttpResponse response)
    at System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context)
    at System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


    Is this REALLY related to the dev toolbar ? If so, how come IIS sends me this ?
    Also, it might not be related but this is something I have noticed at the same time this error appeared, my login ASP Panel with a default button doesn't do anything when I press the Enter key. It's pretty straight forward though :

    <asp:Panel ID="panel" runat="server" DefaultButton="rbtSubmit">
        <telerik:RadTextBox ID="rtbUsername" runat="server" TextMode="SingleLine" Label="Username:" EnableSingleInputRendering="true" CssClass="riTextBox" MaxLength="32"></telerik:RadTextBox>
        <telerik:RadTextBox ID="rtbPassword" runat="server" TextMode="Password" Label="Password:" EnableSingleInputRendering="true" CssClass="riTextBox" MaxLength="12"></telerik:RadTextBox>
        <telerik:RadButton ID="rbtSubmit" runat="server" Text="Login" Icon-PrimaryIconCssClass="rbOk" Width="100" OnClick="rbtSubmit_Click" CausesValidation="true"></telerik:RadButton>
    </asp:Panel>

    I did this with Q2 2013 and still does with Q3.

    Cheers,

    Chris
  12. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 05 Nov 2013 Link to this post

    Hello,

    The error that you receive from IIS is notifying you that IIS cannot fine a file named jquery.min.map to ship to the client. It is not a real error with IIS but a simple notification of missing resource. Indeed, the reason for this is that Google Chrome requests the map file automatically and it requires explicit turn off in order to stop.

    Regards,
    Genady Sergeev
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  13. Adam Nelson
    Adam Nelson avatar
    48 posts
    Member since:
    Mar 2008

    Posted 06 Dec 2013 Link to this post

    So basically Telerik is ok with shipping an embedded script that will cause 404 requests on every page that uses one of your controls. And your advice is to pass on instructions on how to disable a option that is enabled by default in both Chrome and Firefox to all of our customers? 

    Seems like a better approach would be for you guys to remove the sourceMapping comment in the embedded script. Just sayin.
  14. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 10 Dec 2013 Link to this post

    Hello Adam,

    Thank you for the good suggestion, I've updated your Telerik points as a token of gratitude.

    It is likely that for our next service pack we will have the sourcemap redirected to a valid source map URL and provide an option to disable it altogether.

    Regards,
    Genady Sergeev
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  15. Adam Nelson
    Adam Nelson avatar
    48 posts
    Member since:
    Mar 2008

    Posted 13 Dec 2013 Link to this post

    This is great news. Thank you!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017