且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Control cannot be created because Visual Studio cannot find the control's type in the control assembly 问题的解决

更新时间:2022-08-16 22:12:31

在使用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 问题的解决