Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
An error occurred during local report processing.
The definition of the report 'Main Report' is invalid.
An unexpected error occurred in Report Processing.
The process cannot access the file 'C:\Windows\TEMP\expression_host_f08bee0c59ce49359a67a2833701617c.dll' because it is being used by another process.


What I have tried:

while clicking on the button immoderately i'm getting this errror.Please help me resolve?
Posted
Updated 27-Dec-18 23:27pm
v2
Comments
Mohibur Rashid 28-Dec-18 1:29am    
Who is using the file?
Member 12796881 28-Dec-18 1:53am    
I written code for rdlc and while executing code immideatly im getting this error.
An error occurred during local report processing.
The definition of the report 'Main Report' is invalid.
An unexpected error occurred in Report Processing.
The process cannot access the file 'C:\Windows\TEMP\expression_host_f08bee0c59ce49359a67a2833701617c.dll' because it is being used by another process.

1 solution

While I debugging, I got error like "RestclientController is undefined ". For this reference,We need to modify iis configuration.below is the solution. 

Changing to classic mode wasn't an option for me (I'm using asp.net mvc). I fixed this by clicking on the application virtual directory in IIS7 and clicking on the 'Handler Mappings' section. Then 'Add Managed Handler'

Request path: Reserved.ReportViewerWebControl.axd

Type: Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

Name: Reserved.ReportViewerWebControl.axd

Once this was created, it worked fine in the Integraded mode AppPool
 
Share this answer
 

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