web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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

I have the same question (0)
  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans