ReportViewer 2010, IO.Exception\
I have an issue which I have concluded it is machine specific based, however I would like to know, how can solve it in case it comes up in another machine.
I have developed I WPF project (.NET 4)
, which I install using Installshield LE
. prerequisites for the program is also ReportViewer 2010, which I install prior (if needed).
I have made installations of the program to following machines:
In all the above machines my reports run just fine, except #5 (case 3), where I get the following error:
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.IOException: The process cannot access the file 'C:Documents and Settings<WindowsLogOnName>Local SettingsTempexpression_host_2e380b8068bb4ef5a53225faab4ebcb4.dll' because it is being used by another process.
All the machines hit the same Data Base and the report I am testing is the same in every case.
Does anybody faced this error before and has any clue??
I have heard of malware and antivirus programs blocking access to the localreport temp files since the expressions within the report are basically VBScript. Try disabling these and trying again. Here is the only source I have found on this.
Otherwise, a few things to try:
If none of this works, you may be better off reporting the issue to MS directly.
链接地址: http://www.djcxy.com/p/26330.html上一篇: mysql循环与变量递增