問題描述
MVC 4 ‑ Gặp lỗi khi cố gắng thêm một báo cáo mới (MVC 4 ‑ Getting error while trying to add a new report)
Followed the steps within this link, I succeeded to run a report using a DXperience ASP.Net MVC Web application project wizard, but when I tried to reproduce exactly the same thing using a basic ASP.Net MVC Web application project wizard, I got no debugger error while compiling, but the browser returned the the following error:
參考解法
方法 1:
It doesn't look like the DevExpress extensions are visible in the namespace of your view. Add a using, or add it to your Web.Config under ~/Views
@using Devexpress; // or whatever the namespace is
Also, you need to make sure that Devexpress is added as a reference to the project, if it's not already added.
(by Sami‑L、Erik Funkenbusch)