none
window 7 fail to generate report RRS feed

  • Question

  • hi i have no problem generating a report in my window xp sp3. But when i deployed my application to my client who is using window 7, i got this error. i have already included this Microsoft.ReportViewer.Common.dll and Microsoft.ReportViewer.WinForms.dll to as the reference but why is this error happening? please advice.

    ---------------------------
    
    ---------------------------
    Microsoft.Reporting.WinForms.LocalProcessingException: An error occurred during local report processing. ---> Microsoft.Reporting.DefinitionInvalidException: The definition of the report 'Main Report' is invalid. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.ReportViewer.ProcessingObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
    
    File name: 'Microsoft.ReportViewer.ProcessingObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
    
      at Microsoft.ReportingServices.ReportProcessing.ReportCompileTime.InternalCompile(Report report, AppDomain compilationTempAppDomain, Boolean refusePermissions)
    
      at Microsoft.ReportingServices.ReportProcessing.ReportCompileTime.Compile(Report report, AppDomain compilationTempAppDomain, Boolean refusePermissions)
    
      at Microsoft.ReportingServices.ReportProcessing.ReportPublishing.Phase3(ParameterInfoCollection& parameters, AppDomain compilationTempAppDomain, Boolean generateExpressionHostWithRefusedPermissions)
    
      at Microsoft.ReportingServices.ReportProcessing.ReportPublishing.CreateIntermediateFormat(CatalogItemContext reportContext, Byte[] definition, CreateReportChunk createChunkCallback, CheckSharedDataSource checkDataSourceCallback, PublishingErrorContext errorContext, AppDomain compilationTempAppDomain, Boolean generateExpressionHostWithRefusedPermissions, String& description, String& language, ParameterInfoCollection& parameters, DataSourceInfoCollection& dataSources, UserLocationFlags& userReferenceLocation, ArrayList& dataSetsName, Boolean& hasExternalImages, Boolean& hasHyperlinks)
    
      at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CreateIntermediateFormat(CatalogItemContext reportContext, Byte[] reportDefinition, CreateReportChunk createChunkCallback, CheckSharedDataSource checkDataSourceCallback, AppDomain compilationTempAppDomain, Boolean generateExpressionHostWithRefusedPermissions)
    
    
    
    WRN: Assembly binding logging is turned OFF.
    
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    
    Note: There is some performance penalty associated with assembly bind failure logging.
    
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    
    
    
      --- End of inner exception stack trace ---
    
      at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CreateIntermediateFormat(CatalogItemContext reportContext, Byte[] reportDefinition, CreateReportChunk createChunkCallback, CheckSharedDataSource checkDataSourceCallback, AppDomain compilationTempAppDomain, Boolean generateExpressionHostWithRefusedPermissions)
    
      at Microsoft.Reporting.ReportCompiler.CompileReport(CatalogItemContext context, Byte[] reportDefinition, Boolean generateExpressionHostWithRefusedPermissions, ReportSnapshotBase& snapshot)
    
      --- End of inner exception stack trace ---
    
      at Microsoft.Reporting.ReportCompiler.CompileReport(CatalogItemContext context, Byte[] reportDefinition, Boolean generateExpressionHostWithRefusedPermissions, ReportSnapshotBase& snapshot)
    
      at Microsoft.Reporting.StandalonePreviewStore.StoredReport.CompileReport()
    
      at Microsoft.Reporting.StandalonePreviewStore.StoredReport.get_Snapshot()
    
      at Microsoft.Reporting.StandalonePreviewStore.GetCompiledReport(CatalogItemContext context, Boolean rebuild, ReportSnapshotBase& snapshot)
    
      at Microsoft.Reporting.LocalService.CompileReport(CatalogItemContext itemContext, Boolean rebuild)
    
      at Microsoft.Reporting.WinForms.LocalReport.CompileReport()
    
      --- End of inner exception stack trace ---
    
      at Microsoft.Reporting.WinForms.LocalReport.CompileReport()
    
      at Microsoft.Reporting.WinForms.LocalReport.SetParameters(IEnumerable`1 parameters)
    
      at PAN.ReportForm.OperationalChartReport.btnView_Click(Object sender, EventArgs e)
    ---------------------------
    OK  
    ---------------------------
    


    Change
    • Moved by Harry Zhu Tuesday, July 20, 2010 9:18 AM I'm moving the thread relating to Report control. (From:Visual C# General)
    Monday, July 19, 2010 3:15 PM

Answers

All replies