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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...HELP!!!  IFrame not working all of a suddenHELP!!! IFrame not working all of a sudden
Previous
 
Next
New Post
11/16/2010 12:46 PM
 
Okay, so I have a bunch of IFrames in my site.  I have 2 identical sites with different URLs.  Both live but one basically for testing and one for production.  Once I finished my testing one, everything worked.  I then created a new parent portal alias with the live URL and now none of the IFrames are working on either site.  At first I was getting the error:
The code subdirectory '/Videos/App_Code/IFrame/' does not exist.
Source Error:
<codeSubDirectories>
    <add directoryName="IFrame" />
</codeSubDirectories>
Source File C:/Inetpub/DotNetNuke/web.config

So I went into my folder where this Videos web application is and I added the folder App_Code to it and then inside that I added a folder IFrame.  Once I did that, I get this error now:
Could not load file or assembly 'DotNetNuke.HttpModules' or one of its dependencies. The system cannot find the file specified. (C:\Inetpub\DotNetNuke\web.config line 104)
Source Code: (with line 104 highlighted)
Line 102:    <httpModules>
Line 103:      <!-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" / -->
Line 104:      <add name="Compression" type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules" />
Line 105:      <add name="RequestFilter" type="DotNetNuke.HttpModules.RequestFilter.RequestFilterModule, DotNetNuke.HttpModules" />
Line 106:      <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" />


Now, I hadn't changed anything or any folders or any permissions or anything.   One thing that was weird is that one application in an iframe did work when all the others didn't.  When I changed the application pool on that main website, all of them broke.  Thought that was a little odd.

Does anyone know why this would've happened?
 
New Post
11/16/2010 12:56 PM
 
Do you have the Videos application running under another asp.net application?

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
11/16/2010 1:05 PM
 
Well, I have a folder called DWWebv3, which was a VB.NET (asp) web application that was the old website.  In that folder I have a few other folders (including the Videos one) that have web applications in them as well.  These are the ones that I'm calling from the IFrames.

 
New Post
11/17/2010 11:50 AM
 
Okay, so after i added the App_Code and IFrame folders, I got that error above.  I found a solution on another forum where I add the following to my web.config file:

<pages validateRequest="false" enableEventValidation="false">

<namespaces>

<remove namespace="System.ComponentModel"/>

<remove namespace="System.Data"/>

<remove namespace="System.Data.SqlClient"/>

<remove namespace="System.Drawing"/>

<remove namespace="Microsoft.VisualBasic"/>

<remove namespace="System.Globalization"/>

<remove namespace="DotNetNuke.Services.Localization"/>

<remove namespace="DotNetNuke.Entities.Users"/>

<remove namespace="DotNetNuke"/>

<remove namespace="DotNetNuke.Common"/>

<remove namespace="DotNetNuke.Data"/>

<remove namespace="DotNetNuke.Framework"/>

<remove namespace="DotNetNuke.Modules"/>

<remove namespace="DotNetNuke.Security"/>

<remove namespace="DotNetNuke.Services"/>

<remove namespace="DotNetNuke.UI"/>

<remove namespace="DotNetNuke.Entities.Portals"/>

<remove namespace="DotNetNuke.Common.Utilities"/>

<remove namespace="DotNetNuke.Services.Exceptions"/>

<remove namespace="DotNetNuke.Entities.Tabs"/>

</namespaces>

</pages>


<httpModules>

<remove name="Compression" />

<remove name="RequestFilter" />

<remove name="UrlRewrite" />

<remove name="Exception" />

<remove name="UsersOnline" />

<remove name="DNNMembership" />

<remove name="Personalization" />

<remove name="ScriptModule"/>

<remove name="Analytics"/>

</httpModules>

<httpHandlers>

<!-- This is for CAPTCHA support -->

<remove verb="*" path="*.captcha.aspx" />

<!-- This is for Serving files, secure, insecure, from database -->

<remove verb="*" path="LinkClick.aspx" />

<!-- This removes syndication support -->

<remove verb="*" path="RSS.aspx" />

<!-- This removes legacy support for the Logoff page -->

<remove verb="*" path="Logoff.aspx" />

<!-- ASP.NET AJAX support -->

<remove verb="*" path="*.asmx"/>

<remove verb="*" path="*.asmx" />

<remove verb="*" path="*_AppService.axd" />

<remove verb="GET,HEAD" path="ScriptResource.axd" />

<remove verb="POST,GET" path="ajaxpro/*.ashx" />

</httpHandlers>


And this worked for me.  Not sure why exactly, but it worked.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...HELP!!!  IFrame not working all of a suddenHELP!!! IFrame not working all of a sudden


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