Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN 5.00.01 Ajax Error in View ModeDNN 5.00.01 Ajax Error in View Mode
Previous
 
Next
New Post
12/28/2009 2:57 PM
 

I have a site running in 3 different environments, DEV, QA, and CERT.  DEV and QA are working fine, however, I'm having this issue in the CERT environment.  I don't know why but I am hoping you could shed some light on the issue so I can get it resolved ASAP (clients are depending on it).

I am using Telerik AJAX controls.  When I first log into the site in View mode the controls render just fine.  But when I switch to Edit mode then back to View mode the controls that require AJAX to render are all messed up.  The AJAX resources are not being added to the page.  Once this happens, any page in View mode that requires AJAX to render controls, the controls do not render properly sue to the missing AJAX resource.

I know this because after doing a View Source I can see that there are many missing ScriptResource.axd references.  Example:

With the AJAX resources in Edit mode:

<script src="/WebResource.axd?d=iEV6Tm4S0TgVz5jmVS8ccA2&amp;t=633739595980000000" type="text/javascript"></script>
<script src="/js/dnncore.js" type="text/javascript"></script><script type="text/javascript" src="/Resources/ControlPanel/ControlPanel.js" ></script>
<script src="/ScriptResource.axd?d=W_xep-wcD3aHlBzfg-ATYpVDj9CQM7GCw6jqNJaI0I4M49QGcFP2DuPmdmZ8gM4Iq5i81dgemKs7IhUwiOySiQ2&amp;t=2b5006b" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=W_xep-wcD3aF1u8Qpo6Yt376GquGQ3q9DHdVVJt5hoM6Rf3wNrrAjFtnbl6VQjM0TWLdHaDOlr5EF01UkEo7ex95kcZ2g5Xobhbg0Q9sF9g1&amp;t=ffffffffc7ed4e01" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
</script>
<script src="/ScriptResource.axd?d=W_xep-wcD3aF1u8Qpo6Yt376GquGQ3q9DHdVVJt5hoM6Rf3wNrrAjFtnbl6VQjM0TWLdHaDOlr7hYrGkH3_sEK7QDomuN-vzOYgqeYfWm48c1CxR3OIC3A2&amp;t=ffffffffc7ed4e01" type="text/javascript"></script>
<script src="/js/dnn.js" type="text/javascript"></script>
<script src="/js/dnn.xml.js" type="text/javascript"></script>
<script src="/js/dnn.xmlhttp.js" type="text/javascript"></script>
<script src="/js/dnn.dom.positioning.js" type="text/javascript"></script>
<script src="/js/dnn.controls.js" type="text/javascript"></script>
<script src="/js/dnn.controls.dnnmenu.js" type="text/javascript"></script>
<script src="/js/dnn.controls.dnnlabeledit.js" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=6FEt7JFXdQBzdVdfV-U-SajZuO-tVAV5Mf-2gcuXqTzat-XkgGigROu181oAklv70&amp;t=ffffffff816a638d" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=6FEt7JFXdQBzdVdfV-U-SajZuO-tVAV5Mf-2gcuXqTwLyTDtjjffH1vN8DfLRPDFq8r4kN9E9AHsQr19hbRrMH0ig4LcOMQH0&amp;t=ffffffff816a638d" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=6FEt7JFXdQBzdVdfV-U-SajZuO-tVAV5Mf-2gcuXqTxCd7Uf0tkI6TXBSjiSGb4Wjt-iRKRyXEW7bxhzwJOFJGw2Q_wSPV130&amp;t=ffffffff816a638d" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=6FEt7JFXdQBzdVdfV-U-SajZuO-tVAV5Mf-2gcuXqTwQDCq7MKyynebeSqHQVpigF8Wk39hfwrUB1EKDXG7HVg2&amp;t=ffffffff816a638d" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=6FEt7JFXdQBzdVdfV-U-SajZuO-tVAV5Mf-2gcuXqTxydFMJcInkJGKNXdCMonYD0h4IDZxfo1pIYB5EE_QOVQ2&amp;t=ffffffff816a638d" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=6FEt7JFXdQBzdVdfV-U-SajZuO-tVAV58E0dj7s8IGgWYR-c2T-eOuboK6kAUT__ro0f3AhPv312-2DS5RclzA2&amp;t=ffffffff816a638d" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=6FEt7JFXdQBzdVdfV-U-SajZuO-tVAV58E0dj7s8IGjjz_h6jSR8qwDOFZExKh5ekmcdbsdBVjTt8p3k6UF13Kdv33CmQDIM0&amp;t=ffffffff816a638d" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=6FEt7JFXdQBzdVdfV-U-SajZuO-tVAV5Mf-2gcuXqTxydFMJcInkJETR55h4S18zxiJYdwJQR3OPJNJqamCz-A2&amp;t=ffffffff816a638d" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=6FEt7JFXdQBzdVdfV-U-SajZuO-tVAV5Mf-2gcuXqTxydFMJcInkJETR55h4S18zRIAvHJ-1p6afa60m60ytkbz9bPaORxhs0&amp;t=ffffffff816a638d" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=6FEt7JFXdQBzdVdfV-U-SajZuO-tVAV5Mf-2gcuXqTxydFMJcInkJCw1C52QIk44DXfQJ_n33itZmoVGGb5z8txSSJdSWtcX0&amp;t=ffffffff816a638d" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=6FEt7JFXdQBzdVdfV-U-SajZuO-tVAV5YdOjoO9hgafOQUeNLTe_1iVia-LFyCOT2wFPmy3nauM1&amp;t=ffffffff816a638d" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function WebForm_OnSubmit() {
dnn.controls.submitComp.onsubmit();
return true;
}

Missing the AJAX resources in View mode:

<script src="/WebResource.axd?d=iEV6Tm4S0TgVz5jmVS8ccA2&amp;t=633739595980000000" type="text/javascript"></script>
<script src="/js/dnncore.js" type="text/javascript"></script><script type="text/javascript" src="/Resources/ControlPanel/ControlPanel.js" ></script>
<script src="/ScriptResource.axd?d=W_xep-wcD3aF1u8Qpo6Yt376GquGQ3q9DHdVVJt5hoM6Rf3wNrrAjFtnbl6VQjM0TWLdHaDOlr5EF01UkEo7ex95kcZ2g5Xobhbg0Q9sF9g1&amp;t=ffffffffc7ed4e01" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
</script>
<script src="/ScriptResource.axd?d=W_xep-wcD3aF1u8Qpo6Yt376GquGQ3q9DHdVVJt5hoM6Rf3wNrrAjFtnbl6VQjM0TWLdHaDOlr7hYrGkH3_sEK7QDomuN-vzOYgqeYfWm48c1CxR3OIC3A2&amp;t=ffffffffc7ed4e01" type="text/javascript"></script>
<script src="/js/dnn.js" type="text/javascript"></script>
<script src="/js/dnn.xml.js" type="text/javascript"></script>
<script src="/js/dnn.xmlhttp.js" type="text/javascript"></script>
<script src="/js/dnn.dom.positioning.js" type="text/javascript"></script>
<script src="/js/dnn.controls.js" type="text/javascript"></script>
<script src="/js/dnn.controls.dnnmenu.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function WebForm_OnSubmit() {
dnn.controls.submitComp.onsubmit();
return true;
}
 
As you can see, there are a lot of ScriptResource.axd refferences missing in View mode.

I have confirmed that the web.configs are identicle other than the obvious DB connection strings.

I am wondering if this could possibly be cleared up with a DNN upgrade or any other possible solution?  Any help is greatly appreciated.  It is imperative that I get this resolved ASAP.

Thank You,

Nick VO

 
New Post
12/28/2009 5:25 PM
 

Is it possible that you have module cache time set to a value other than 0 for the module?


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
7/19/2010 8:55 AM
 
Thanks Mitchell,

I had a very similar problem with Telerik RAD controls, and found that setting the cache value to 0 for the control fixed it. Though I'm not using AJAX, the control layout and javascript based functionality was breaking as a result of WebResource.axd files not being rendered.

I'd be interested to know why this happens, as I may have to support users who set a non-zero cache duration on the controls.

Regards,


Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
New Post
1/13/2011 6:13 AM
 
setting cache to zero, doesnt works... 5.6.0 version
 
New Post
1/13/2011 6:14 AM
 
setting cache to zero, doesnt works... 5.6.0 version
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN 5.00.01 Ajax Error in View ModeDNN 5.00.01 Ajax Error in View Mode


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out