0

i have installed blog module on my dotnetnuke site, now the problem is the default binding in the viewbog.ascx file is CodeBehind, by which i cannot execute the .vb code, so i have changed the CodeBehind to CodeFile, it throws the Error:

Unable to cast object of type 'ASP.desktopmodules_blog_viewblog_ascx' to type 'DotNetNuke.Modules.Blog.ViewBlog'.

in .vb file, the default inherits is BlogModule, i thought that might be causing error, i changed it to System.Web.UI.UserControl still i am getting same problem can anyone tell what could be causing this issue.

4

1 回答 1

0

我已将 CodeBehind 更改为 CodeFile

我不确定你在这里做什么,但听起来你正在尝试更改 DNN 博客中的一些功能,但我不确定你是否以正确的方式进行。您应该在 Codeplex 上下载 DNN 博客模块的源代码进行设置和编译,以便您可以更改 .vb 文件并使其正常工作。你正在尝试做的事情听起来不像是正确的方向。

于 2012-02-18T00:39:24.633 回答