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

image

无效的FORMATETC 结构(Exception from HRESULT: 0x80040064(DV_E_FORMATETC))

image

原因是模块目录下多了一个web.config文件,删除即可。同时做一下如下的操作:

 

C# Compiled Module 默认的User IIS Web server 是http://localhost/dnn_4_3_6 ,点击Project 的属性,修改为你使用的地址即可。

image

原文地址:https://www.cnblogs.com/DotNetNuke/p/1254758.html