Friday, January 04, 2013 11:55 AM
[rsUnexpectedCompilerError] An unexpected error occurred while compiling expressions. Native compiler return value: ‘[BC30251] Type 'System.CodeDom.Compiler.GeneratedCodeAttribute' has no constructors.’.
Please let us know,what is the above issue
Its not letting us to Build and Deploy the SSRS report.
SQL Server 2005
Microsoft Visual Studio 2005 (for SSRS report)
Friday, January 04, 2013 12:28 PM
Thanksfully your report is not that big, check which expression is not compiling and change it.
you can see the problematic expression by opening in the expression editor - it will have that red underlining ~~~
Monday, January 07, 2013 8:13 AMModerator
Based on my research, the issue might occur if the .NET Framework V2.0.50727 is not installed or enabled on the machine that holds the report server. Here, I suggest that you try the following steps:
1. Check the version of the .NET Framework installed on the report server. To do this, please open the Registry Editor, and check the HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP\ registry key. For more information, please see:
2. If .NET Framework V2.0 is not installed, please install it from:
If you have any feedback on our support, please click here
TechNet Community Support
- Marked As Answer by Mike YinMicrosoft Contingent Staff, Moderator Tuesday, January 15, 2013 1:15 AM