Answered by:
"The XML in the configuration file is not valid. Location: {0}..." When i install CRM40 without internet connection and manual download updates

Question
-
(Sorry, i very bad speak English)
I can Error when install CRM40 on Windows 2003 r2 (AD) + MSSQL2008 for Developers
Server is not conected to the internet. I manually download update for my location (according to http://support.microsoft.com/kb/948917) and create config.xml file contains:
c:\>type c:\config.xml
<Patch update="true">c:\server_i386.MSP</Patch>
c:\>Run: comandsetupserver.exe /InstallAlways /L C:\log.log /config C:\config.xml
Runing wizard. Select "Do not update installation file(I try "Update install.. files", bat get error "An error occured while the update was being downloaded..."), " Input serial key, accept agreement, Install Visual c++ runtime,And get error:
---------------------------
Microsoft Dynamics CRM Setup
---------------------------
The XML in the configuration file is not valid. Location: {0}. Please fix the configuration file, and then try again.---------------------------
ОК
---------------------------
Last several lin In log files:log.log
18:00:21| Info| === Managed setup logging started: 25.05.2009 18:00:21 ===
18:00:21|Verbose| Method entry: Microsoft.Crm.Setup.Server.ServerSetup.Initialize
18:00:21|Verbose| Method entry: Microsoft.Crm.Setup.Common.SetupBase.Initialize
18:00:21|Verbose| Method exit: Microsoft.Crm.Setup.Common.SetupBase.Initialize
18:00:22|Verbose| Method exit: Microsoft.Crm.Setup.Server.ServerSetup.Initialize
18:00:23|Verbose| Method entry: Microsoft.Crm.Setup.Server.ServerSetup.Run
18:00:23|Verbose| Method entry: Microsoft.Crm.Setup.Common.SetupBase.Run
18:00:23|Verbose| Method exit: Microsoft.Crm.Setup.Common.SetupBase.Run
18:00:23| Error| Microsoft.Crm.Setup.Common.SetupException: The XML in the configuration file is not valid. Location: {0}. Please fix the configuration file, and then try again.
в Microsoft.Crm.Setup.Server.ConfigurationParser.Parse(XmlNode node)
в Microsoft.Crm.Setup.Common.ConfigurationParser.Parse(String filePath)
в Microsoft.Crm.Setup.Server.ServerSetup.Run()
в Microsoft.Crm.Setup.Server.ServerSetup.InternalMain(String[] args), Error, OK, Option1
18:02:23| Info| InputResult: OK
18:02:23| Info| === Setup bootstrap logging started 25.05.2009 18:02:23 ===
18:02:23| Info| Bootstrap version: 4.0.7333.152.
18:02:23| Info| User: s.korotkov.
18:02:23| Info| Managed Setup exited with code -2.
18:02:23| Info| === Setup bootstrap logging ended 25.05.2009 18:02:23 ===
crm40setup.log:
17:50:23| Info| === Setup bootstrap logging started 25.05.2009 17:50:23 ===
17:50:23| Info| Bootstrap version: 4.0.7333.152.
17:50:23| Info| User: s.korotkov.
17:50:23| Info| Invoked with command line: setupserver.exe /InstallAlways /L C:\log.log /config C:\config.xml
17:50:23| Info| Running C:\nikky\distr\crm40\Server\i386\SetupServer.exe
17:50:23| Info| Loading bootstrap library C:\nikky\distr\crm40\Server\i386\ServerSetup.dll
17:50:23| Info| Microsoft Dynamics CRM is not currently installed.
17:50:23| Info| Closing bootstrap library C:\nikky\distr\crm40\Server\i386\ServerSetup.dll
17:50:23| Info| Beginning to parse configuration file 'C:\config.xml'
17:50:48| Info| Do not update button clicked -- proceeding with setup without update
17:50:48| Info| Copying installer files to local directory:
17:50:48| Info| Package: C:\nikky\distr\crm40\Server\i386\Server.msi, Options: ADDLOCAL="Installer" INSTALLDIR="C:\DOCUME~1\S8EAD~1.KOR\LOCALS~1\Temp\2\MSCRM_{D51C3B63-6A78-4EC2-AB79-16D478308A02}" TARGETDIR="C:\DOCUME~1\S8EAD~1.KOR\LOCALS~1\Temp\2\MSCRM_{D51C3B63-6A78-4EC2-AB79-16D478308A02}" ALLOWRUN=1
17:51:05| Info| Loading bootstrap library C:\DOCUME~1\S8EAD~1.KOR\LOCALS~1\Temp\2\MSCRM_{D51C3B63-6A78-4EC2-AB79-16D478308A02}\ServerSetup.dll
18:02:23| Info| Closing bootstrap library C:\DOCUME~1\S8EAD~1.KOR\LOCALS~1\Temp\2\MSCRM_{D51C3B63-6A78-4EC2-AB79-16D478308A02}\ServerSetup.dll
18:02:23| Info| === Setup bootstrap logging ended 25.05.2009 18:02:23 ===
What i must do to fix this problem?Monday, May 25, 2009 2:33 PM
Answers
-
use"setupserver.exe /config c:\config.xml"
example:
<CRMSetup><Server>
<Patch update="true">\\server\share\patchfile.msp</Patch>
<LicenseKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</LicenseKey>
<SqlServer>SQLServer</SqlServer>
<Database create="true"/>
<Reporting URL="http://MyReportingServer/ReportServer"/>
<OrganizationCollation>Latin1_General_CI_AI</OrganizationCollation>
<basecurrency isocurrencycode="USD" currencyname="US Dollar" currencysymbol="$" />
<Organization>Long Organization Name</Organization>
<OrganizationUniqueName>OrganizationName</OrganizationUniqueName>
<OU>OU=value,DC=subdomain,DC=subdomain,DC=subdomain,DC=com</OU>
<WebsiteUrl create="false">/LM/W3SVC/1</WebsiteUrl>
<InstallDir>C:\Program Files\Microsoft CRM</InstallDir>
<CrmServiceAccount type="DomainUser">
<ServiceAccountLogin>login</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
</CrmServiceAccount>
<SQM optin="true"/>
<Email>
<IncomingExchangeServer name="ExchangeServerName"/>
</Email>
</Server>
</CRMSetup>
Tiaan van Niekerk http://crmdelacreme.blogspot.com Skype:tiaan.van.niekerk1- Proposed as answer by Tiaan van Niekerk Wednesday, May 27, 2009 4:40 AM
- Marked as answer by Sergey Korotkov Wednesday, May 27, 2009 8:52 AM
Wednesday, May 27, 2009 4:40 AM
All replies
-
use"setupserver.exe /config c:\config.xml"
example:
<CRMSetup><Server>
<Patch update="true">\\server\share\patchfile.msp</Patch>
<LicenseKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</LicenseKey>
<SqlServer>SQLServer</SqlServer>
<Database create="true"/>
<Reporting URL="http://MyReportingServer/ReportServer"/>
<OrganizationCollation>Latin1_General_CI_AI</OrganizationCollation>
<basecurrency isocurrencycode="USD" currencyname="US Dollar" currencysymbol="$" />
<Organization>Long Organization Name</Organization>
<OrganizationUniqueName>OrganizationName</OrganizationUniqueName>
<OU>OU=value,DC=subdomain,DC=subdomain,DC=subdomain,DC=com</OU>
<WebsiteUrl create="false">/LM/W3SVC/1</WebsiteUrl>
<InstallDir>C:\Program Files\Microsoft CRM</InstallDir>
<CrmServiceAccount type="DomainUser">
<ServiceAccountLogin>login</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
</CrmServiceAccount>
<SQM optin="true"/>
<Email>
<IncomingExchangeServer name="ExchangeServerName"/>
</Email>
</Server>
</CRMSetup>
Tiaan van Niekerk http://crmdelacreme.blogspot.com Skype:tiaan.van.niekerk1- Proposed as answer by Tiaan van Niekerk Wednesday, May 27, 2009 4:40 AM
- Marked as answer by Sergey Korotkov Wednesday, May 27, 2009 8:52 AM
Wednesday, May 27, 2009 4:40 AM -
YES! I correct config.xml to:
<CRMSetup>
<Server>
<Patch update="true">c:\server_i386.MSP</Patch>
</Server>
</CRMSetup>
And all install process - ok!
Thank!Wednesday, May 27, 2009 8:55 AM -
Hola Gente: les comento que tengo el mismo problema pero no lo pude resolver. Hice todo tal cual indican uds pero me tira "Error al descargar la actualización". Como si no me tomara el parámetro que le paso donde está ubicado el archivo .msp e intentara descargar de internet..
AYUDA URGENTEEEEEEEEE :(
Friday, June 18, 2010 12:25 PM