天天看點

Control cannot be created because Visual Studio cannot find the control's type in the control assembly 問題的解決

在使用

DotNetNuke C# Compiled Module Starter Kit for DNN 4.x

時,拖拽DNN自帶的Web Control時報錯:

Control cannot be created because Visual Studio cannot find the control's type in the control assembly

Control cannot be created because Visual Studio cannot find the control's type in the control assembly 問題的解決

無效的FORMATETC 結構(Exception from HRESULT: 0x80040064(DV_E_FORMATETC))

Control cannot be created because Visual Studio cannot find the control's type in the control assembly 問題的解決

原因是子產品目錄下多了一個web.config檔案,删除即可。同時做一下如下的操作:

C# Compiled Module 預設的User IIS Web server 是

http://localhost/dnn_4_3_6

,點選Project 的屬性,修改為你使用的位址即可。

Control cannot be created because Visual Studio cannot find the control's type in the control assembly 問題的解決