Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error Dynamics Portal Calendar View

(0) ShareShare
ReportReport
Posted on by 107

Hello,

I activated the Calendar view in my dynamics portal yesterday, everything worked perfectly. Today I'm facing a problem with the following error, could you please help

The portal displays : 

We're sorry, but something went wrong. Please try again, and if this persists, contact the website administrator.

And in logs I see:

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
System.Web.HttpException
at System.Web.UI.ControlCollection.Add(Control child)
at Adxstudio.Xrm.Web.UI.WebControls.CrmEntityListView.RegisterClientSideCalendarDependencies(Control control, Guid websiteId) in G:\Agents\BA5946\_wap\48\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmEntityListView.cs:line 1304
at Adxstudio.Xrm.Web.UI.WebControls.CrmEntityListView.RenderCalendar(IPortalContext portalContext, Control container) in G:\Agents\BA5946\_wap\48\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmEntityListView.cs:line 988
at Adxstudio.Xrm.Web.UI.WebControls.CrmEntityListView.CreateChildControls() in G:\Agents\BA5946\_wap\48\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmEntityListView.cs:line 228

Thank you in advance,

*This post is locked for comments

  • Sskod Profile Picture
    107 on at
    RE: Error Dynamics Portal Calendar View

    Thank you for the confirmation and the quick reply, I'll follow steps in the blog post.

  • Verified answer
    Dmytro Rutkovskyi Profile Picture
    1,835 on at
    RE: Error Dynamics Portal Calendar View

    Okay,

    I spent too much time now to confirm that this produce the same error in my own environement.  It surely connected with "Full Page" template, which looks like the only one supported by calendar functionality. Seems they ave changed something and now it produce server error and cannot render control properly.

    I have tried to hi-jack it with custom web temaplte, but I need to specify too many data, and it looks like that write own solution from the scratch will be much easier.

    There is a beatufull blog post how to create page with own calendar here - colinvermander.com/.../dynamics-365-portals-implement-fullcalendar-with-liquid and you can add as many custom functionlity as you wish.

    I suggest to proceeed with this approach now, and probably Portal team will fix entity-list calendar output issues in upcoming release.

  • Sskod Profile Picture
    107 on at
    RE: Error Dynamics Portal Calendar View

    Hi,

    I just created an entity list, enabled the Calendar view, then created a page with template Page. It worked yesterday, but today it's not working anymore.

    In the code it mentions the following linee; but I don't see anything that I could have changed,

      at Adxstudio.Xrm.Web.UI.WebControls.CrmEntityListView.RegisterClientSideCalendarDependencies(Control control, Guid websiteId) in G:\Agents\BA5946\_wap\48\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmEntityListView.cs:line 1304

      at Adxstudio.Xrm.Web.UI.WebControls.CrmEntityListView.RenderCalendar(IPortalContext portalContext, Control container) in G:\Agents\BA5946\_wap\48\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmEntityListView.cs:line 988

      at Adxstudio.Xrm.Web.UI.WebControls.CrmEntityListView.CreateChildControls() in G:\Agents\BA5946\_wap\48\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmEntityListView.cs:line 228

    Do you have the same problem ? or did you get the same problem?

    Thank you

  • Suggested answer
    Dmytro Rutkovskyi Profile Picture
    1,835 on at
    RE: Error Dynamics Portal Calendar View

    Hi, can you please provide some steps to reproduce ?

    Initially it looks like you modified entity-list (some configuration stuff or Javascript, etc.) Probably it results in some error in markup.

    Microsoft released source code of the portals for 8.2 which is been maintained by Adoxio here: github.com/.../CrmEntityListView.cs

    Look to the code of the RegisterClientSideCalendarDependencies (I don't think it has been changed much) - the problem can be in head section of the page.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans