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 365 | Integration, Dataverse...
Suggested Answer

I have no custom script, Getting Script error

(0) ShareShare
ReportReport
Posted on by

I am new to dynamics 365, and am doing a project and I keep getting this error 

One of the scripts for this record has caused an error. For more details, download the log file.

And This is the log file

UserSettings.prototype.onLoadSetValue@sulehealth1010.crm.dynamics.com/.../msdyn_userSettings.js
@sulehealth1010.crm.dynamics.com/.../ClientApiWrapper.aspx line 160 > eval:1:45
RunHandlerInternal@sulehealth1010.crm.dynamics.com/.../ClientApiWrapper.aspx
RunHandlers@sulehealth1010.crm.dynamics.com/.../ClientApiWrapper.aspx
OnScriptTagLoaded@sulehealth1010.crm.dynamics.com/.../ClientApiWrapper.aspx
AppendScriptTag/scriptTag.onload/<@https://sulehealth1010.crm.dynamics.com/form/ClientApiWrapper.aspx?ver=1727124286:244:18

I don't know what the error is so can anyone help pls?

I have the same question (0)
  • Suggested answer
    AJ-22040756-0 Profile Picture
    on at

    HI Partner

    IT seems that there's an onload script on the form which might be causing this error, check if any OOB/custom onload script is present for the form

    You can check for onload script by navigating to settings -> customization -> customize the system -> Expand the entity -> select the form and click on form properties.

  • Community Member Profile Picture
    on at

    Hi there, I did as you have said and i have removed the msdyn_usersettings.js. And the error is gone. thank you so much. but one more thing since am only a student I don't know if removing it will cause any problems?

  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at

    Hi Sule,

    I do not recommend removing the msdyn_usersettings.js JavaScript file. It is better to debug the JavaScript to find the actual cause of the issue.

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 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 41

#2
Martin Dráb Profile Picture

Martin Dráb 36 Most Valuable Professional

#3
Satyam Prakash Profile Picture

Satyam Prakash 35

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans