ERROR: Could Not Load Container:
Last Post 04/11/2008 2:36 AM by Lee Sykes. 10 Replies.
Author Messages
hustler2008
Nuker
Nuker
Posts:19


--
04/09/2008 11:18 AM  
Hi

Im new to DotNetNuke. After subscribing to this website i have followed the tutorial until the "Containers" tutorial.

When i try to upload my skin to my local host install, i get the Error;

Could Not Load Container: /Portals/_default/Containers/Image Header - White Background/Image Header - White Background.ascx

I have followed the tutorial carefully, but i cant see the problem.

This is the .ascx file  DNN produces;

<%@ Control language="vb" CodeBehind="~/admin/Containers/container.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Containers.Container" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONS" src="~/Admin/Containers/SolPartActions.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONS" src="~/Admin/Containers/SolPartActions.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ICON" src="~/Admin/Containers/Icon.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TITLE" src="~/Admin/Containers/Title.ascx" %>
<%@ Register TagPrefix="dnn" TagName="VISIBILITY" src="~/Admin/Containers/Visibility.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON5" src="~/Admin/Containers/ActionButton.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON1" src="~/Admin/Containers/ActionButton.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON3" src="~/Admin/Containers/ActionButton.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON4" src="~/Admin/Containers/ActionButton.ascx" %>



   



   


   
       
   
       
           
         
<dnn:ACTIONS runat="server" id="dnnACTIONS" />

           
           


I have only used 1 ACTION token so i dont know where all the other ACTION buttons are coming from?


Please can someone help me out here??

Many Thanks
Joseph Craig
DNN MVP
Posts:11667


--
04/09/2008 7:26 PM  
Look in the event log for more complete error messages. Hopefully, that will point you in the right direction.

Joe Craig, Patapsco Research Group
Complete DNN Support
Joseph Craig
DNN MVP
Posts:11667


--
04/09/2008 7:27 PM  
Oh, tell us what is in the HTML file. That might help identify what is causing the duplicate tags.

Joe Craig, Patapsco Research Group
Complete DNN Support
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
04/10/2008 3:17 AM  
Could you attach your container.zip file to this forum post as this will give us a much better idea of the errors, (message attachments are underneath the main text box when you post in the forum)

Thanks,
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
hustler2008
Nuker
Nuker
Posts:19


--
04/10/2008 3:28 AM  

Thanks for your replies Joe and Lee.

I cannot find the attach a file link, so im posting my .htm file here, hope you can help me in identifying the problem.

<table cellspacing="0" cellpadding="0" align="left" border="0">

<tr>

<td class="containerend"><img src="orange_left.gif" />td>

<td class="containermain">[ACTIONS]td>

<td class="containerend"><img src="orange_right.gif" />td>

tr>

<tr>

<td colspan="3" style="height:2px">td>

tr>

<tr>

<td colspan="3" class="containerbodyTOP" style="height: 19px;">td>

tr>

<tr>

<td valign="top" colspan="3" class="containerbody">

td>

tr>

table>

Thanks
Imran

Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
04/10/2008 3:35 AM  
its hard to tell in the forum as it strips out elements of the code, underneath where you post should be 3 boxes with a browse button next to them - click on browse and you can upload the file.

One thing to check is look in your container.zip file and see if there is a thumbs.db file, if there is delete it as this stops DNN installing the container.
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
test free
Nuke Newbie
Nuke Newbie
Posts:3


--
04/10/2008 3:37 AM  
ah - I've just logged in as a standard user and cannot see the upload options, I will look into it, Lee
test free
Nuke Newbie
Nuke Newbie
Posts:3


--
04/10/2008 3:41 AM  
ok, its fixed,

Lee
hustler2008
Nuker
Nuker
Posts:19


--
04/10/2008 4:50 AM  

OK now i see the attachments link, here is my container.zip file.

Hope you can now see where im going wrong.

Thanks

Imran

hustler2008
Nuker
Nuker
Posts:19


--
04/10/2008 8:18 AM  
Lee

I have attached my container.zip file  now, please could you tell me what im doing wrong, i have followed your tutorial carefully.

Many Thanks
Imran
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
04/11/2008 2:36 AM  
Hello,

ok there were 2 problems. the first came from the commented out HTML. The problem was when you uploaded the container DotNetNuke added in the code for the commented out [ACTIONS] token, so there was a duplicate of Actions code which caused problems.

Following this there was still an error, and this was caused from not specifying a content pane area within your container for where DotNetNuke should add the module content.

I have attached the changed code.
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile


---