1

Closed

Deployment Error

description

Greetings, i'm getting the following error when deploying the reports with RSBuild. They do deploy correctly via the VS.NET IDE.
 
The XML looks like: (i ommited some of the real values)
 

<?xml version="1.0" encoding="utf-8"?>
 
<Settings>
<Globals>
    <Global Name="ReportServer">localhost</Global>
    <Global Name="ReportServerPath">ReportServer</Global>
</Globals>
<ReportServers>
    <ReportServer Name="RS1" Protocol="http" Host="${ReportServer}" Path="${ReportServerPath}" Timeout="30" />
</ReportServers>
<DataSources>
    <DataSource Name="asa" Publish="true" Overwrite="true" TargetFolder="TMA_Reports" ReportServer="RS1">
        <ConnectionString>data source=localhost;initial catalog=abc</ConnectionString>
        <CredentialRetrieval>Store</CredentialRetrieval>
        <WindowsCredentials>False</WindowsCredentials>
        <UserName>sa</UserName>
        <Password>123</Password>
    </DataSource>
</DataSources>
<Reports> 
    <ReportGroup Name="ReportsGroup" DataSourceName="asa" TargetFolder="TMA_Reports" ReportServer="RS1" CacheTime="10080">
        <Report Name="AgencyInvoice">
            <FilePath>Reports\AgencyInvoice.rdl</FilePath>
        </Report>
    </ReportGroup>
</Reports>
<DBExecutions />
</Settings>
Closed Mar 2, 2009 at 10:26 AM by ggeurts
Fixed in release 1.1.0

comments

sempressimo wrote Feb 22, 2007 at 8:48 PM

The error is:

"There is an invalid character in the given encoding."

deko757 wrote Jan 31, 2008 at 7:43 PM

I had this problem. The report would deploy manually OK, but no with RSBuild.
The reason was that the RDL file is loaded by RSBuild into the XML Dom so it can have its datasource modified.
I had some custom code in the report that used a character delimited string. I decided to use some obscure characters so that there was no chance any real data would contain them ( I chose a tilde character) and this was what caused the problem. Check the values you've ommitted