matthisk
asked on
Exchange 2010 setup: Error during /preparead
Hello all,
when trying to install 2010 in an existing Exchange 2003 environment, i get the following error:
Configuring Microsoft Exchange Server
Organization Preparation ......................... FAILED
The following error was generated when "$error.Clear(); Install-AutoDiscove
rContainer -DomainController $RoleDomainController" was run: "Active Directory o
peration failed on MKDC01.intranet.test.name. This error is not retriable. A
dditional information: An attempt was made to modify an object to include an att
ribute that is not legal for its class.
Active directory response: 0000207D: UpdErr: DSID-031514DE, problem 6002 (OBJ_CL
ASS_VIOLATION), data -1735233997
".
The Exchange Setup log:
Ending processing.
[03.26.2010 12:17:56.0486] [1] Executing 'Install-AutoDiscoverConta iner -DomainController $RoleDomainController' failed. The error is: False
[03.26.2010 12:17:56.0486] [2] Launching sub-task '$error.Clear(); Install-AutoDiscoverContai ner -DomainController $RoleDomainController'.
[03.26.2010 12:17:56.0502] [2] Active Directory session settings for 'Install-AutoDiscoverConta iner' are: View Entire Forest: 'True', Configuration Domain Controller: 'MKDC01.intranet.test.name ', Preferred Global Catalog: 'MKDC01.intranet.test.name ', Preferred Domain Controllers: '{ MKDC01.intranet.test.name }'
[03.26.2010 12:17:56.0502] [2] Runspace context: Executing user: intranet.test.name/Intrane t Users/Intranet Admins/Matthias Köhler, Executing user organization: , Current organization: , RBAC-enabled: Disabled.
[03.26.2010 12:17:56.0502] [2] Beginning processing.
[03.26.2010 12:17:56.0502] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }}
[03.26.2010 12:17:56.0502] [2] Processing object "intranet.test.name/Config uration/Se rvices/Mic rosoft Exchange Autodiscover".
[03.26.2010 12:17:56.0502] [2] Resolved current organization: .
[03.26.2010 12:17:56.0518] [2] The properties changed on the object '' (CN=Microsoft Exchange Autodiscover,CN=Services,C N=Configur ation,DC=i ntranet,DC =test,DC=n ame) are: "{ Id[distinguishedName]='int ranet.test .name/Conf iguration/ Services/M icrosoft Exchange Autodiscover', OrganizationId[msExchOURoo t, msExchCU]='' }".
[03.26.2010 12:17:56.0533] [2] Saving object "intranet.test.name/Config uration/Se rvices/Mic rosoft Exchange Autodiscover" of type "ADContainer" and state "New".
[03.26.2010 12:17:56.0611] [2] Previous operation run on domain controller 'MKDC01.intranet.test.name '.
[03.26.2010 12:17:56.0611] [2] [ERROR] Active Directory operation failed on MKDC01.intranet.test.name. This error is not retriable. Additional information: An attempt was made to modify an object to include an attribute that is not legal for its class.
Active directory response: 0000207D: UpdErr: DSID-031514DE, problem 6002 (OBJ_CLASS_VIOLATION), data -1735233997
[03.26.2010 12:17:56.0643] [2] [ERROR] An object class violation occurred.
[03.26.2010 12:17:56.0658] [2] Ending processing.
[03.26.2010 12:17:56.0658] [1] The following 1 error(s) occurred during task execution:
[03.26.2010 12:17:56.0658] [1] 0. ErrorRecord: Active Directory operation failed on MKDC01.intranet.test.name. This error is not retriable. Additional information: An attempt was made to modify an object to include an attribute that is not legal for its class.
Active directory response: 0000207D: UpdErr: DSID-031514DE, problem 6002 (OBJ_CLASS_VIOLATION), data -1735233997
[03.26.2010 12:17:56.0658] [1] 0. ErrorRecord: Microsoft.Exchange.Data.Di rectory.AD OperationE xception: Active Directory operation failed on MKDC01.intranet.test.name. This error is not retriable. Additional information: An attempt was made to modify an object to include an attribute that is not legal for its class.
Active directory response: 0000207D: UpdErr: DSID-031514DE, problem 6002 (OBJ_CLASS_VIOLATION), data -1735233997
---> System.DirectoryServices.P rotocols.D irectoryOp erationExc eption: An object class violation occurred.
at System.DirectoryServices.P rotocols.L dapConnect ion.Constr uctRespons e(Int32 messageId, LdapOperation operation, ResultAll resultType, TimeSpan requestTimeOut, Boolean exceptionOnTimeOut)
at System.DirectoryServices.P rotocols.L dapConnect ion.SendRe quest(Dire ctoryReque st request, TimeSpan requestTimeout)
at Microsoft.Exchange.Data.Di rectory.Po oledLdapCo nnection.S endRequest (Directory Request request, LdapOperation ldapOperation, IAccountingObject budget)
at Microsoft.Exchange.Data.Di rectory.AD Session.Ex ecuteModif icationReq uest(ADObj ect entry, DirectoryRequest request, ADObjectId originalId, Boolean emptyObjectSessionOnExcept ion)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Data.Di rectory.AD Session.An alyzeDirec toryError( PooledLdap Connection connection, DirectoryRequest request, DirectoryException de, Int32 totalRetries, Int32 retriesOnServer)
at Microsoft.Exchange.Data.Di rectory.AD Session.Ex ecuteModif icationReq uest(ADObj ect entry, DirectoryRequest request, ADObjectId originalId, Boolean emptyObjectSessionOnExcept ion)
at Microsoft.Exchange.Data.Di rectory.AD Session.Sa ve(ADObjec t instanceToSave, IEnumerable`1 properties)
at Microsoft.Exchange.Data.Di rectory.Sy stemConfig uration.AD SystemConf igurationS ession.Mic rosoft.Exc hange.Data .IConfigDa taProvider .Save(ICon figurable instance)
at Microsoft.Exchange.Configu ration.Tas ks.SetTask Base`1.Int ernalProce ssRecord()
at Microsoft.Exchange.Configu ration.Tas ks.NewTask Base`1.Int ernalProce ssRecord()
at Microsoft.Exchange.Configu ration.Tas ks.NewADTa skBase`1.I nternalPro cessRecord ()
at Microsoft.Exchange.Managem ent.Tasks. InstallAut oDiscoverC ontainer.I nternalPro cessRecord ()
at Microsoft.Exchange.Configu ration.Tas ks.Task.Pr ocessRecor d()
[03.26.2010 12:17:56.0674] [1] [ERROR] The following error was generated when "$error.Clear(); Install-AutoDiscoverContai ner -DomainController $RoleDomainController" was run: "Active Directory operation failed on MKDC01.intranet.test.name. This error is not retriable. Additional information: An attempt was made to modify an object to include an attribute that is not legal for its class.
Active directory response: 0000207D: UpdErr: DSID-031514DE, problem 6002 (OBJ_CLASS_VIOLATION), data -1735233997
".
[03.26.2010 12:17:56.0674] [1] [ERROR] Active Directory operation failed on MKDC01.intranet.test.name. This error is not retriable. Additional information: An attempt was made to modify an object to include an attribute that is not legal for its class.
Active directory response: 0000207D: UpdErr: DSID-031514DE, problem 6002 (OBJ_CLASS_VIOLATION), data -1735233997
[03.26.2010 12:17:56.0674] [1] [ERROR] An object class violation occurred.
Any ideas which Objects are faulty and how to correct them?!
Cheers
Matthias
when trying to install 2010 in an existing Exchange 2003 environment, i get the following error:
Configuring Microsoft Exchange Server
Organization Preparation ......................... FAILED
The following error was generated when "$error.Clear(); Install-AutoDiscove
rContainer -DomainController $RoleDomainController" was run: "Active Directory o
peration failed on MKDC01.intranet.test.name.
dditional information: An attempt was made to modify an object to include an att
ribute that is not legal for its class.
Active directory response: 0000207D: UpdErr: DSID-031514DE, problem 6002 (OBJ_CL
ASS_VIOLATION), data -1735233997
".
The Exchange Setup log:
Ending processing.
[03.26.2010 12:17:56.0486] [1] Executing 'Install-AutoDiscoverConta
[03.26.2010 12:17:56.0486] [2] Launching sub-task '$error.Clear(); Install-AutoDiscoverContai
[03.26.2010 12:17:56.0502] [2] Active Directory session settings for 'Install-AutoDiscoverConta
[03.26.2010 12:17:56.0502] [2] Runspace context: Executing user: intranet.test.name/Intrane
[03.26.2010 12:17:56.0502] [2] Beginning processing.
[03.26.2010 12:17:56.0502] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }}
[03.26.2010 12:17:56.0502] [2] Processing object "intranet.test.name/Config
[03.26.2010 12:17:56.0502] [2] Resolved current organization: .
[03.26.2010 12:17:56.0518] [2] The properties changed on the object '' (CN=Microsoft Exchange Autodiscover,CN=Services,C
[03.26.2010 12:17:56.0533] [2] Saving object "intranet.test.name/Config
[03.26.2010 12:17:56.0611] [2] Previous operation run on domain controller 'MKDC01.intranet.test.name
[03.26.2010 12:17:56.0611] [2] [ERROR] Active Directory operation failed on MKDC01.intranet.test.name.
Active directory response: 0000207D: UpdErr: DSID-031514DE, problem 6002 (OBJ_CLASS_VIOLATION), data -1735233997
[03.26.2010 12:17:56.0643] [2] [ERROR] An object class violation occurred.
[03.26.2010 12:17:56.0658] [2] Ending processing.
[03.26.2010 12:17:56.0658] [1] The following 1 error(s) occurred during task execution:
[03.26.2010 12:17:56.0658] [1] 0. ErrorRecord: Active Directory operation failed on MKDC01.intranet.test.name.
Active directory response: 0000207D: UpdErr: DSID-031514DE, problem 6002 (OBJ_CLASS_VIOLATION), data -1735233997
[03.26.2010 12:17:56.0658] [1] 0. ErrorRecord: Microsoft.Exchange.Data.Di
Active directory response: 0000207D: UpdErr: DSID-031514DE, problem 6002 (OBJ_CLASS_VIOLATION), data -1735233997
---> System.DirectoryServices.P
at System.DirectoryServices.P
at System.DirectoryServices.P
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
--- End of inner exception stack trace ---
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Configu
[03.26.2010 12:17:56.0674] [1] [ERROR] The following error was generated when "$error.Clear(); Install-AutoDiscoverContai
Active directory response: 0000207D: UpdErr: DSID-031514DE, problem 6002 (OBJ_CLASS_VIOLATION), data -1735233997
".
[03.26.2010 12:17:56.0674] [1] [ERROR] Active Directory operation failed on MKDC01.intranet.test.name.
Active directory response: 0000207D: UpdErr: DSID-031514DE, problem 6002 (OBJ_CLASS_VIOLATION), data -1735233997
[03.26.2010 12:17:56.0674] [1] [ERROR] An object class violation occurred.
Any ideas which Objects are faulty and how to correct them?!
Cheers
Matthias
Matthias
I cannot really offer any help given the exact message but I have had errors generated when I have run the prep commands to soon after each other.
Assuming that you have done everything else correctly and setup /pl as Bikkelbink has stated and of course setup /ps you may just need to wait a little.
I cannot really offer any help given the exact message but I have had errors generated when I have run the prep commands to soon after each other.
Assuming that you have done everything else correctly and setup /pl as Bikkelbink has stated and of course setup /ps you may just need to wait a little.
Hi
1. Ensure that user account you are using has schema admin, enterprise admin permissions
2. Ensure that AD replication is fine - Run command
repadmin /syncall
Then run below commands using Exchange disk
setup /pl
setup /PrepareSchema
setup /PrepareAD
setup /PrepareAllDomains
setup
1. Ensure that user account you are using has schema admin, enterprise admin permissions
2. Ensure that AD replication is fine - Run command
repadmin /syncall
Then run below commands using Exchange disk
setup /pl
setup /PrepareSchema
setup /PrepareAD
setup /PrepareAllDomains
setup
ASKER
Hallo all,
thank you for your comments.
@Bikkelbink:
setup /preparelegacyexchangeperm issions runs without any error but setup /preparead still fails,
@milikad:
repadmin /syncall
setup /pl runs ok
setup /PrepareSchema runs ok
setup /PrepareAD fails
Yes, a am schema admin + enterprise admin.
I don't think that it is that easy. From my point of view, there is an antry in my AD which is of an incorrect class ...
Regards
Matthias
thank you for your comments.
@Bikkelbink:
setup /preparelegacyexchangeperm
@milikad:
repadmin /syncall
setup /pl runs ok
setup /PrepareSchema runs ok
setup /PrepareAD fails
Yes, a am schema admin + enterprise admin.
I don't think that it is that easy. From my point of view, there is an antry in my AD which is of an incorrect class ...
Regards
Matthias
Matthias,
Probably there is/was software installed that updated your schema.
Do you know what it could be?
Probably there is/was software installed that updated your schema.
Do you know what it could be?
ASKER
Hello Bikkelbink,
possible, but i don't know which softwre caused it. I remember that Exchange 2007 setup had the same error. Thats why i left this exchange environment with 2003 ...
Regards
Matthias
possible, but i don't know which softwre caused it. I remember that Exchange 2007 setup had the same error. Thats why i left this exchange environment with 2003 ...
Regards
Matthias
03.26.2010 12:17:56.0518] [2] The properties changed on the object '' (CN=Microsoft Exchange Autodiscover,CN=Services,C N=Configur ation,DC=i ntranet,DC =test,DC=n ame) are: "{ Id[distinguishedName]='int ranet.test .name/Conf iguration/ Services/M icrosoft Exchange Autodiscover', OrganizationId[msExchOURoo t, msExchCU]='' }"
Does the "Microsoft Exchange Autodiscover" folder allready exist?
If it is, check the permissions if Enterprise Admins have Full Control.
Or try (at own risk) to rename the folder and let setup re-create the folder.
If you only have Exchange 2003, the folder should not be present allready...
Does the "Microsoft Exchange Autodiscover" folder allready exist?
If it is, check the permissions if Enterprise Admins have Full Control.
Or try (at own risk) to rename the folder and let setup re-create the folder.
If you only have Exchange 2003, the folder should not be present allready...
ASKER
Hello Bikkelbink,
I could not find that folder. Please see attachment. I checked the permissions of services and the exchange folders and i have all i need ...
Regards
Matthias
error.jpg
I could not find that folder. Please see attachment. I checked the permissions of services and the exchange folders and i have all i need ...
Regards
Matthias
error.jpg
I see you have an Active Directory Connection
This is/was used with Exchange 5.5. Exchange 2007/2010 do not support coexistence with 5.5
Does your Exchange organization contain 5.5 servers?
If not, is your Organization Exchange Native mode?
This is/was used with Exchange 5.5. Exchange 2007/2010 do not support coexistence with 5.5
Does your Exchange organization contain 5.5 servers?
If not, is your Organization Exchange Native mode?
ASKER
Native mode and no Ex 5.5 servers
Ok, then the ADC is not used anymore and can be removed.
Be sure to make a backup before doing that.
Be sure to make a backup before doing that.
ASKER
Ok, deleted it. This message is new: " No Exchange 2007 server roles have been detected..."
D:\>setup /preparead
Welcome to Microsoft Exchange Server 2010 Unattended Setup
By continuing the installation process, you agree to the license terms of
Microsoft Exchange Server 2010. If you don't accept these license terms,
please cancel the installation. To review these license terms, please go to
http://go.microsoft.com/fwlink/?LinkId=150127&clcid=0x409/
Press any key to cancel setup................
No key presses were detected. Setup will continue.
Preparing Exchange Setup
Copying Setup Files ......................... COMPLETED
No server roles will be installed
Performing Microsoft Exchange Server Prerequisite Check
Organization Checks ......................... COMPLETED
Setup is going to prepare the organization for Exchange 2010 by using 'Setup /P
repareAD'. No Exchange 2007 server roles have been detected in this topology. Af
ter this operation, you will not be able to install any Exchange 2007 server rol
es.
Configuring Microsoft Exchange Server
Organization Preparation ......................... FAILED
The following error was generated when "$error.Clear(); Install-AutoDiscove
rContainer -DomainController $RoleDomainController" was run: "Active Directory o
peration failed on MKDC01.intranet.test.name. This error is not retriable. A
dditional information: An attempt was made to modify an object to include an att
ribute that is not legal for its class.
Active directory response: 0000207D: UpdErr: DSID-031514DE, problem 6002 (OBJ_CL
ASS_VIOLATION), data -1735233997
".
The Exchange Server setup operation did not complete. Visit http://support.micro
soft.com and enter the Error ID to find more information.
Exchange Server setup encountered an error.
D:\>
D:\>setup /preparead
Welcome to Microsoft Exchange Server 2010 Unattended Setup
By continuing the installation process, you agree to the license terms of
Microsoft Exchange Server 2010. If you don't accept these license terms,
please cancel the installation. To review these license terms, please go to
http://go.microsoft.com/fwlink/?LinkId=150127&clcid=0x409/
Press any key to cancel setup................
No key presses were detected. Setup will continue.
Preparing Exchange Setup
Copying Setup Files ......................... COMPLETED
No server roles will be installed
Performing Microsoft Exchange Server Prerequisite Check
Organization Checks ......................... COMPLETED
Setup is going to prepare the organization for Exchange 2010 by using 'Setup /P
repareAD'. No Exchange 2007 server roles have been detected in this topology. Af
ter this operation, you will not be able to install any Exchange 2007 server rol
es.
Configuring Microsoft Exchange Server
Organization Preparation ......................... FAILED
The following error was generated when "$error.Clear(); Install-AutoDiscove
rContainer -DomainController $RoleDomainController" was run: "Active Directory o
peration failed on MKDC01.intranet.test.name.
dditional information: An attempt was made to modify an object to include an att
ribute that is not legal for its class.
Active directory response: 0000207D: UpdErr: DSID-031514DE, problem 6002 (OBJ_CL
ASS_VIOLATION), data -1735233997
".
The Exchange Server setup operation did not complete. Visit http://support.micro
soft.com and enter the Error ID to find more information.
Exchange Server setup encountered an error.
D:\>
It can be there are still some leftovers elsewere from your old Exchange 5.5 organization.
Did you run the Exchange pre-deployment analyzer allready? If there are any leftovers, it will find them and gives you very detailed information:
http://www.microsoft.com/downloads/details.aspx?FamilyID=88b304e7-9912-4cb0-8ead-7479dab1abf2&displaylang=en
Did you run the Exchange pre-deployment analyzer allready? If there are any leftovers, it will find them and gives you very detailed information:
http://www.microsoft.com/downloads/details.aspx?FamilyID=88b304e7-9912-4cb0-8ead-7479dab1abf2&displaylang=en
ASKER
Just let the pre-deployment analyzer run. No orrror, one warning about "Linkstatesupression" not being activated on the front-end server ...
Than it should be allright now.
Maybe replication was preventing installation the second time. Just try the installation sequence again. LegacyExchangePermissions, PrepareSchema and PrepareAD
Hopefully it will see that all prerequisites are there now...
Maybe replication was preventing installation the second time. Just try the installation sequence again. LegacyExchangePermissions,
Hopefully it will see that all prerequisites are there now...
ASKER
Bo change:
repadmin /syncall
setup /pl runs ok
repadmin /syncall
setup /PrepareSchema runs ok
repadmin /syncall
setup /PrepareAD fails with same error message ...
repadmin /syncall
setup /pl runs ok
repadmin /syncall
setup /PrepareSchema runs ok
repadmin /syncall
setup /PrepareAD fails with same error message ...
There can be some leftovers in your Sites container.
I don't know exactly where it is, because it's too long ago, and I cannot recreate the situation somehow.
When starting ADSI, connect to your Configuration container, navigate to your Sites.
Somewhere in your site configuration there could be leftovers from the ADC.
If you cannot find anything there, I'm out of options unfortunally...
I don't know exactly where it is, because it's too long ago, and I cannot recreate the situation somehow.
When starting ADSI, connect to your Configuration container, navigate to your Sites.
Somewhere in your site configuration there could be leftovers from the ADC.
If you cannot find anything there, I'm out of options unfortunally...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Milind,
thank you so much! The objectClassCategory was set correctly but all ms entries for auxiliaryClass were missing. I added them exept msExchCustomerAttributes
because this generated an error (parameter is incorrect) when trying to save in adsiedit.
Configuring Microsoft Exchange Server
Organization Preparation ......................... COMPLETED
The Microsoft Exchange Server setup operation completed successfully.
Cheers
Matthias
thank you so much! The objectClassCategory was set correctly but all ms entries for auxiliaryClass were missing. I added them exept msExchCustomerAttributes
because this generated an error (parameter is incorrect) when trying to save in adsiedit.
Configuring Microsoft Exchange Server
Organization Preparation ......................... COMPLETED
The Microsoft Exchange Server setup operation completed successfully.
Cheers
Matthias
Did you run the setup /preparylegacyexchangeperm
If you did and there were'nt any errors. It also can be you do not have enough permissions to modify your AD/Schema.
Regards,
BB