[rsUnexpectedCompilerError] while building the Report
-
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.
Environment:
SQL Server 2005
Microsoft Visual Studio 2005 (for SSRS report)
.Net 2003
All Replies
-
Friday, January 04, 2013 12:28 PM
Hi There,
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
Hi Akshay,
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:
http://support.microsoft.com/kb/3187852. If .NET Framework V2.0 is not installed, please install it from:
http://www.microsoft.com/en-in/download/details.aspx?id=16393. If .NET Framework V2.0 is already installed, please make sure it is selected for the report server and report manager application pools.
Hope this helps.Regards,
Mike YinIf you have any feedback on our support, please click here
Mike Yin
TechNet Community Support- Marked As Answer by Mike YinMicrosoft Contingent Staff, Moderator Tuesday, January 15, 2013 1:15 AM


