Control cannot be created because Visual Studio cannot find the control's type in the control assembly 问题的解决
2008-07-28 14:14
1031 查看
在使用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
![](https://oscdn.geek-share.com/Uploads/Images/Content/202010/11/6320470f754f0ba303165efeec80bce5.png)
无效的FORMATETC 结构(Exception from HRESULT: 0x80040064(DV_E_FORMATETC))
![](https://oscdn.geek-share.com/Uploads/Images/Content/202010/11/4424aa81d2ad06e5482508c7fc946731.png)
原因是模块目录下多了一个web.config文件,删除即可。同时做一下如下的操作:
C# Compiled Module 默认的User IIS Web server 是http://localhost/dnn_4_3_6 ,点击Project 的属性,修改为你使用的地址即可。
![](https://oscdn.geek-share.com/Uploads/Images/Content/202010/11/62c27edccdd8f019c367e50a59ac2fb5.png)
Control cannot be created because Visual Studio cannot find the control's type in the control assembly
![](https://oscdn.geek-share.com/Uploads/Images/Content/202010/11/6320470f754f0ba303165efeec80bce5.png)
无效的FORMATETC 结构(Exception from HRESULT: 0x80040064(DV_E_FORMATETC))
![](https://oscdn.geek-share.com/Uploads/Images/Content/202010/11/4424aa81d2ad06e5482508c7fc946731.png)
原因是模块目录下多了一个web.config文件,删除即可。同时做一下如下的操作:
C# Compiled Module 默认的User IIS Web server 是http://localhost/dnn_4_3_6 ,点击Project 的属性,修改为你使用的地址即可。
![](https://oscdn.geek-share.com/Uploads/Images/Content/202010/11/62c27edccdd8f019c367e50a59ac2fb5.png)
相关文章推荐
- 解决MVC EF Code First错误:Model compatibility cannot be checked because the EdmMetadata type was not included in the model.
- 解决 The Controls collection cannot be modified because the control contains code blocks (i.e. )问题
- 解决 The Controls collection cannot be modified because the control contains code blocks
- The type java.util.Map$Entry cannot be resolved. 问题解决
- 解决Sheet can not be presented because the view is not in a window这样的问题
- 解决 The Controls collection cannot be modified because the control contains code blocks
- 关于出现The type java.io.ObjectInputStream cannot be resolved.的问题解决
- 解决错误 Some projects cannot be imported because they already exist in the workspace
- 解决错误 Some projects cannot be imported because they already exist in the workspace
- The type org.apache.commons.lang.exception.NestableRuntimeException cannot be resolved. 问题解决
- 错误解决:Some projects cannot be imported because they already exist in the workspace
- The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly reference 问题之解决
- WPF部署问题 解决:The application requires that the assembly...be installed in the GAC
- Eclipse Some projects cannot be imported because they already exist in the workspace 最便捷解决办法
- 解决Eclipse导入项目是提示错误:Some projects cannot be imported because they already exist in the workspace
- vs2005部署错误解决方法:ASPNETMERGE : error 1013: Cannot find any assemblies that can be merged in the application bin folder.
- The type java.util.Map$Entry cannot be resolved问题的解决
- 解决Eclipse导入项目是提示错误:Some projects cannot be imported because they already exist in the workspace
- The description for Event ID ( 27745 ) in Source ( Windows SharePoint Services 3 ) cannot be found问题解决
- 解决:Some projects cannot be imported because they already exist in the workspace