Solved

Unable to edit Email Entity

Posted on 2008-06-19
5
498 Views
Last Modified: 2013-11-24
Hi
we have MSCRM 4 running on Windows 2003 and SQL Server 2005, whenever we try to costomise certain enetities we have a problem. The Email entity is an example of this. The problem always occurs on the same entities and occurs everytime for every user on every machine. However we have successfully customised other entities.

The problem is you go into the Email entity to customise it and choose forms and views and then choose the Main Form to customise (note other email forms are ok) when you double click on the form to open it the screen appears as normal but in the bottom left hand corner it says Error on Page.  You can now not make any changes to the form (clicking add a section, etc does nothing) and when you close the form you get the Microsoft CRM has encountered an Error screen, do you want to send it to microsoft, etc I have attached the contents of this as a code snippet.

Thanks

Tim
Microsoft Dynamics CRM Error Report Contents
 

<CrmScriptErrorReport>

  <ReportVersion>1.0</ReportVersion>

  <ScriptErrorDetails>

	<Message>&#39;window.document.all&#40;...&#41;.style&#39; is null or not an object</Message>

	<Line>134</Line>

	<URL>/LarmerBrownConsulting&#47;tools&#47;formEditor&#47;formEditor.aspx&#63;formtype&#61;main&#38;objectTypeCode&#61;4202</URL>

	<PageURL>/LarmerBrownConsulting&#47;tools&#47;formEditor&#47;formEditor.aspx&#63;formtype&#61;main&#38;objectTypeCode&#61;4202</PageURL>

	<Function>down&#40;oTab, bForce&#41;</Function>

	<CallStack>

	  <Function>down&#40;oTab, bForce&#41;</Function>

	  <Function>load&#40;&#41;</Function>

	  <Function>function anonymous&#40;&#41;&#10;&#123;&#10;load&#40;&#41;&#10;&#125;</Function>

	</CallStack>

  </ScriptErrorDetails>

  <ClientInformation>

	<BrowserUserAgent>Mozilla&#47;4.0 &#40;compatible&#59; MSIE 7.0&#59; Windows NT 5.1&#59; .NET CLR 2.0.50727&#59; .NET CLR 3.0.04506.30&#59; InfoPath.2&#41;</BrowserUserAgent>

	<BrowserLanguage>en-us</BrowserLanguage>

	<SystemLanguage>en-us</SystemLanguage>

	<UserLanguage>en-gb</UserLanguage>

	<ScreenResolution>1024x768</ScreenResolution>

	<ClientName>Web</ClientName>

  </ClientInformation>

  <ServerInformation>

    <OrgLanguage>1033</OrgLanguage>

    <OrgCulture>2057</OrgCulture>

    <UserLanguage>1033</UserLanguage>

    <UserCulture>2057</UserCulture>

    <OrgID>&#123;D6B750D9-4494-4229-B011-3B0DAF6D94E4&#125;</OrgID>

    <UserID>&#123;6C57AB1F-449F-DC11-91EC-001B789811D6&#125;</UserID>

    <CRMVersion>4.0.7333.3</CRMVersion>

  </ServerInformation>

</CrmScriptErrorReport>
 

<CrmScriptErrorReport>

  <ReportVersion>1.0</ReportVersion>

  <ScriptErrorDetails>

	<Message>&#39;window.document.all&#40;...&#41;.style&#39; is null or not an object</Message>

	<Line>134</Line>

	<URL>/LarmerBrownConsulting&#47;tools&#47;formEditor&#47;formEditor.aspx&#63;formtype&#61;main&#38;objectTypeCode&#61;4202</URL>

	<PageURL>/LarmerBrownConsulting&#47;tools&#47;formEditor&#47;formEditor.aspx&#63;formtype&#61;main&#38;objectTypeCode&#61;4202</PageURL>

	<Function>down&#40;oTab, bForce&#41;</Function>

	<CallStack>

	  <Function>down&#40;oTab, bForce&#41;</Function>

	  <Function>load&#40;&#41;</Function>

	  <Function>function anonymous&#40;&#41;&#10;&#123;&#10;load&#40;&#41;&#10;&#125;</Function>

	</CallStack>

  </ScriptErrorDetails>

  <ClientInformation>

	<BrowserUserAgent>Mozilla&#47;4.0 &#40;compatible&#59; MSIE 7.0&#59; Windows NT 5.1&#59; .NET CLR 2.0.50727&#59; .NET CLR 3.0.04506.30&#59; InfoPath.2&#41;</BrowserUserAgent>

	<BrowserLanguage>en-us</BrowserLanguage>

	<SystemLanguage>en-us</SystemLanguage>

	<UserLanguage>en-gb</UserLanguage>

	<ScreenResolution>1024x768</ScreenResolution>

	<ClientName>Web</ClientName>

  </ClientInformation>

  <ServerInformation>

    <OrgLanguage>1033</OrgLanguage>

    <OrgCulture>2057</OrgCulture>

    <UserLanguage>1033</UserLanguage>

    <UserCulture>2057</UserCulture>

    <OrgID>&#123;D6B750D9-4494-4229-B011-3B0DAF6D94E4&#125;</OrgID>

    <UserID>&#123;6C57AB1F-449F-DC11-91EC-001B789811D6&#125;</UserID>

    <CRMVersion>4.0.7333.3</CRMVersion>

  </ServerInformation>

</CrmScriptErrorReport>
 

<CrmScriptErrorReport>

  <ReportVersion>1.0</ReportVersion>

  <ScriptErrorDetails>

	<Message>&#39;tabs.firstChild&#39; is null or not an object</Message>

	<Line>199</Line>

	<URL>/LarmerBrownConsulting&#47;tools&#47;formEditor&#47;formEditor.aspx&#63;formtype&#61;main&#38;objectTypeCode&#61;4202</URL>

	<PageURL>/LarmerBrownConsulting&#47;tools&#47;formEditor&#47;formEditor.aspx&#63;formtype&#61;main&#38;objectTypeCode&#61;4202</PageURL>

	<Function>window.onload&#40;&#41;</Function>

	<CallStack>

	  <Function>window.onload&#40;&#41;</Function>

	</CallStack>

  </ScriptErrorDetails>

  <ClientInformation>

	<BrowserUserAgent>Mozilla&#47;4.0 &#40;compatible&#59; MSIE 7.0&#59; Windows NT 5.1&#59; .NET CLR 2.0.50727&#59; .NET CLR 3.0.04506.30&#59; InfoPath.2&#41;</BrowserUserAgent>

	<BrowserLanguage>en-us</BrowserLanguage>

	<SystemLanguage>en-us</SystemLanguage>

	<UserLanguage>en-gb</UserLanguage>

	<ScreenResolution>1024x768</ScreenResolution>

	<ClientName>Web</ClientName>

  </ClientInformation>

  <ServerInformation>

    <OrgLanguage>1033</OrgLanguage>

    <OrgCulture>2057</OrgCulture>

    <UserLanguage>1033</UserLanguage>

    <UserCulture>2057</UserCulture>

    <OrgID>&#123;D6B750D9-4494-4229-B011-3B0DAF6D94E4&#125;</OrgID>

    <UserID>&#123;6C57AB1F-449F-DC11-91EC-001B789811D6&#125;</UserID>

    <CRMVersion>4.0.7333.3</CRMVersion>

  </ServerInformation>

</CrmScriptErrorReport>
 

<CrmScriptErrorReport>

  <ReportVersion>1.0</ReportVersion>

  <ScriptErrorDetails>

	<Message>&#39;tabs.children.length&#39; is null or not an object</Message>

	<Line>313</Line>

	<URL>/LarmerBrownConsulting&#47;tools&#47;formEditor&#47;formEditor.aspx&#63;formtype&#61;main&#38;objectTypeCode&#61;4202</URL>

	<PageURL>/LarmerBrownConsulting&#47;tools&#47;formEditor&#47;formEditor.aspx&#63;formtype&#61;main&#38;objectTypeCode&#61;4202</PageURL>

	<Function>GetTabName&#40;sTabId&#41;</Function>

	<CallStack>

	  <Function>GetTabName&#40;sTabId&#41;</Function>

	  <Function>GetCurrentTabName&#40;oActive&#41;</Function>

	  <Function>AddFields&#40;oActive&#41;</Function>

	  <Function>function anonymous&#40;&#41;&#10;&#123;&#10;AddFields&#40;_oActive&#41;&#59;&#10;&#125;</Function>

	</CallStack>

  </ScriptErrorDetails>

  <ClientInformation>

	<BrowserUserAgent>Mozilla&#47;4.0 &#40;compatible&#59; MSIE 7.0&#59; Windows NT 5.1&#59; .NET CLR 2.0.50727&#59; .NET CLR 3.0.04506.30&#59; InfoPath.2&#41;</BrowserUserAgent>

	<BrowserLanguage>en-us</BrowserLanguage>

	<SystemLanguage>en-us</SystemLanguage>

	<UserLanguage>en-gb</UserLanguage>

	<ScreenResolution>1024x768</ScreenResolution>

	<ClientName>Web</ClientName>

  </ClientInformation>

  <ServerInformation>

    <OrgLanguage>1033</OrgLanguage>

    <OrgCulture>2057</OrgCulture>

    <UserLanguage>1033</UserLanguage>

    <UserCulture>2057</UserCulture>

    <OrgID>&#123;D6B750D9-4494-4229-B011-3B0DAF6D94E4&#125;</OrgID>

    <UserID>&#123;6C57AB1F-449F-DC11-91EC-001B789811D6&#125;</UserID>

    <CRMVersion>4.0.7333.3</CRMVersion>

  </ServerInformation>

</CrmScriptErrorReport>
 

<CrmScriptErrorReport>

  <ReportVersion>1.0</ReportVersion>

  <ScriptErrorDetails>

	<Message>&#39;tabs.children.length&#39; is null or not an object</Message>

	<Line>313</Line>

	<URL>/LarmerBrownConsulting&#47;tools&#47;formEditor&#47;formEditor.aspx&#63;formtype&#61;main&#38;objectTypeCode&#61;4202</URL>

	<PageURL>/LarmerBrownConsulting&#47;tools&#47;formEditor&#47;formEditor.aspx&#63;formtype&#61;main&#38;objectTypeCode&#61;4202</PageURL>

	<Function>GetTabName&#40;sTabId&#41;</Function>

	<CallStack>

	  <Function>GetTabName&#40;sTabId&#41;</Function>

	  <Function>GetCurrentTabName&#40;oActive&#41;</Function>

	  <Function>AddSection&#40;oActive&#41;</Function>

	  <Function>function anonymous&#40;&#41;&#10;&#123;&#10;AddSection&#40;_oActive&#41;&#59;&#10;&#125;</Function>

	</CallStack>

  </ScriptErrorDetails>

  <ClientInformation>

	<BrowserUserAgent>Mozilla&#47;4.0 &#40;compatible&#59; MSIE 7.0&#59; Windows NT 5.1&#59; .NET CLR 2.0.50727&#59; .NET CLR 3.0.04506.30&#59; InfoPath.2&#41;</BrowserUserAgent>

	<BrowserLanguage>en-us</BrowserLanguage>

	<SystemLanguage>en-us</SystemLanguage>

	<UserLanguage>en-gb</UserLanguage>

	<ScreenResolution>1024x768</ScreenResolution>

	<ClientName>Web</ClientName>

  </ClientInformation>

  <ServerInformation>

    <OrgLanguage>1033</OrgLanguage>

    <OrgCulture>2057</OrgCulture>

    <UserLanguage>1033</UserLanguage>

    <UserCulture>2057</UserCulture>

    <OrgID>&#123;D6B750D9-4494-4229-B011-3B0DAF6D94E4&#125;</OrgID>

    <UserID>&#123;6C57AB1F-449F-DC11-91EC-001B789811D6&#125;</UserID>

    <CRMVersion>4.0.7333.3</CRMVersion>

  </ServerInformation>

</CrmScriptErrorReport>
 

<CrmScriptErrorReport>

  <ReportVersion>1.0</ReportVersion>

  <ScriptErrorDetails>

	<Message>&#39;tabs.children.length&#39; is null or not an object</Message>

	<Line>313</Line>

	<URL>/LarmerBrownConsulting&#47;tools&#47;formEditor&#47;formEditor.aspx&#63;formtype&#61;main&#38;objectTypeCode&#61;4202</URL>

	<PageURL>/LarmerBrownConsulting&#47;tools&#47;formEditor&#47;formEditor.aspx&#63;formtype&#61;main&#38;objectTypeCode&#61;4202</PageURL>

	<Function>GetTabName&#40;sTabId&#41;</Function>

	<CallStack>

	  <Function>GetTabName&#40;sTabId&#41;</Function>

	  <Function>GetCurrentTabName&#40;oActive&#41;</Function>

	  <Function>AddFields&#40;oActive&#41;</Function>

	  <Function>function anonymous&#40;&#41;&#10;&#123;&#10;AddFields&#40;_oActive&#41;&#59;&#10;&#125;</Function>

	</CallStack>

  </ScriptErrorDetails>

  <ClientInformation>

	<BrowserUserAgent>Mozilla&#47;4.0 &#40;compatible&#59; MSIE 7.0&#59; Windows NT 5.1&#59; .NET CLR 2.0.50727&#59; .NET CLR 3.0.04506.30&#59; InfoPath.2&#41;</BrowserUserAgent>

	<BrowserLanguage>en-us</BrowserLanguage>

	<SystemLanguage>en-us</SystemLanguage>

	<UserLanguage>en-gb</UserLanguage>

	<ScreenResolution>1024x768</ScreenResolution>

	<ClientName>Web</ClientName>

  </ClientInformation>

  <ServerInformation>

    <OrgLanguage>1033</OrgLanguage>

    <OrgCulture>2057</OrgCulture>

    <UserLanguage>1033</UserLanguage>

    <UserCulture>2057</UserCulture>

    <OrgID>&#123;D6B750D9-4494-4229-B011-3B0DAF6D94E4&#125;</OrgID>

    <UserID>&#123;6C57AB1F-449F-DC11-91EC-001B789811D6&#125;</UserID>

    <CRMVersion>4.0.7333.3</CRMVersion>

  </ServerInformation>

</CrmScriptErrorReport>
 

<CrmScriptErrorReport>

  <ReportVersion>1.0</ReportVersion>

  <ScriptErrorDetails>

	<Message>&#39;tabs.lastChild&#39; is null or not an object</Message>

	<Line>74</Line>

	<URL>/LarmerBrownConsulting&#47;tools&#47;formEditor&#47;formEditor.aspx&#63;formtype&#61;main&#38;objectTypeCode&#61;4202</URL>

	<PageURL>/LarmerBrownConsulting&#47;tools&#47;formEditor&#47;formEditor.aspx&#63;formtype&#61;main&#38;objectTypeCode&#61;4202</PageURL>

	<Function>AddTabHtml&#40;oTabObj&#41;</Function>

	<CallStack>

	  <Function>AddTabHtml&#40;oTabObj&#41;</Function>

	  <Function>AddTab&#40;&#41;</Function>

	  <Function>function anonymous&#40;&#41;&#10;&#123;&#10;AddTab&#40;&#41;&#59;&#10;&#125;</Function>

	</CallStack>

  </ScriptErrorDetails>

  <ClientInformation>

	<BrowserUserAgent>Mozilla&#47;4.0 &#40;compatible&#59; MSIE 7.0&#59; Windows NT 5.1&#59; .NET CLR 2.0.50727&#59; .NET CLR 3.0.04506.30&#59; InfoPath.2&#41;</BrowserUserAgent>

	<BrowserLanguage>en-us</BrowserLanguage>

	<SystemLanguage>en-us</SystemLanguage>

	<UserLanguage>en-gb</UserLanguage>

	<ScreenResolution>1024x768</ScreenResolution>

	<ClientName>Web</ClientName>

  </ClientInformation>

  <ServerInformation>

    <OrgLanguage>1033</OrgLanguage>

    <OrgCulture>2057</OrgCulture>

    <UserLanguage>1033</UserLanguage>

    <UserCulture>2057</UserCulture>

    <OrgID>&#123;D6B750D9-4494-4229-B011-3B0DAF6D94E4&#125;</OrgID>

    <UserID>&#123;6C57AB1F-449F-DC11-91EC-001B789811D6&#125;</UserID>

    <CRMVersion>4.0.7333.3</CRMVersion>

  </ServerInformation>

</CrmScriptErrorReport>

Open in new window

0
Comment
Question by:timpoynter
5 Comments
 
LVL 9

Accepted Solution

by:
Biffster007 earned 250 total points
ID: 21826338
Hi,

Have you made any changes to A.D. or the database directly since you installed CRM??

Did CRM install corrrectly without error??

Turn DevErrors on and you might get a more meaningful error message.

MH
0
 
LVL 11

Assisted Solution

by:rakeshAgarwal
rakeshAgarwal earned 250 total points
ID: 22650656
Hi  

 There is some  javascript error.  On load or on save can you check that.

If you dont have javascript  written.

I had the  same issue with account entity

 I did  this in my test environ ment.   I  too k backup of  everything  before trying this step.  Try this  step at your risk.
 I went to sql server

Got the rows for  account

select *  from filteredorganizationui
where objecttypecode like '1' // email 4202

There were three rows. One row was showing  in production is false.
Deleted the row inproduction   true
Updated the the row in production with true.
 and started working.  Client was really happy to see this

Regards
Rakesh Agarwal

www.dynamincsexchange.com 
www.mtccrm.com 
ra@mtccrm.com
 





0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When CRM stops functioning propperly or mysteriously disappears then this is something you should always check. This can be useful when looking at an end users machine or your own machine if you are the end user. It may be fairly obvious to some but…
Salesforce.com’s Console is a great tool to view activities, leads, contacts, accounts and opportunities all in one screen. It is particularly effective during call blocks and working numerous activities at a time in a quick, repetitive fashion (suc…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now