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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Window is Undefined

(0) ShareShare
ReportReport
Posted on by 155

After updated to crm 2013 online - I get this error Line: 7, Char: 357644, Code 0, Error Window is undefined, the url for my companies crm.

I get this each time to close CRM account and go back to outlook contact. How do I fix this?

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi K Porter,

    there are some customizations in the system (e.g. plugin)?

    If yes, check this.

    Bye

  • K Porter Profile Picture
    155 on at

    No customizations but I do have the outlook plug

  • Community Member Profile Picture
    on at

    Try to reinstall the outlook plug

    www.microsoft.com/.../details.aspx

    Let me know.

    Bye

  • Community Member Profile Picture
    on at

    Hello,

    Can you elaborate the exact steps of the issue and what is the action that you are performing due to which you are getting this error.

    Is the issue intermittent?

    Are you seeing this error in the CRM web or Outlook client?

    Also paste the entire error message that you are getting in the UI?

    Is this issue happening for all user or just one?

    if its only with one user then do we see the same behavior on a different machine?

    Thanks

  • K Porter Profile Picture
    155 on at

    Tried uninstalling plug & reinstalling outlook- didn't fix it.

    I work from outlook going to crm, then back to outlook.  Issue is there everytime. I use crm online- I am the only user. Don't have another computer to try it on.

    I am getting the pop up "Microsoft dynamics crm has encountered an error: Microsoft Dynamics CRM Error Report Contents

    <CrmScriptErrorReport>

     <ReportVersion>1.0</ReportVersion>

     <ScriptErrorDetails>

      <Message>Object expected</Message>

      <Line>1143</Line>

      <URL>/_common/JsProvider.ashx?IsRefreshForm=true&ids=1545465446-1759665639-1968334880-202661451-1376927455-1030632819-1181113682-1547461133-1992083491-1000289424-159335543-1194605645-1039841082-1314140682-1793205875-131822024-232397045-468302605-1405388298-1731109441-2029667886-399776211-330369912-202888856-204060739-513446117-1625018438-1460109179-1088147315-706656670-1025323794-584850082-342519603-542820515-1946640899-1603536461-1220618931-511599809-1264077421-1188909594-783705869-374257838-1440202827-1391165063-2050812538-512064351&ver=-1241873365</URL>

      <PageURL>/_forms/read/page.aspx?etc=1&id=%7bE8010427-3EFB-E011-8EC2-1CC1DE7955DB%7d&pagemode=iframe&theme=Outlook15White</PageURL>

      <Function>anonymous(result,command){if(result.get_success()&&!isNullOrEmptyString(result.get_returnValue())){var$v_0=XUI.Xml.LoadXml(result.get_returnValue());this.SetProperty("pagingCookie",XUI.Xml.GetText(XUI.Xml.SelectSingleNode($v_0,"gridXml/pagingCookie",null)</Function>

      <CallStack>

       <Function>anonymous(result,command){if(result.get_success()&&!isNullOrEmptyString(result.get_returnValue())){var$v_0=XUI.Xml.LoadXml(result.get_returnValue());this.SetProperty("pagingCookie",XUI.Xml.GetText(XUI.Xml.SelectSingleNode($v_0,"gridXml/pagingCookie",null)));this.setGridData(XUI.Xml.GetText(XUI.Xml.SelectSingleNode($v_0,"gridXml/gridHtml",null)),true);var$v_1=newArray(3);$v_1[0]="effectiveFetchXml";$v_1[1]="isFetchXmlNotFinal";$v_1[2]="fetchXmlForFilters";$v_1[3]="viewts";for(var$v_2=this.GetParameter("viewts"),$v_4=0;$v_4<$v_1.length;$v_4++){var$v_5=XUI.Xml.SelectSingleNode($v_0,String.format("gridXml/gridParams/div[@id='{0}']",$v_1[$v_4]),null);$v_5&&this.SetParameter(XUI.Xml.GetText($v_5.attributes.getNamedItem("id")),XUI.Xml.GetText($v_5))}var$v_3=this.GetParameter("viewts");this.cacheValidation($v_2,$v_3)}elsethis.displayFailedMessage();this.fireEvents(command);this.$2N_3(null);this.$2k_3=newDate;this.$1J_3=false;Mscrm.Utilities.addControlMarker(this.get_id(),"Subgrid","FinishLoadTimestamp",(newDate).getTime().toString())}</Function>

      </CallStack>

     </ScriptErrorDetails>

     <ClientInformation>

      <BrowserUserAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/7.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Tablet PC 2.0; InfoPath.3; Microsoft Outlook 15.0.4535)</BrowserUserAgent>

      <BrowserLanguage>en-US</BrowserLanguage>

      <SystemLanguage>en-US</SystemLanguage>

      <UserLanguage>en-US</UserLanguage>

      <ScreenResolution>1536x864</ScreenResolution>

      <ClientName>Outlook Laptop - Online</ClientName>

      <ClientTime>2013-11-15T09:06:23</ClientTime>

     </ClientInformation>

     <ServerInformation>

       <OrgLanguage>1033</OrgLanguage>

       <OrgCulture>1033</OrgCulture>

       <UserLanguage>1033</UserLanguage>

       <UserCulture>1033</UserCulture>

       <OrgID>{857651B5-5D2E-49E2-88B5-8C3C648179DE}</OrgID>

       <UserID>{9BAF319A-1837-442D-82A7-98F2498DDEBD}</UserID>

       <CRMVersion>6.0.0.1018</CRMVersion>

     </ServerInformation>

     <ServerInformation>

       <OrgLanguage>1033</OrgLanguage>

       <OrgCulture>1033</OrgCulture>

       <UserLanguage>1033</UserLanguage>

       <UserCulture>1033</UserCulture>

       <OrgID>{857651B5-5D2E-49E2-88B5-8C3C648179DE}</OrgID>

       <UserID>{9BAF319A-1837-442D-82A7-98F2498DDEBD}</UserID>

       <CRMVersion>6.0.0.1018</CRMVersion>

     </ServerInformation>

    </CrmScriptErrorReport>

    <CrmScriptErrorReport>

     <ReportVersion>1.0</ReportVersion>

     <ScriptErrorDetails>

      <Message>Object expected</Message>

      <Line>1143</Line>

      <URL>/_common/JsProvider.ashx?IsRefreshForm=true&ids=1545465446-1759665639-1968334880-202661451-1376927455-1030632819-1181113682-1547461133-1992083491-1000289424-159335543-1194605645-1039841082-1314140682-1793205875-131822024-232397045-468302605-1405388298-1731109441-2029667886-399776211-330369912-202888856-204060739-513446117-1625018438-1460109179-1088147315-706656670-1025323794-584850082-342519603-542820515-1946640899-1603536461-1220618931-511599809-1264077421-1188909594-783705869-374257838-1440202827-1391165063-2050812538-512064351&ver=-1241873365</URL>

      <PageURL>/_forms/read/page.aspx?etc=1&id=%7bE8010427-3EFB-E011-8EC2-1CC1DE7955DB%7d&pagemode=iframe&theme=Outlook15White</PageURL>

      <Function>anonymous(result,command){if(result.get_success()&&!isNullOrEmptyString(result.get_returnValue())){var$v_0=XUI.Xml.LoadXml(result.get_returnValue());this.SetProperty("pagingCookie",XUI.Xml.GetText(XUI.Xml.SelectSingleNode($v_0,"gridXml/pagingCookie",null)</Function>

      <CallStack>

       <Function>anonymous(result,command){if(result.get_success()&&!isNullOrEmptyString(result.get_returnValue())){var$v_0=XUI.Xml.LoadXml(result.get_returnValue());this.SetProperty("pagingCookie",XUI.Xml.GetText(XUI.Xml.SelectSingleNode($v_0,"gridXml/pagingCookie",null)));this.setGridData(XUI.Xml.GetText(XUI.Xml.SelectSingleNode($v_0,"gridXml/gridHtml",null)),true);var$v_1=newArray(3);$v_1[0]="effectiveFetchXml";$v_1[1]="isFetchXmlNotFinal";$v_1[2]="fetchXmlForFilters";$v_1[3]="viewts";for(var$v_2=this.GetParameter("viewts"),$v_4=0;$v_4<$v_1.length;$v_4++){var$v_5=XUI.Xml.SelectSingleNode($v_0,String.format("gridXml/gridParams/div[@id='{0}']",$v_1[$v_4]),null);$v_5&&this.SetParameter(XUI.Xml.GetText($v_5.attributes.getNamedItem("id")),XUI.Xml.GetText($v_5))}var$v_3=this.GetParameter("viewts");this.cacheValidation($v_2,$v_3)}elsethis.displayFailedMessage();this.fireEvents(command);this.$2N_3(null);this.$2k_3=newDate;this.$1J_3=false;Mscrm.Utilities.addControlMarker(this.get_id(),"Subgrid","FinishLoadTimestamp",(newDate).getTime().toString())}</Function>

      </CallStack>

     </ScriptErrorDetails>

     <ClientInformation>

      <BrowserUserAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/7.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Tablet PC 2.0; InfoPath.3; Microsoft Outlook 15.0.4535)</BrowserUserAgent>

      <BrowserLanguage>en-US</BrowserLanguage>

      <SystemLanguage>en-US</SystemLanguage>

      <UserLanguage>en-US</UserLanguage>

      <ScreenResolution>1536x864</ScreenResolution>

      <ClientName>Outlook Laptop - Online</ClientName>

      <ClientTime>2013-11-15T09:06:24</ClientTime>

     </ClientInformation>

     <ServerInformation>

       <OrgLanguage>1033</OrgLanguage>

       <OrgCulture>1033</OrgCulture>

       <UserLanguage>1033</UserLanguage>

       <UserCulture>1033</UserCulture>

       <OrgID>{857651B5-5D2E-49E2-88B5-8C3C648179DE}</OrgID>

       <UserID>{9BAF319A-1837-442D-82A7-98F2498DDEBD}</UserID>

       <CRMVersion>6.0.0.1018</CRMVersion>

     </ServerInformation>

     <ServerInformation>

       <OrgLanguage>1033</OrgLanguage>

       <OrgCulture>1033</OrgCulture>

       <UserLanguage>1033</UserLanguage>

       <UserCulture>1033</UserCulture>

       <OrgID>{857651B5-5D2E-49E2-88B5-8C3C648179DE}</OrgID>

       <UserID>{9BAF319A-1837-442D-82A7-98F2498DDEBD}</UserID>

       <CRMVersion>6.0.0.1018</CRMVersion>

     </ServerInformation>

    </CrmScriptErrorReport>

    <CrmScriptErrorReport>

     <ReportVersion>1.0</ReportVersion>

     <ScriptErrorDetails>

      <Message>Object expected</Message>

      <Line>1143</Line>

      <URL>/_common/JsProvider.ashx?IsRefreshForm=true&ids=1545465446-1759665639-1968334880-202661451-1376927455-1030632819-1181113682-1547461133-1992083491-1000289424-159335543-1194605645-1039841082-1314140682-1793205875-131822024-232397045-468302605-1405388298-1731109441-2029667886-399776211-330369912-202888856-204060739-513446117-1625018438-1460109179-1088147315-706656670-1025323794-584850082-342519603-542820515-1946640899-1603536461-1220618931-511599809-1264077421-1188909594-783705869-374257838-1440202827-1391165063-2050812538-512064351&ver=-1241873365</URL>

      <PageURL>/_forms/read/page.aspx?etc=1&id=%7bE8010427-3EFB-E011-8EC2-1CC1DE7955DB%7d&pagemode=iframe&theme=Outlook15White</PageURL>

      <Function>anonymous(result,command){if(result.get_success()&&!isNullOrEmptyString(result.get_returnValue())){var$v_0=XUI.Xml.LoadXml(result.get_returnValue());this.SetProperty("pagingCookie",XUI.Xml.GetText(XUI.Xml.SelectSingleNode($v_0,"gridXml/pagingCookie",null)</Function>

      <CallStack>

       <Function>anonymous(result,command){if(result.get_success()&&!isNullOrEmptyString(result.get_returnValue())){var$v_0=XUI.Xml.LoadXml(result.get_returnValue());this.SetProperty("pagingCookie",XUI.Xml.GetText(XUI.Xml.SelectSingleNode($v_0,"gridXml/pagingCookie",null)));this.setGridData(XUI.Xml.GetText(XUI.Xml.SelectSingleNode($v_0,"gridXml/gridHtml",null)),true);var$v_1=newArray(3);$v_1[0]="effectiveFetchXml";$v_1[1]="isFetchXmlNotFinal";$v_1[2]="fetchXmlForFilters";$v_1[3]="viewts";for(var$v_2=this.GetParameter("viewts"),$v_4=0;$v_4<$v_1.length;$v_4++){var$v_5=XUI.Xml.SelectSingleNode($v_0,String.format("gridXml/gridParams/div[@id='{0}']",$v_1[$v_4]),null);$v_5&&this.SetParameter(XUI.Xml.GetText($v_5.attributes.getNamedItem("id")),XUI.Xml.GetText($v_5))}var$v_3=this.GetParameter("viewts");this.cacheValidation($v_2,$v_3)}elsethis.displayFailedMessage();this.fireEvents(command);this.$2N_3(null);this.$2k_3=newDate;this.$1J_3=false;Mscrm.Utilities.addControlMarker(this.get_id(),"Subgrid","FinishLoadTimestamp",(newDate).getTime().toString())}</Function>

      </CallStack>

     </ScriptErrorDetails>

     <ClientInformation>

      <BrowserUserAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/7.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Tablet PC 2.0; InfoPath.3; Microsoft Outlook 15.0.4535)</BrowserUserAgent>

      <BrowserLanguage>en-US</BrowserLanguage>

      <SystemLanguage>en-US</SystemLanguage>

      <UserLanguage>en-US</UserLanguage>

      <ScreenResolution>1536x864</ScreenResolution>

      <ClientName>Outlook Laptop - Online</ClientName>

      <ClientTime>2013-11-15T09:06:24</ClientTime>

     </ClientInformation>

     <ServerInformation>

       <OrgLanguage>1033</OrgLanguage>

       <OrgCulture>1033</OrgCulture>

       <UserLanguage>1033</UserLanguage>

       <UserCulture>1033</UserCulture>

       <OrgID>{857651B5-5D2E-49E2-88B5-8C3C648179DE}</OrgID>

       <UserID>{9BAF319A-1837-442D-82A7-98F2498DDEBD}</UserID>

       <CRMVersion>6.0.0.1018</CRMVersion>

     </ServerInformation>

     <ServerInformation>

       <OrgLanguage>1033</OrgLanguage>

       <OrgCulture>1033</OrgCulture>

       <UserLanguage>1033</UserLanguage>

       <UserCulture>1033</UserCulture>

       <OrgID>{857651B5-5D2E-49E2-88B5-8C3C648179DE}</OrgID>

       <UserID>{9BAF319A-1837-442D-82A7-98F2498DDEBD}</UserID>

       <CRMVersion>6.0.0.1018</CRMVersion>

     </ServerInformation>

    </CrmScriptErrorReport>

    Then when I click send notice to Microsoft, I then get the pop up for the undefined window.

  • K Porter Profile Picture
    155 on at

    Additional info: the script error changed after reinstalling outlook plug. Now it is:

    line:0, Char 0, Error Script error, Code 0. then the url for my crm company setup.  Then ask if I want to continue running the scripts on this page

  • Community Member Profile Picture
    on at

    Hello,

    If the issue is reproducible on demand then collecting the client side trace will give more information about this issue, look for exceptions and errors from the client trace related to this issue.

    Steps to collect client trace file :

    Go to Start> All Programs> Microsoft Dynamics CRM 2013> Diagnostics> Advance tab> Enable tracing

    Path to find the trace file : c:/users/userprofile/appdata/local/Microsoft/MSCRM/Traces

    Also check if we are able to see any errors in the event viewer while the issue is reproduced.

    Thanks.

  • Waldis Profile Picture
    35 on at

    I'm getting this same error after I updated to crm 2013 for Outlook. I get an error report to send to MS twice, then the script error. When I access any record after that the login window comes up; apparently the error kicks my log-in through Outlook out.

    I was going through the UI changes so I can teach our vision-impaired worker, but looks like it's going to be a major obstacle - he can't "see" all the error windows popping up on his screen.

    I tried to uninstall and reinstall the plugin with no difference.

  • K Porter Profile Picture
    155 on at

    I was able to enable tracing but I can't find the trace file.

    I put the error log on my 11/15 posting. Is this what you mean.

  • K Porter Profile Picture
    155 on at

    Are you still having issues- did you find anything else out?  I have had these errors since November 1- I need to fix this asap- effecting productivity and general use of CRM- not with it.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
AS-17030037-0 Profile Picture

AS-17030037-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans