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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesUsing Iframe in TabContainer in Module gets Error 404Using Iframe in TabContainer in Module gets Error 404
Previous
 
Next
New Post
12/19/2010 4:30 PM
 
HI,
I have bult several modules now but I am having a really weird problem with one I am working on.
The site is 5.6.0 and newly built in VS2010 - I have had a fair bit of pratice moving sites around.
My module has an AJAX TabPanel with tabs and in one of them is embedded an IFrame (with a file upload control). it works fine in VS2010 but when I put it on the server (Server 2003 .NET 4 running in its own pool ) the module loads correctly, tabs etc all work but the IFrame shows a 404 error. I have checkednd triple checked references and paths and it works fine in VS2010 :/
IIS logs show nothing out f the ordinary I can see I can see the embedded page being requested but there appears to be no errors.
I have checked the application path and that is just "/" and the path to the aspx being called from the .ascx  is "DesktopModules/WA.AddRecord/FileUpload.aspx
I wonder if anyone has any ideas?
TIA Julian
 
New Post
12/20/2010 1:25 PM
 
OK I can workaround this by putting the page called by the IFrame elsewhere - question is where to put it?
 
New Post
12/20/2010 8:21 PM
 
please see my answer at http://www.dotnetnuke.com/Resources/Forums/tabid/795/forumid/203/threadid/401064/scope/posts/Default.aspx

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/21/2010 9:41 PM
 
If you copy the url path directly into a new browser, did you still get 404 error?
Can you make sure that you use Globals.ApplicationPath (API from DNN) to determine your local path?
 
New Post
12/22/2010 3:27 AM
 
Thanks Andy for your input:

>If you copy the url path directly into a new browser, did you still get 404 error?
Yes

Can you make sure that you use Globals.ApplicationPath (API from DNN) to determine your local path?
Yes I did path is "/"

I have managed to get it working however . . .

The problem appears to be the module's folder name.

I used the recomended "MyCompany.ModuleName" format for the folder as I always do and so used "WA.AddRecord" for the module folder.
I noticed that none of the DNN modules used the "." so I used the animated .gif test to prove that if I changed my "Test" folder to "WA.Test" then I could no longer access the gif (weird).

So I then uninstalled the module, changed the module folder name from WA.AddRecord to WAAddrecord, adjusted the namespaces in the Settings and View pages, reinstalled the module by creating it from the controls and the problem is gone!

The site is DNN Community Edition version 05.06.00 (459) running under its own App Pool under .NET 4 on IIS6 on a Windows Server 2003 fully patched and which appears to be working properly in all other respects.

However I then tried the WA.Test in OTHER sites on the server and I get the same issue. Therefore it looks as though there is this is a server issue but I have no idea what! (I am going hunting however)
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesUsing Iframe in TabContainer in Module gets Error 404Using Iframe in TabContainer in Module gets Error 404


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