Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have problem with my application, first the application connects to SQL Server and retrieves articles, then choose ( point out ) them, and the report generates a report. When I run the application from my computer everything works when I running application on the server I see this bug:

C#
Microsoft.Reporting.WinForms.LocalProcessingException: An error occurred during local report processing. ---> Microsoft.Reporting.DefinitionInvalidException: The definition of the report '' is invalid. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SqlServer.Types, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. You can not find the file specified in Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.IntermediateFormatWriter.Write(Object obj, Boolean verify, Boolean assertOnInvalidType)


Maybe someone knows what to do with it , I also did not want to change anything on the server.
Thank you
Posted
Comments
ZurdoDev 13-Nov-14 9:49am    
It would appear your server is missing a dll.
Kris_C# 13-Nov-14 10:13am    
ok, but I don't use this dll Microsoft.SqlServer.Types or any reference to this Microsoft.SqlServer.Types
Kris_C# 13-Nov-14 10:16am    
and I dont see a posibility to add this reference.
ZurdoDev 13-Nov-14 10:22am    
Something thinks it needs it. I'd google for the error. Perhaps your install of SQL on the server is missing something.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900