Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
Have you encounter this weird error before?
The report deployed and executed in Test fine, but when move
to Prod and try to deploy, I get the error.
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
Error: Deployment failed
unexpectedly with the message:
Index (zero based) must be greater
than or equal to zero and less than the size of the argument list.
See the log file for further
details.
Deployment failed with the following
exception:
System.FormatException: Index (zero
based) must be greater than or equal to zero and less than the size of the
argument list.
When I go to VS for the project and try deploy (compile and
view sample data is fine) from there,
It gives error above, and I double click on the error, it
points to this file line (Microsoft.Dynamics.Framework.Design.Reporting.Modeling.targets)
I’ve compared this file to TEST environment, and it’s the
same
<Target
Name="CoreDeploy"
DependsOnTargets="$(CoreDeployDependsOn)"
>
<DeployToReportsServerTask
ProjectFile="$(MSBuildProjectFullPath)"/>
<OnError
Condition="'$(RunPostDeployEvent)'=='Always'"
ExecuteTargets="PostDeployEvent"/>
</Target>
Here's the details of it
>> Thread 3: Entering Microsoft.Dynamics.Framework.Deployment.Reports.ReportLibraryDeployer.CopyAssemblies at 11:22:55.664
sourceAssemblyPaths = { 'C:\Users\user\AppData\Local\Temp\3\tmp449F.tmp\WorkCenterPriority_KIT\BusinessLogic\bin\debug\MyReportLibrary.dll', 'C:\Users\vi.bui\AppData\Local\Temp\3\tmp449F.tmp\WorkCenter\BusinessLogic\bin\debug\WorkCenter.BusinessLogic.dll' }
binDir = 'e:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\bin'
logger = 'Microsoft.Dynamics.Framework.Deployment.Reports.DeploymentLogger'
Error: Deployment failed unexpectedly with the message:
Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
See the log file for further details.
Deployment failed with the following exception:
System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at Microsoft.Dynamics.Framework.Deployment.Reports.DeploymentLogger.LogError(String format, Object[] args)
at Microsoft.Dynamics.Framework.Deployment.Reports.DeploymentLogger.LogError(String format, Object[] args)
at Microsoft.Dynamics.Framework.Deployment.Reports.ReportLibraryDeployer.CopyAssemblies(IEnumerable`1 sourceAssemblyPaths, String binDir, DeploymentLogger logger)
at Microsoft.Dynamics.Framework.Deployment.Reports.ReportLibraryDeployer.DeployBusinessLogicAssemblies(IEnumerable`1 businessLogicAssemblies, DeploymentLogger logger)
at Microsoft.Dynamics.Framework.Deployment.Reports.ReportLibraryDeployer.Deploy(IEnumerable`1 reportLibrariesToDeploy, IEnumerable`1 transitiveReferenceClosure, IEnumerable`1 cultures, DeploymentLogger logger, Func`2 connectionStringModifier)
Assemblies in app domain:
[FullName = 'AxReports, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', assemblyFileVersion = '5.0.593.0']
[FullName = 'Microsoft.Dynamics.BusinessConnectorNet, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', assemblyFileVersion = '5.0.1500.3761']
[FullName = 'Microsoft.Dynamics.Framework.BusinessConnector, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', assemblyFileVersion = '5.0.593.0']
[FullName = 'Microsoft.Dynamics.Framework.Design.Modeling, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', assemblyFileVersion = '5.0.593.0']
[FullName = 'Microsoft.Dynamics.Framework.Design.ReportsMetamodel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', assemblyFileVersion = '5.0.593.0']
[FullName = 'Microsoft.Dynamics.Framework.Reports, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', assemblyFileVersion = '5.0.593.0']
[FullName = 'Microsoft.Dynamics.Framework.ReportsDeployment, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', assemblyFileVersion = '5.0.1500.3761']
[FullName = 'Microsoft.VisualStudio.Modeling.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a', assemblyFileVersion = '9.0.30729.4462']
[FullName = 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089', assemblyFileVersion = '2.0.50727.5448']
[FullName = 'msvcm90, Version=9.0.30729.6161, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a', assemblyFileVersion = null]
[FullName = 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089', assemblyFileVersion = '2.0.50727.5447']
[FullName = 'System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a', assemblyFileVersion = '2.0.50727.5420']
[FullName = 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089', assemblyFileVersion = '3.5.30729.5420']
[FullName = 'System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a', assemblyFileVersion = '2.0.50727.5420']
[FullName = 'System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a', assemblyFileVersion = '2.0.50727.5420']
[FullName = 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089', assemblyFileVersion = '3.0.4506.5420']
[FullName = 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a', assemblyFileVersion = '2.0.50727.5420']
[FullName = 'System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a', assemblyFileVersion = '2.0.50727.5420']
[FullName = 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089', assemblyFileVersion = '2.0.50727.5446']
[FullName = 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089', assemblyFileVersion = '2.0.50727.5420']