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)


問題描述

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‑LErik Funkenbusch)

參考文件

  1. MVC 4 ‑ Getting error while trying to add a new report (CC BY‑SA 3.0/4.0)

#devexpress #report #asp.net-mvc-4






相關問題

修改 aspxgrid 中的列以顯示超鏈接和支持組 (Modify column in aspxgrid to display a hyper link and support group by)

沒有標誌的Javascript不區分大小寫的正則表達式 (Javascript case insensitive regex without flags)

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)

網格列包含 int64 值,但過濾器顯示字符串並且不起作用/ (Grid column contains int64 values but filter shows strings and doesn't work/)

我應該每年為保持 devexpress 應用程序的運行付費嗎 (Should I pay every year for keep devexpress app running)

Excel 和 Word DevExpress (Excel & Word DevExpress)

用於 ASP.NET Web 應用程序的 DevExpress 與 Telerik 網格 (DevExpress vs. Telerik grids for ASP.NET web applications)

添加控件會導致 Silverlight 掛起 (Adding controls causes silverlight to hang)

根據用戶控件的大小調整面板的大小 (Resizing a Panels based on the size of user control)

vs2010 asp.net設置斷點問題 (Problem in setting breakpoint in vs2010 asp.net)

單擊按鈕後行命令不觸發 (Rowcommand do not fire after clicking button)

DevExpress 11.1 在 IIS 7+ 中不起作用 (DevExpress 11.1 not functional in IIS 7+)







留言討論