An unexpected error occurred while compiling expressions. Native compiler return value:

  • Hi,

    Its the first time I have come across this error in reporting services. I was in the middle of modifying a report and when I run it now i get this error message:

    System.Web.Services.Protocols.SoapException: An unexpected error occurred while compiling expressions. Native compiler return value: ‘[BC30495] Exponent is not valid.’.

    at Microsoft.ReportingServices.WebServer.ReportingService2010Impl.CreateReportEditSession(String Report, String Parent, Byte[] Definition, String& EditSessionID, Warning[]& Warnings)

    at Microsoft.ReportingServices.WebServer.ReportingService2010.CreateReportEditSession(String Report, String Parent, Byte[] Definition, String& EditSessionID, Warning[]& Warnings)

    I searched online and mainly found similar messages where there were syntax issues in the report or cases where there were tablixes or textboxes with similar names (ex. Textbox2 and texbox2). I doublechecked the syntax and everything seems fine. As a test i purposely mis-typed the name of a field and it gave me the error indicating that the expression was invalid because it didn't recognize the field. I corrected it and re-ran the report and got the same error i pasted above.

    Not sure if anyone else has come across this before. Any help would be appreciated.

    Thanks

  • Ended up figuring out the issue. In my Lookup function i was using a GUID and the hyphens seemed to have been causing it to fail. Once i enclosed the value in quotations everything worked fine.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply