RDLC Native Error 255

本秂侑毒 提交于 2019-12-11 09:43:06

问题


I have an ASP.Net site running on 4.5.2, using the report viewer control. All of a sudden on our server, we are getting

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

This is occurring for all of our reports (Most of which haven't been modified in over a year). I am trying to identify what potentially changed and is causing this and am coming up short.

We are on Windows Server 2012.

I have found some articles pointing to an issue that occurs with some security patches. We had 4.6 installed on the server so I updated to 4.6.1 and still same issue occurs


回答1:


So turns out that if you had installed some security patches then installed .net 4.6, it breaks the VB compiler.

I had to remove those two patches as indicated here.



来源:https://stackoverflow.com/questions/34357624/rdlc-native-error-255

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!