Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Javascript file 404 Not Found

(0) ShareShare
ReportReport
Posted on by 120

Hello,

I am new on CRM 2011. I got problem when I open contract form and try to make renewal for that contract I got error. I find out that it calls my javascript file from wrong url (get error for file 404 Not Found) and it calls in my opinion from strange location "http://localhost/userdefined/my_Common.js?ver=908560018" other javascript comes from http://localhost/%7B635327474260003417%7D/WebResources/msdyn_/InstalledLocales.js?ver=908560018 and etc. if I replace manualy userdefined to %7B635327474260003417%7D/WebResources/ I can load my JS file. My question: how to find where is it defined that file location or how to fix that issue?

Thanks

*This post is locked for comments

  • Suggested answer
    ScottDurow Profile Picture
    ScottDurow 19 on at
    RE: Javascript file 404 Not Found

    Hi,

    How are you loading your web resource? If you add it to the form web resources or the ribbon web resources it should load fine - are you loading the js from a custom html webresource - if so you'll need to make sure you use a relative path - see my post on this subject - www.develop1.net/.../CRM-Developer-e28098Must-Knowe28099-2-Web-Resource-Caching.aspx

    Hope this helps,

    Scott

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,187 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,966 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans