2014-03-06 27 views
0

当我试图渲染.rdlc文件我收到一个RDLC文件返回LocalProcessingException错误

LocalProcessingException was unhandled by user code

我已经看过我的C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\ReportingServices\Microsoft.ReportingServices.targets文件,并将其记载:

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 
    <UsingTask TaskName="Microsoft.Reporting.RdlCompile" 
       AssemblyName="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>" 

我使用Visual Studio目标是.NET Framework 4.0。当我深入探究错误时,我发现错误:

The report definition is not valid.
Details: The report definition has an invalid target namespace ' http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition ' which cannot be upgraded.

任何帮助,将不胜感激。

谢谢。

+0

谢谢编辑 –

回答

0

我回过头来看看我的更改,发现我已经无意中将RDLC转换为RDLC 2008,从而导致了错误(s)。