Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 06/18/2007 11:32 PM by  Peter Donker
The Controls collection cannot be modified because the control contains code blocks (i.e. )
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Brian Stevenson
New Member
New Member
Posts:16


--
05/25/2007 5:41 PM

    I've been playing around with our new installation of DMX3 on our development box and I came across an error.  Here is our environment:

    DMX  -  03.04.09
    DNN 4  - 04.05.00
    .NET  - 2.0.50727.42
    Windows 2003 SP1

    Error: 
    Server Error in '/DotNetNuke_2' Application.
    --------------------------------------------------------------------------------

    The resource cannot be found.
    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

    Requested URL: /DotNetNuke_2/Default.aspx


    URL:
    .../DotNetNuke_2/Default.aspx?tabid=55&error=The+Controls+collection+cannot+be+modified+because+the+control+contains+code+blocks+(i.e.+%3c%25+...+%25%3e).&content=0


    Error Message in the URL:
    The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)


    Steps to reproduce error:
    1) Logged into DNN as the host account.
    2) Flipped to "View" mode (radio button in the upper left)
    3) Nagivated to a page with the DMX module.


    Observation:

    DMX does not have an issue with "Edit" mode.


    Other Info:

    These sites refer to the "code blocks" error:
    http://www.aspnetresource...s_cause_trouble.aspx
    http://west-wind.com/weblog/posts/5758.aspx

     

    Brian Stevenson
    New Member
    New Member
    Posts:16


    --
    05/25/2007 6:20 PM
    I backtracked my steps and figured out what broke DMX. If you go to...
    1) The module settings
    2) Expand "Page Settings"
    3) Change "Cache Time (secs):" from the default "0" to whatever number.

    To fix, change the "Cache Time (secs)" back to "0".
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    05/28/2007 11:14 PM
    Note that DNN 04.05.00 is not bugfree and will impede DMX functionality. Please upgrade to 04.05.01.
    Brian Stevenson
    New Member
    New Member
    Posts:16


    --
    06/01/2007 3:26 PM
    I upgraded to DNN 04.05.03 and this problem still persists. It's not a big deal. I was just looking for ways to speed things up. :-)
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    06/18/2007 11:32 PM
    I'll look into this but note that caching means you'd not see a 'live' view of the data.
    Peter
    You are not authorized to post a reply.