Last post Jan 06, 2012 07:52 AM by Anindita.Basak
Jan 06, 2012 02:30 AM|Raj.Sinha00|LINK
I am getting an below error-
An unexpected error occurred while compiling expressions. Native compiler return value: ‘[BC2012] can't open 'C:\WINDOWS\TEMP\expression_host_022bf28a82b5404d9b59c2b6c28f7a3b.dll' for writing’.
I am creating reports(.rdls) in BIDS(SQL Server Business intelligence studio.
I am impoting that reports in my windows .net application. I can make reports in my application as well.
when importing BIDS created reports in my application, reports are opening and deployed on server also.
But if i make reports in my application, and during deploying, i get the above error.
Anything related to temp folder??
Help me, please !
Jan 06, 2012 07:52 AM|Anindita.Basak|LINK
If you are deploying the report in VS 2008 , then there is a bug fix in VS 2010 for it . The error comes because when the ReportViewer runs in localmode it needs full trust & should be capable to write in c:\windows\temp directory.
Check the following .dll expression_host_022bf28a82b5404d9b59c2b6c28f7a3b does exist in your c:\windows\temp directory or not.