CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.custom_modules Tags:
Item Type: Date Entered: 10/6/2005 6:54:33 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 27 Favorited: 0 Favorite
1 Items, 1 Pages 1 |< << Go >> >|
"kevonh" <>
NewsGroup User
Unhandled error loading module10/6/2005 6:54:33 PM

0

I've created an "empty" module, placed it on a page and get the error below.  Included are source files.  The other odd thing is that the module shows up twice on the page.

Any ideas?

Kevon

DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.Web.HttpException: Multiple controls with the same ID 'ctr360_DD' were found. FindControl requires that controls have unique IDs. at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id) at DotNetNuke.Common.Globals.FindControlRecursive(Control objControl, String strControlName) in C:\!!DNN!!\components\Shared\Globals.vb:line 1488 at DotNetNuke.UI.Utilities.DNNClientAPI.EnableContainerDragAndDrop(Control objTitle, Control objContainer, Int32 ModuleID) in C:\!!DNN!!\components\Shared\ClientAPI.vb:line 88 at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) in C:\!!DNN!!\admin\Skins\Skin.vb:line 550 --- End of inner exception stack trace ---

the ENTIRETY of the .ascx file is this

<%@ Control Language="c#" AutoEventWireup="false" Codebehind="ViewRandomImage.ascx.cs" Inherits="kh.dnn.modules.RandomImage.ViewRandomImage" %>

the ENTIRETY of the .cs file is this

namespace kh.dnn.modules.RandomImage

{
using System;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using DotNetNuke.Entities.Modules;
//other using statements cut

public class ViewRandomImage : PortalModuleBase //in the tutorial this was DotNetNuke.PortalModuleControl but that dosn't exist anymore????
{
     private void Page_Load(object sender, System.EventArgs e)
{
}
override protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnInit(e);
}
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);
}

}
}


Kevon
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:













using session variable in xml tag

binding xmldatasource to dropdownlist

display xpath from xmlfile

xmldatadocument.save not writing elements in same sequence as original document

dataset to xml

need help with linq to xml and xml intellisense

retrieve xml from sql server with asp.net

data grouping with listview

delete a record from xml file using linq

example modal popup in xsl

using an xslt to put data into an input value

read xml in reverse order

rss feed through proxy server fails

how to tie xml attribute to css class

problem with binding xml

rss feed

new to xml - help needed

drill down possibility with an xml file(treeview)

how to call a static method from xslt in vs2008?

arabic data in xml file

string / xml readers writers

components problem

questions on using xpathnavigator and looping

transforming an xml steam to an html stream or string

xmlreader "unexpected end of file occured" for large tables

how to convert dataset/schema to xml with nested elements

reading and using data from an xml file

is it better to use the xmltextwriter or xmlwriter?

open xml with javascript

my adding of an item to xml not working

add attributes using writestartelement

how to bind data to dropdownlist from the remote url

add the xml attirbutes from one xml file to the second xml file ?

re: using xml instead of sqldatabase

help with xsl:element tag

finding a value

copy node from one xml doc to another

need complete xml xsd example with source code

need help with sql bulk insert

how do i query the root element value using linq to xml

nested xml table

parsing xml file and inserting contents into mssql

xml to csv

date convert to xslt function

problem with circular reference in self-nested table .

xml mapping

reading xml which is in string format ?

xml to generic list<>... help please?

c# code to search and result in xml

problem when writing xsl render to aspx page "for security reasons dtd is prohibited in this xml document."

   
  Privacy | Contact Us
All Times Are GMT