1
Vote

Error while deploying reports on production server through RSBuild

description

My RSBuild.config file is as follows
 
<?xml version="1.0" encoding="utf-8" ?>
<Settings>
<Globals>
    <Global Name="ReportServer">ServerName</Global>
    <Global Name="ReportServerPath">ReportServer</Global>
    <Global Name="CollapsedHeight">0.5in</Global>
</Globals>
<ReportServers>
    <ReportServer Name="RS1" Protocol="http" Host="${ReportServer}" Path="${ReportServerPath}" Timeout="30" />
</ReportServers>
<DataSources>
    <DataSource Name="MyDSNew" Publish="true" Overwrite="false" TargetFolder="MyDSNew" ReportServer="RS1">
        <ConnectionString>data source=Server Name; initial catalog=DB Name</ConnectionString>
        <CredentialRetrieval>Store</CredentialRetrieval>
        <WindowsCredentials>False</WindowsCredentials>
        <UserName>User ID</UserName>
        <Password>Pwd</Password>
    </DataSource>
</DataSources>
<Reports>
    <!-- Search Detail Reports -->
    <!-- EventsErrors Detail Reports -->
    <ReportGroup Name="Test" DataSourceName="MyDSNew" TargetFolder="TestReports" ReportServer="RS1" CacheTime="10080">
        <Report Name="Test" CollapsedHeight="${CollapsedHeight}">
            <FilePath>Test1.rdl</FilePath>
        </Report>
    </ReportGroup>
</Reports>
</Settings>

file attachments

comments

ggeurts wrote Feb 27, 2009 at 11:45 PM

I have seen this error when trying to update existing reports for which the data source has been deleted. Deleting the reports as well before redeploying both the data source and the reports seemed to fix the issue.