Click here to Skip to main content
15,884,353 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I publish the application on local server then it works fine and when I upload the same on IIS(web server)then it gives below error---

An error occurred during local report processing.
The definition of the report 'Main Report' is invalid.
An unexpected error occurred while compiling expressions. Native compiler return value: ‘[BC2001] file 'C:\Windows\TEMP\qo3mxhwo.0.vb' could not be found’. ---

Sir Now this problem are solve this
CSS
An error occurred during local report processing.
The definition of the report 'Main Report' is invalid.
An unexpected error occurred while compiling expressions. Native compiler return value: ‘[BC2001] file 'C:\Windows\TEMP\qo3mxhwo.0.vb' could not be found’. --


but reportviwer are not retrive data and not show the designed content ..this is all report only show without content or value how can remove ...this problem
Posted
Updated 22-Oct-13 21:43pm
v3
Comments
thatraja 8-Oct-13 5:27am    
Did you add IIS_WPG/IIS_IUSRS users to TEMP folder?
bluesathish 8-Oct-13 8:45am    
Yes you've to give the full control rights permission for "Network service" becas in IIS, requests are running as a worker process so u've to give the rights for the same.
Faizymca 9-Oct-13 7:54am    
Many Thanx for reply Sir, How can i to configure and give the permission for 'Network Service' in IIS ?? Please reply in step by step if possible... i used WIN 7 my IIS 7.5 ...
bluesathish 9-Oct-13 9:15am    
I got some results from google search, go through the following links you'll get some ideas,
http://avinashsing.sunkur.com/2011/07/11/give-write-permission-to-worker-process-on-iis-7/
http://stackoverflow.com/questions/16677887/how-to-set-correct-file-permissions-for-asp-net-on-iis
http://forums.iis.net/t/1173065.aspx
Aravindba 23-Oct-13 5:38am    
just right click the publish copy folder in wwwroot, click propertise ,select security tab on top
click edit,click add,in advanced button then click find now,at the bottom u get list of users just select users using ctrl key ,then ok ,click ok and give permission and then apply , and click ok .
pls select ,everyone,admin,iis_user,iuser,network service,local service and ur need users also

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