Solved

Unable to edit Email Entity

Posted on 2008-06-19
5
511 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

729 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