积极答复者
XP系统IE6,创建多用户的时候,会出现“Microsoft Dynamics CRM 遇到错误”

问题
答案
-
我遇到过的这个问题是因为AD的用户创建时不规划,导致到目标字段内容中的长度小于源AD用户的属性内容:
如:在AD里面填写了用户的“街道”的信息很多,这时创建CRM用户时就会报错,是因为CRM里面用户的“街道”这个属性是50个字符;
由于问题是千变万化的,所以,我们建议你抓traces后才能从traces来分析其中的问题!
==您的问题描述得更详细,我们的答复将更及时。==- 已标记为答案 Batistuta CaiModerator 2009年4月14日 12:43
- 取消答案标记 Batistuta CaiModerator 2009年4月14日 12:48
- 已标记为答案 darrenliuMicrosoft employee, Moderator 2009年6月3日 19:36
全部回复
-
开启Tracing 看看详细的报错信息:
http://www.cnblogs.com/caims/archive/2008/12/07/1349763.html
Batistuta Cai-刀客 | 蔡敏生 | MS CRM MVP | Blog:http://caims.cnblogs.com -
错误的代码:
Microsoft Dynamics CRM 错误报告内容 1.0 拒绝访问。 310 /CRMtest/WebWizard/WizardContainer.aspx?WizardId=2631659F-A668-4A48-833B-D20E187B5A89 /CRMtest/WebWizard/WizardContainer.aspx?WizardId=2631659F-A668-4A48-833B-D20E187B5A89 toggleProgressIndicator(bShowProgress) toggleProgressIndicator(bShowProgress) onWizardPageLoad(element) function anonymous() { onWizardPageLoad(this ); } Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.2; .NET CLR 2.0.50727) zh-cn zh-cn zh-cn 1280x800 Web 2052 2052 2052 2052 {4945370E-004C-44D2-946E-C93221D4334D} {0190BD31-B624-DE11-BB80-001E90404A49} 4.0.7333.131 1.0 对象不支持此属性或方法 343 /CRMtest/WebWizard/WizardContainer.aspx?WizardId=2631659F-A668-4A48-833B-D20E187B5A89 /CRMtest/WebWizard/WizardContainer.aspx?WizardId=2631659F-A668-4A48-833B-D20E187B5A89 function anonymous() { onWizardPageLoad(this ); } function anonymous() { onWizardPageLoad(this ); } Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.2; .NET CLR 2.0.50727) zh-cn zh-cn zh-cn 1280x800 Web 2052 2052 2052 2052 {4945370E-004C-44D2-946E-C93221D4334D} {0190BD31-B624-DE11-BB80-001E90404A49} 4.0.7333.131 -
开启Tracing 看看详细的报错信息:
http://www.cnblogs.com/caims/archive/2008/12/07/1349763.html
Batistuta Cai-刀客 | 蔡敏生 | MS CRM MVP | Blog:http://caims.cnblogs.com
用刀客上面的方法!抓Traces后分析一下,如果你不会分析,可以把traces上载到论坛中,我们帮你看一下!
==您的问题描述得更详细,我们的答复将更及时。== -
用了刀客的方法。
log日志中的信息很多,不清楚哪条才是有用的。
截取一条:
at CrmDbConnection.InternalExecuteReader(IDbCommand command)
at CrmDbConnection.ExecuteReader(IDbCommand command, Boolean impersonate)
at DatabaseService.ExecuteBaseReader(CrmDbConnection connection, IDbCommand command, String[] columns)
at DatabaseService.Retrieve(String tableName, String[] columns, PropertyBag[] conditions)
at DatabaseService.RetrieveById(String tableName, Object id, String[] columns)
at ServerLocatorService.RetrieveById(String tableName, Object primaryKey, String[] columns)
at ServerLocatorService.GetOrganization(Guid organizationId)
at LocatorService.GetOrganization(Guid organizationId)
at ApplicationConfig.Retrieve(String propertyName, Object defaultValue, Guid organizationId)
at ApplicationConfig.IIsAllowCaching(Guid organizationId)
at MainApplication.Application_OnPostRequestHandlerExecute(Object sender, EventArgs eventArguments)
at SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at HttpApplication.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>SELECT Id, ConnectionString, DatabaseName, FriendlyName, HelpContentServerUrl, MirroredSqlServerName, PartitionNumber, ScaleGroupId, SqlServerName, SrsUrl, State, SupportUserCrmUserId, Type, UniqueName FROM Organization WHERE (((Id = '4945370e-004c-44d2-946e-c93221d4334d')) ) AND (IsDeleted = 0) -
原因:操作超时.
当业务数据和用户数量都比较大的情况下,会发生这种情况.
Create or change the OleDbTimeout value
1. In Registry Editor, locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM
2. Double-click the OleDbTimeout value.Note If the OleDbTimeout value does not exist, create an OleDbTimeout value. To do this, follow these steps:
a. Right-click MSCRM, point to New, and then click DWORD value.
b. Type OleDbTimeout.3. In the Edit DWORD Value dialog box, click Decimal, type 600 in the Value data field, and then click OK.
Note The value of 600 represents 600 seconds. By default, the value is 30 seconds.
Create or change the ExtendedTimeout value
1. In Registry Editor, locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM
2. Double-click the ExtendedTimeout value.Note If the ExtendedTimeout value does not exist, create an ExtendedTimeout value. To do this, follow these steps:
a. Right-click MSCRM, point to New, and then click DWORD value.
b. Type ExtendedTimeout.3. In the Edit DWORD Value dialog box, click Decimal, type 5400000 in the Value data field, and then click OK.
Note The value of 5400000 represents 5,400 seconds. By default, the value is 900 seconds.
杭州-天天(Eirc Yang) cnblog:http://www.cnblogs.com/ericqyang/ igooya:http://www.igooya.cn/space.php?uid=1&op=bbs QQ:270760489 MSN:yqing630@hotmail.com -
我遇到过的这个问题是因为AD的用户创建时不规划,导致到目标字段内容中的长度小于源AD用户的属性内容:
如:在AD里面填写了用户的“街道”的信息很多,这时创建CRM用户时就会报错,是因为CRM里面用户的“街道”这个属性是50个字符;
由于问题是千变万化的,所以,我们建议你抓traces后才能从traces来分析其中的问题!
==您的问题描述得更详细,我们的答复将更及时。==- 已标记为答案 Batistuta CaiModerator 2009年4月14日 12:43
- 取消答案标记 Batistuta CaiModerator 2009年4月14日 12:48
- 已标记为答案 darrenliuMicrosoft employee, Moderator 2009年6月3日 19:36
-
重装ie试试,杀毒软件也有可能影响到,也排查以下
Batistuta Cai-刀客 | 蔡敏生 | MS CRM MVP | Blog:http://caims.cnblogs.com- 已建议为答案 Batistuta CaiModerator 2009年5月24日 5:28